COMPLETEACTION Workflow Application

Overview

The COMPLETEACTION workflow application lets you complete an ongoing action with the corresponding parameters. It provides a simple solution for inter-process communications and synchronization.

Using default and other parameters

Request

The required parameter is REQUEST_ID (IN, numeric value), which is the request ID of the action to be completed.

Activity

The other parameters are:

  • Parameter name: ACTION_NAME (IN parameter, text value): The action name to be completed; the first instance found will be completed

  • Parameter name: ACTION_ID (IN parameter, numeric value): The action instance ID to be completed

  • Parameter name: IMPERSONATE_USERNAME

The optional parameters are the parameters of the action to be completed. You will have to define those parameters in the corresponding action parameters.

Example:

If you want to complete an ASYNCHRONOUS web procedure action called MYASYNCACTION, which has the following parameters:

AMOUNT receive the data into: Data: TOTAL (you have to create this process data).

Then, in your process, you have to add an action using the COMPLETEACTION application with the following parameters:

  • REQUEST_ID: IN send value of: Data: MY_REQUEST_ID (a numeric process data containing the request ID of the action to complete, e.g. 1320)

  • ACTION_ID: IN send value of: Data: MY_ACTION_ID (a numeric process data containing the ID of the action to complete, e.g. 2)

  • AMOUNT: IN send value of: Data: MY_AMOUNT (a numeric process data containing a value for the amount, e.g. 1234.56)