1 person found this helpful
Try any of the following options:
1. From within Prepare Data process, retrieve the latest form data from database and update the variable. This should overwrite the Task Data before it's rendered at workspace.
Table name: tb_form_data
2. Create 8 xml variables and assign them to each AssignTask activity. Before assigning copy the original form data to all 8 xml variables.
You will need to merge all the xml data once the gateway exits.
Thank you for setting me in the right direction.
How do I map the fields from the query into the xmlPrepareData output variable?
My query looks like this (so far):
Then I map that `initformvariable` to the taskContext - @InputDocument variable (then pass that to xmlParepareData)
No luck on it working; where am I going wrong?
There is also a data field in this table but it is NULL for all records. I'm led to believe that form data used to be stored here.
Just a thought, but as a different approach, is there a way to call variables from a parent process or basically get variables from any process as long as you know the processinstanceid? This would solve all of the issues.