Actions of Nodes

Action of Nodes

Actions define the operations to be performed in each node, internally. Basically action defines the operation of a node. You can develop code for the operation of each node using functions, control statements, logical statements, and so on.

Create Actions

To create actions of a node, follow the steps below:

1. Click Edit Node Action -button, in Process node screen (refer Process Nodes section to open Process Nodes screen).

The Action Editor screen appears.

2. Click "Plus" -button to add action. The Function Paraments screen appears.

3. Select the required function from the drop down and click on the "Apply" -button. For example, if you need to create actions for Approve operation:

  1. SelectSet Variable Value from the drop down.
  2. Click "Apply" -button.

4. Click "Apply" -button to save action of the node.

The "Up" and "Down" -navigation icons are used to move statements up and down.

The "X" icon is used to delete the statement.

Note: The "Edit Node Action" -button is used both for create and edit actions. Once you create process, add process variables, create process nodes, add transitions, and create actions for nodes, click "Save Process Type" -button to save the process. The process definition is saved on the server to file Process.groovy.

You can view the process definition file saved on server, using "Show Source Code" -button.

You can reload definition that you currently edit form file Process.groovy by pressing "Reload Process from File" -button.

To view the process in pictorial or graphical representation, click "Show Graphical Process" -button.

"Export as HTML" -button will create HTML that describes process. It's something like report; you can view this HTML to get the common information about the process. "Export as HTML" -button . A File Download window appears. Click “Open” or “Save”. A zipped folder appears. Open the zipped folder and open the html file.