Hello,
I’ve run into some weird behavior I cannot explain:
When starting a process flow from a task, the process variable values don’t appear to be available in the control procedure attached to that first task. It will always be NULL instead of the default assigned to it. The process variable has a default value assigned to it but that value appears to only be set in any procedure/process after the first task. Furthermore, if I set the value of this process variable in the first task and use the multi row task execution, the other instances of the task do not see each other’s value (always null).
Some verification I’ve done:
- The process variable has a default set using the form under process variables (Same behavior for both expression and constant value)
- The first task has a task parameter with both input and output set to true and no default is assigned there.
- In the process action, the process variable is assigned to the input and output of the task parameter.
- Confirmed that the process variable is set to the default value in all steps after the first task.
- No difference between Windows GUI and Universal GUI.
I’ve worked around these issues by not using the default anymore but I am curious if this is intended behavior or if there is something I’ve missed.