I am wondering if it is possible to append the URL for a workflow in order to pass information to the first form in that workflow. We do this frequently with individual forms -- passing information in the URL to populate the form -- but I can't figure out how to do this with the URL for a workflow. Any help would be appreciated!
It can be a bit tricky to pass parameters to a workflow, but here are the steps. Note that I'm just doing one parameter as an exemplar, but you should be able to extend it to as many fields as you need:
Here is an example for the field 'tfa_TripDate' 1. In your first form, where you are *not* planning on using the data for the field tfa_TripDate, create a hidden field to receive the value. Naming it 'TripDate' would be the best, as it will keep your field names constant across your forms. 2. In your workflow panel, place this into the parameters section for step 1: tfa_TripDate=%%tfa_TripDate%% 3. Copy and paste the same text into the parameters section for step 2: tfa_TripDate=%%tfa_TripDate%% 4. Save your workflow.
Now, when you start your workflow with: http://www.tfaforms.com/workflows/start/xxxx?tfa_TripDate=2011-12-27
The system will pull the data from parameter tfa_TripDate from that URL and populate it into the hidden field tfa_TripDate on the first form. Then when you complete the first step, that data will be passed to second form, where you have a visible field to display it.
Happy to help further, Drew FormAssembly.com Support
Thanks for the help! My issue is that when I add a parameter to the workflow URL as your described above (/xxxx?tfa_TripDate=x), this parameter is lost when the workflow URL automatically expands. I get this: /tfa_dbWorkflowId=859&tfa_dbWorkflowStep=1&tfa_dbWorkflowResponseId=50873&tfa_dbWorkflowControl=ccf572350223623508c4a72e00adb8aa, which does not incorporate the additional parameter. I must be missing something simple.