Activity-List-Add method |
Process Commander maintains three activity lists for each requestor, stored in Java constructs. The lists are:
Use this method to add an activity to one of the three lists, as an alternative to a Call. If the activity requires parameters, enter literal parameters in the method's parameter fields.
This method does not check the validity of the activity you add. Make sure that the activity exists and that users have the necessary security to execute it.
The Activity-List-Add method has two parameters plus an optional array of parameter values for an activity.
Parameter |
Description |
Activity |
Use SmartPrompt to select an activity. |
Onlist |
Optional. Generally, leave this blank. If blank, the system adds the activity to the end of the Activity list. You can enter |
ActivityPrmName |
Optional. Enter a literal as a parameter name for the activity. |
ActivityPrmValue |
Optional. Enter the value for the parameter. |
This method adds the activity to the bottom of the selected list.
When activities are in the Current list, Process Commander executes them in order before returning control to the user.
When the Current list becomes empty, activities in the Activity list move to the Current list. When the Activity list is empty, activities in the Workflow list move to the Activity list.
You cannot examine these lists with the Tracer or Clipboard tool.
Click the Show Calls button on the Steps tab of the Activity form to review the structure of possible call, branch, and Activity-List-Add operations that can occur from the activity. See Activity form — Using the Show Calls display.
This method updates the pxMethodStatus property. See How to test method results using a transition.
activity list, thread page |