Creating an exit point
To include an exit point in a workflow definition:
-
Add an exit point activity to your workflow model.
- Open the workflow that should contain the exit point.
- If additional parameters are required for the exit point, define these parameters in the workflow.
- In the workflow model, add an exit point activity by dragging the workflow activity from the toolbox into the model.
-
In the Exit Point Properties pane, specify a name and, optionally, a description for the exit point activity.
If you want the aggregated notes also to be passed in each call to your exit point logic, select the Include notes from previous steps check box.
-
Download the WSDL to be used for implementing the exit point.
- In the Exit Point Properties pane, click Download WSDL.
- Select the folder to store the WSDL file. Specify a file name and click Save.
-
Implement the exit point.
Develop an implementation based on the WSDL. How to do this depends on the technology and the development environment you use. This activity requires software development skills.
For a typical development environment, complete these steps:
- Create a project.
-
Generate a web service implementation using the downloaded WSDL file.
Note: In the WSDL, inheritance is used to support variables of different data types such as IntegerValue and StringValue. Some older development environments cannot deal with this when generating code based on the WSDL. Therefore, you must use an up-to-date development environment.
-
Implement the required logic in the implementation. For example, to concatenate strings, to read additional data from a database, or to invoke an existing web service.
If you use Java, you can use the helper methods from the sample project to get or set the parameter values.
- Deploy the exit point so it can be invoked.
-
Configure the location of the exit point in ION.
- Return to ION Desk.
-
In the Exit Point Properties pane, specify the URL to connect to the WSDL of the deployed web service.
For example:
http://myhost:8080/MyExitPoint/ExternalLogicExecuter?wsdl
- Click Validate to check whether ION can connect to the exit point.
-
Optionally, specify the command to be used.
See Command string.
-
Specify the connection settings.
- Click the Connection Settings tab.
- Specify the authentication that is required to connect to the exit point. If basic authentication is required, specify the user name and password to be used.
-
Specify how to handle errors, for example if the web service is unavailable or if it returns an exception.
- Select Continue workflow without changing parameters if the workflow can continue without problems. Select this, for example, if the exit point retrieves an additional description that must be displayed in a user task, but that description is not critical for executing the task.
- Select The workflow fails if the successful execution of the exit point is crucial for the workflow. Select this, for example, if the exit point retrieves data that is required to make a decision in the next step of the workflow.
- Optionally, modify the retry time that is used if the exit point service is unavailable.
- Optionally, modify the web service time-out that is used if the exit point service can be invoked but does not respond in time.