Select a task automatically within a form during workflow execution using client methods
You can set a task or task step to be selected automatically in the Task List during run time by configuring client methods with the Set Selected Task feature.
Procedure
- From the navigator, click .
- Add a form, or from the Forms list, select an existing form.
- Click .
- Click the Client Methods tab.
- Click Add.A client method appears in the list.
- Select the client method, and then click the Properties tab to configure the method.
- In the Source field, click the ellipsis button.The Configure Method dialog box appears.
- Configure the properties, as required.Note: To view the full list of properties, select the Advanced check box.
- Select one of the following client methods, and then click Finish.
- To automatically select a task at the workflow level, click Set Selected Task.
- To automatically select a task step at the subprocess level, click Set Selected Task Step.
- Based on the source selected, configure the following property.
- If you set a task, in the Task Name field, enter the related name.
- If you set a task step, in the Task Step Name field, enter the related name.
- If required, create an expression or perform a bind to set parameter values.
- Click Save.