Let’s make the process route the newly created Form Document to a user for data entry. Drag and drop a “routeform” step into the designer and connect the “instantiateform” step to it. Now the process should look as follows:
Click on the “routeform” step to configure its step properties:
Enter a value for the Task Name property. As we did in the instantiateform step, enter “variable.formID1” for the Variable holds the form instance ID property. Click the Select users to route to “…” button and select a user.
Save the user selected. The save the Workflow definition using the “Save” button on the toolbar.
Now let’s re-execute the Workflow Instance created previously. Select the Workflow Instance and click the “Execute” button on the toolbar.
The status of the Workflow Instance should change to “sleeping”. (Note: You may need to refresh your browser to see the updated status.)
Let’s render the Instance to view its execution:
As the rendered Workflow shows, the instantiateform step has completed. The routeform step has routed the form instance as a task and is waiting for the task to be completed. Let’s open the task list and complete the form and task.
Rendered task with the form displays as follows:
Enter values in the First Name, Last Name and Comments fields. Click the “Complete Task” button to submit the form with its data. Once the task is completed, the Workflow Instance will have a status of “finish”. (Note: You may need to refresh your browser to see the updated status.)
As we did above, you can select the instance and click the “Render” toolbar button to view its execution. From there you can click the Forms toolbar button to view the form with its data.
A small sampling of the Workflow Technology for BPM Solutions contained within our cDevWorkflow product offering can be found here: Workflow Technology That Works.
Learn more about our Process Automation & IT, QA Services or Software Development products and solutions on the Web! Visit us at: Innovative Process Solutions