ExecuteNavigateTask widget is very similar to “Execute Workflow” widget. Use this on the form to execute any workflow, and if the process has assigned any task/form to the current user, then the system automatically navigates to the first task assigned by the process.
- ID/Name - Name of widget generated by FlowWright (read-only field)
- Execute Button Text - Enter description for Execute Button Text
- Select Workflow Definition - Select existing workflow definition
- Pre-prompt message - Provide text information to pre-prompt after submit
- Input Mapping (Variables) - Identify input variables required in the workflow
- Input Mapping (Globals) - Identify input globals required in the workflow
- Output Mapping (Variables) - Identify output variables to hold the result in the workflow
- Output Mapping (Globals) - Identify output globals to hold the result in the workflow
- Hide - Select checkbox to Hide (tick mark)
- Read Only - Select checkbox to Read-Only (tick mark)
- Create Only One Instance - Create a process instance during run time
- Open New Window - Select checkbox to open the page in a new window
- Tool Tip - Enter information to display on mouse hover on form render
- Styles - Enter the CSS scripts for widget styles
- Apply Classes - Select between custom classes defined
- Save - Save the input values
- Delete - Remove this form widget from the designer page
- Close - Close the input popup window
- Create a new process definition called “PDExecuteTaskNavigate” for the above form. Configure the subworkflow step to use another process definition.
- Double-click on the subForm widget to configure the “Settings” properties. Provide a name to the control. Select the form definition from the drop down list.
- Click on the “Advanced” tab. Select “Yes” to pass variables from parent to child instance. Select “Yes” to pass variables back from child to parent instance. Select “Yes” to pass globals from parent to child instance. Select “Yes” to pass globals back from child to parent instance. Select “Yes” to synchronize the child execution to complete first and parent execution to follow next. Select execution priority from the drop down list. Click on the button to map the variables between parent and child instance. Click on the button to map the globals between parent and child instance.
- Double-click on the Rout form step to configure the “Settings” properties. Provide a name to the control. Select the form definition to route. Provide a variable/global to hold the form instance ID.
- Click on the “Advanced tab”. Select the users to route to.
- Generate a new Form Instance. Navigate to Actions menu and Edit the form instance. The rendered widget will appear as shown in the below graphic.
- On Click, the "Execute Form" widget shall render the form based on the configuration and waits for any user input and a Submit button to proceed. The form is submitted successfully as shown in the below graphic.
- The "Execute Form" widget shall execute the form, create a new workflow instance. Navigate to Form Instance page to view the new workflow instance created automatically.