Previous Topic: Specify Process Dataset VariablesNext Topic: Specify System Dataset Variables


Specify Operator Dataset Variables

Operator datasets contain variables that the developer defines at design time or that CA Process Automation defines at run time for a specific operator. Design-time variables are available immediately after process starts. Run-time variables are added when an operator runs.

The operator name in the local dataset at run time labels the operator datasets, so you can use dot (.) or bracket ([expression]) notation to specify an operator variable in an expression:

Operator.field_name
Process["Operator_name"].field_name
Process["Operator_name"]["field_name"]

The pre-execution and post-execution code for an operator can use the OpName keyword to access the name of the current operator. You can use this keyword to access or create an operator dataset. To specify an operator dataset variable in the pre-execution or post-execution code, use the following syntax:

Process[OpName].field_name

The following table lists common operator dataset system variables that CA Process Automation defines automatically. Additional variables can be defined for specific operators.

Operator Dataset Variable

Runtime Scope

Description

AgentName

during, after

Name of the machine associated with the touchpoint that runs the operator.

AgentID

during, after

For internal use only.

EndDate

after

The date when the operator finished running, in the format:

MM/DD/YYYY

EndTime

after

The time when the operator stopped running, in the format:

HH:MM:SS

Reason

after

A string that describes the result.

ResponseCode

after

A string that describes the result.

StartDate

during, after

The date when the operator started running, in the format:

MM/DD/YYYY

StartTime

during, after

The time when the operator started running, in the format:

HH:MM:SS

ServiceType

during, after

The CA Process Automation module that ran the operator.

TargetName

during, after

The name of the target (for example, Orchestrator).

TouchpointName

during, after

The name of the touchpoint that runs the operator.

UUID

during, after

For internal use only.