Jump to content

agileadam

Member
  • Content Count

    4
  • Joined

  • Last visited

  1. agileadam

    Splitting a query into two variables

    Thanks for the input everyone. Dean, your post with instructions to "Setting variables" via JSON is exactly what I was googling for before I posted to the forum. I'd much rather set the variables the way you've described than chain together things as I showed originally. I'll play around with the techniques you explained. Thanks again!
  2. Hello, I'm working on a workflow with a script filer that passes args like this: "12345^^My project name" (where 12345 is the project ID). What's the best way to explode that arg into two separate variables? Surely there's a better way than what I'm doing. Currently this is the only way I could get it to work: Where the python scripts look like: import os import sys sys.stdout.write(os.environ['project'].split('^^')[0])
  3. Ahh! Great feedback so far. I'm at work now but will look into this in a bit... Thank you!
  4. Hello all, I'm looking to write a workflow for a project management system I use. The system has projects. Projects have tasks and milestones. Tasks have subtasks. They have a REST api I've used several times before through both PHP and Python. I'd like to use the feedback mechanisms to let the user start typing a project, and auto-populate as they type. The thing is, I want them to do more things with that project after they've selected it. Here's the flow I'm imagining: User starts typing "foo My Pro" and they see some project appear: "My Project 1" and "My Product Launch" User chooses "My Project 1" User hits spacebar User starts typing "Add a " and options appear for "Add a task" and "Add a Milestone". User chooses "Add a task" User hits spacebar User types a task name and hits enter Task submits to the chosen project. Is all of this possible with the new v2 workflows? If you tell me it is possible, I'll move forward to try and make it happen... excitedly. Thanks! -Adam
×