Script Invocation Application

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.

Viewing and Editing Properties

Following properties should be specified:


Figure: Properties - Script Invocation Application

Parameters

Arbitrary set of Input and Output Parameters can be created.

Test

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.

Configuration

Specify the script in this tab. Following script language is supported:

Comments

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