The Script Invocation application allows to create scripts that can access the process instance data. It also allows users to create Java Scripts that execute on activity activation.
You can perform following operations on a Script Invocation Application.
Following properties should be specified:
Figure: Properties - Script Invocation Application
The UUID and ID options are displayed only when you switch to Integrator profile.
Arbitrary set of Input and Output Parameters can be created.
icon. The parameter gets added to parameter
definition table.
Figure: Parameter Mapping
Figure: Primitive Data
Figure: Structured Data
Using this tab, you can test the application. You can provide the test input in the Input box. Click the Run icon to execute the java script provided in the Configuration tab. Note that only native JS code can be tested successfully in this tab.
Figure: Testing Java Script Execution
You can check the execution results in the Output box.
Specify the script in this tab. Following script language is supported:
Figure: Configuration - JavaScript
Figure: Configuration - Python
Click the Comments tab to add comments for the application. To add the comment, specify the comment in the text box and click Submit. The newest comment gets displayed at the top of the table. To delete the comment, select the comment and click the Delete icon. The user, who has submitted the comment, can delete that comment. If the other user selects the comment or no comment is selected, the Delete icon remains in disabled state.
Figure: Comments