Commands

General information

Command is one of the triggers that make a process leave the idle state and perform a certain action. Command is an external trigger. You should never think of a Command only as of an action performed by a system user. For instance, Command can be executed by an external server or an external timer. Command is also one of the major ways of conveying Parameters to the process. Access to Command is controlled not by Command itself, but by Restrictions specified in the transition triggered by this Command. For more details, refer to the Rules section.

Description of Commands in the scheme is set in the Commands section, which may be accessed by clicking on a corresponding button in the toolbar. The following Command properties are available for modification:

Name - Command's name. All Commands are identified by a name, which is case-sensitive;

Input parameters - description of the input parameters for a Command. Each Command may have any amount of input parameters, from 0 to infinity.

Each input parameter has the following properties:

Name - name of the parameter in Command. It is used for localization and access to parameters in a Command. You should not confuse it with a parameter name, though, it is quite convenient when two names coincide;

If the parameters conveyed in a Command have Purpose = Persistence, they will be saved in the database. As for Temporary Parameters, they will be available till the end of the transition process, i.e. until process execution stops.

Implicit parameters and commands

If you do not generate forms using information on command parameters, then you do not need to describe these parameters. It means that the command's Input Parameters section can be empty but you still can convey parameters to the process through it. Here's how it works. Say you are trying to convey a parameter with the "ParameterName" name to the process through a command.

If the parameter with the "ParameterName" name is found in the Input Parameters section of the command, then the information specified in that section is used.

If the parameter with the "ParameterName" name is found in the Parameters section of scheme, then the information specified in that section is used. IT shall be defined that this parameter is Temporary of Persistence.

If the parameter with the "ParameterName" name is not found either in the Parameterssection or the Input Parameters section of the respective command, then the parameter will be conveyed to the precess as Temporary.