Understanding Action events

Actions are defined in the Action form.

Each action can have one or more script segments in a script. The action can also have one or more events that are configured to correspond to the script. For example, an Approve event is associated with the Approve script segment. Events are displayed as buttons in the user interface. When users select an event button, this triggers the action’s script.

This table shows the script segments that are used for each Event button:

Script Segments Events for Buttons
Function wf_return() As Long Return
Function wf_complete () As Long Complete
Function wf_ approve() As Long Approve
Function wf_ reject() As Long Reject
Function wf_edit() As Long Edit
Function wf_view() As Long View
Function wf_reassign() As Long Assign
Function wf_receipt() As Long Receipt
Function wf_hold () As Long Hold

The events have no predefined behavior. You write the code that gives the buttons their behavior.