COMPLETEACTION Workflow Application
Last updated
Last updated
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.
The optional parameters are the parameters of the action to be completed. You will have to define these parameters in the corresponding action parameters.
If you want to complete an asynchronous web procedure action called MYASYNCACTION
, which has the following parameter:
AMOUNT
: receive data into 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:
You should add exception handling on COMPLETEACTION type actions in case of error (for example, an invalid request number or an invalid action number, etc.).
Parameter
Type
Direction
Description
REQUEST_ID
Numeric
IN
Request ID of the action to be completed
Parameter
Type
Direction
Description
ACTION_NAME
Text
IN
Name of the action to be completed (the first instance found will be completed)
ACTION_ID
Numeric
IN
Action instance ID of the action to be completed
IMPERSONATE_USERNAME
Text
IN
Username of the user who will be associated with completing the action
Parameter
Type
Direction
Description
REQUEST_ID
Numeric
IN
Send value of MY_REQUEST_ID
(a numeric process data containing the request ID of the action to complete, e.g. 1320
)
ACTION_NAME
Text
IN
Send value of the name of the action to complete (e.g. MYSYNCACTION
)
AMOUNT
Numeric
IN
Send value of MY_AMOUNT
(a numeric process data containing a value for the amount, e.g. 1234.56
)