Hi - I have a business process that starts in Forms and calls a Workflow ("WF1"). After that, a second workflow ("WF2") is called by the Forms process model to generate a unique formatted Doc Number for archiving the Form itself. We use Set Business Process Variables to send this number back to a hidden Forms field. Finally, we call a Save to Repository for the Form.
The problem is, the Save to Repository does not pick up and pass the Field retrieved from WF2. However, when I look at the Instance Metrics, the variable does show the correct value.
In the Admin Guide, it has this Note:
Note: A Save to Repository service task that runs immediately after a Workflow service task, which updates form variables with values from workflow, will display the form values submitted during the last User task and not the updated values from Workflow. If you want the saved form to include the updated values from Workflow, create a second Workflow service task, right after the first one. In this Workflow service task, map a Workflow output parameter to a hidden field or map a blank parameter to blank field. Even though the second Workflow service task doesn't make any noticeable changes to the form, when it runs it generates the submitted form that will be saved to the repository.
I've tried running a second WF, mapping blank parameters, but no luck yet. Can anyone clarify the problem here, and offer some guidance? Thanks very much.