Panel | |
---|---|
|
...
Built-in variables are maintained by Universal Controller and provide information about task instances, agents, Universal Message Service ({OMS)}, and cluster nodes. They can be used in free text fields in triggers, tasks, task actions, and email notifications for agents, OMS servers, and cluster nodes.
...
Description | Resolves to the agent IP address ({see |
---|---|
Syntax | ${ops_agent_ipaddr} |
Example |
...
Description | Resolves to the agent operational mode ({Active, Offline)}. |
---|---|
Syntax | ${ops_agent_mode} |
Example |
...
Note | ||
---|---|---|
| ||
Although they have the same syntax, ${ops_agent_id}, this 206420808 Agent Queue Name Agent variable resolves to a different value than the 206420808 Agent sys_id Agent-based task instance variable. |
...
The following variables can be used to pass agent information into agent-based task (Windows, Linux/Unix, z/OS, and SAP) notificationstask notifications; see Creating Email Notifications and Creating SNMP Notifications.
Agent-based task types:
- Linux/Unix
- Windows
- z/OS
- Universal Command
- SAP
- PeopleSoft
- File Transfer
- Agent File Monitor
- Remote File Monitor
- System Monitor
- Universal
Agent Hostname
Description | Resolves to the agent hostname. |
---|---|
Syntax | ${ops_agent_hostname} |
Example |
...
Description | Resolves to the agent IP address ({see |
---|---|
Syntax | ${ops_agent_ipaddr} |
Example |
...
Description | Resolves to the agent name. |
---|---|
Syntax | ${ops_agent_name} |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the sys_id of the agent. |
---|---|
Syntax | ${ops_agent_id} |
Example |
Credential sys_id
Description | Resolves to the sys_id of the credential defined in the Agent Details section of the task definition (Utility Credential or Credential). If a credential is defined on the agent and not in the Agent Details section of the task definition, it will be the agent’s credential sys_id. |
---|---|
Syntax | ${ops_ |
credential_ |
id} |
Example |
---|
...
Credential Name
Description | Resolves to the |
---|
Name of the credential defined in the Agent Details section of the task definition (Utility Credential or Credential). If a credential is defined on the agent and not in the Agent Details section of the task definition, it will be the agent’s credential Name. | |
Syntax | ${ops_ |
---|
credential_ |
name} | |
Example |
---|
Note | ||
---|---|---|
| ||
Although they have the same syntax, ${ops_agent_id}, this 206420808 Agent sys_id Agent-based task instance variable resolves to a different value than the 206420808 Agent Queue Name Agent variable. |
Agent Queue Name
...
Description | Resolves to the directory where the new file was created, but not the file itself. If the existence or non-existence of the final directory separator is a requirement, we recommend the use of |
---|---|
Syntax | ${ops_trigger_file_path} |
Example |
File Directory
...
{with Final Directory Separator
...
}
Description | Resolves to the directory where the new file was created, but not the file itself; includes the final directory separator. |
---|---|
Syntax | ${ops_trigger_file_fullpath} |
Example |
File Directory
...
{without Final Directory Separator
...
}
Description | Resolves to the directory where the new file was created, but not the file itself; does not include the final directory separator. |
---|---|
Syntax | ${ops_trigger_file_fullpath_no_separator} |
Example |
...
Description | Resolves to the separator appropriate to the platform where the agent is running. For Windows, resolves to a backslash ( { \ )}; for Linux/Unix, resolves to forward slash ( { / )}. This variable may be useful if you want to piece together a pathname using a combination of text and variables. | ||||
---|---|---|---|---|---|
Syntax | ${ops_trigger_file_separator} | ||||
Example |
|
...
Description | Resolves to the name of the file that fired the trigger. |
---|---|
Syntax | ${ops_trigger_file_name} |
Example |
Anchor | ||||
---|---|---|---|---|
|
...
{No Path
...
}
Description | Resolves to the name of the file that fired the trigger, but without any path information. |
---|---|
Syntax | ${ops_trigger_file_name_nopath} |
Example |
...
The following cluster node variables allow you to pass information into a cluster node ({Controller server) } notification:
Cluster Node Hostname
...
Description | Resolves to the date and time the cluster node ({server) } was started. |
---|
Syntax | ${ops_cluster_start_time} | ||||
---|---|---|---|---|---|
Example |
|
...
For example, the Email Monitor trigger may specify the launch of an Email task each time the associated Email Monitor task detects the status in a Mailbox folder. The Windows task might use one of these built-in variables as a command argument. Or, if the Agent File Monitor task is not associated with a trigger but is running within a workflow, on completion you can propagate one or more of these built-in variable values to the parent workflow level using the Set Variable action. This allows you to pass information from the Email Monitor task to a successor task within the same workflow hierarchy.
Credential sys_id
Description | Resolves to the sys_id the Task’s credential. |
---|---|
Syntax | ${ops_credential_id} |
Example |
Credential Name
Description | Resolves to the Name of the Task’s credential. |
---|---|
Syntax | ${ops_credential_name} |
Example |
Body Field
Description | Resolves to the Body field of the Email. |
---|---|
Syntax | ${ops_trigger_email_body} |
Example |
...
Note | ||
---|---|---|
| ||
These variables differ from all other built-in variables in that they are resolved by Universal Data Mover ({UDM) } on a UDM agent, not by the Universal Controller. File Transfer variables are sent to an agent unresolved and UDM performs all resolution for them. The resolved value is never available to the Controller. Unlike the syntax of built-in variables resolved by Universal Controller - |
The following example illustrates the correct way to code them:
Panel | ||
---|---|---|
Source and Destination Variables
|
Panel | ||
---|---|---|
Primary and Secondary Variables
|
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the source password. |
---|---|
Syntax | $({ops_src_cred_pwd)} |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the source user ID. |
---|---|
Syntax | $({ops_src_cred_user)} |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the destination password. |
---|---|
Syntax | $({ops_dst_cred_pwd)} |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the destination user ID. |
---|---|
Syntax | $({ops_dst_cred_user)} |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the Primary password. |
---|---|
Syntax | $({ops_primary_cred_pwd)} |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the Primary user ID. |
---|---|
Syntax | $({ops_primary_cred_user)} |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the Secondary password. |
---|---|
Syntax | $({ops_secondary_cred_pwd)} |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the Secondary user ID. |
---|---|
Syntax | $({ops_secondary_cred_user)} |
Example |
Utility User ID
Description | Resolves to the Utility user ID. |
---|---|
Syntax | $({ops_utility_cred_user)} |
Example |
Utility Password
Description | Resolves to the Utility password. |
---|---|
Syntax | $({ops_utility_cred_pwd)} |
Example |
Utility Hostname
Description | Resolves to the Utility hostname. |
---|---|
Syntax | $({ops_utility_agent_hostname)} |
Example |
For Transfer Protocol = UDM
...
Description | Resolves to the Primary File({s) } field values. If the Primary File({s) } field is empty, it resolves to empty string/blank. |
---|---|
Syntax | $({ops_primary_filename)} $({ops_primary_filename) } is an alias for $({ops_local_filename)}. |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the Secondary File({s) } field values. If the Secondary File({s) } field is empty, it resolves to empty string/blank. |
---|---|
Syntax | $({ops_secondary_filename)} $({ops_secondary_filename) } is an alias for $({ops_remote_filename)}. |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | If UDM Agent Option = UDM Agent Hostname; Resolves to the specified hostname. If UDM Agent Option = UDM Agent or UDM Agent Cluster; Resolves to the IP address of the referenced Agent definition. If UDM Agent Option = --None–; Resolves to empty string/blank. If UDM Agent Option = Utility Agent; Resolves to *. |
---|---|
Syntax | ${ops_primary_agent_hostname} |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | If UDM Agent Option = UDM Agent Hostname; Resolves to the specified hostname. If UDM Agent Option = UDM Agent or UDM Agent Cluster; Resolves to the IP address of the referenced Agent definition. If UDM Agent Option = --None–; Resolves to empty string/blank. |
---|---|
Syntax | ${ops_secondary_agent_hostname} |
Example |
For Transfer Protocol = FTP/SFTP/FTPS
...
Description | Resolves to the Local Filename field values. If the Local Filename field is empty, it resolves to empty string/blank. |
---|---|
Syntax | $({ops_local_filename)} $({ops_local_filename) } is an alias for $({ops_primary_filename)}. |
Example |
Anchor | ||||
---|---|---|---|---|
|
Description | Resolves to the Remote Filename field values. If the Remote Filename field is empty, it resolves to empty string/blank. |
---|---|
Syntax | $({ops_remote_filename)} $({ops_remote_filename) } is an alias for $({ops_secondary_filename)}. |
Example |
Anchor | ||||
---|---|---|---|---|
|
...
Description | Resolves to the current status of the OMS Server messaging sessions ({heartbeat, input, output)}: Operational, Impaired, None. |
---|---|
Syntax | ${ops_oms_session_status} |
Example |
...
The following built-in variables are available for PeopleSoft tasks and task instances:
Distribution Status
({For task instances only.)}
Description | Resolves to the PeopleSoft task instance Distribution Status. |
---|---|
Syntax | ${ops_distribution_status} |
Example |
...
Description | Resolves to the PeopleSoft task/task instance Main Schedule Name. |
---|---|
Syntax | ${ops_main_schedule_name} |
Example |
Process Instance
({For task instances only.)}
Description | Resolves to the PeopleSoft task instance Process Instance. |
---|---|
Syntax | ${ops_process_instance} |
Example |
...
Description | Resolves to the PeopleSoft task/task instance Process Type. |
---|---|
Syntax | ${ops_process_type} |
Example |
Run Status
({For task instances only.)}
Description | Resolves to the PeopleSoft task instance Run Status. |
---|---|
Syntax | ${ops_run_status} |
Example |
...
The following built-in variables are available for Remote File Monitor task instances and provide information about the file or file({s) } that matched the monitor's criteria.
...
Description | Resolves to the remote file name. |
---|---|
Syntax | ${ops_trigger_file_name} |
Example |
Remote Trigger File Name
...
{No Path
...
}
Description | Resolves to the remote file name without any path information. |
---|---|
Syntax | ${ops_trigger_file_name_nopath} |
Example |
...
Description | Resolves to the directory where the remote file is located, but not the file itself. ${ops_trigger_file_path} is an alias for ${ops_trigger_file_fullpath_no_separator}. |
---|---|
Syntax | ${ops_trigger_file_path} |
Example |
Trigger File Directory
...
{with Final Directory Separator
...
}
Description | Resolves to the directory where the remote file is located, but not the file itself; includes the final directory separator. |
---|---|
Syntax | ${ops_trigger_file_fullpath} |
Example |
Trigger File Directory
...
{without Final Directory Separator
...
}
Description | Resolves to the directory where the remote file is located, but not the file itself; does not include the final directory separator. |
---|---|
Syntax | ${ops_trigger_file_fullpath_no_separator} |
Example |
...
Description | Resolves to the path only, with the final slash but without the file name, from the Remote Filename field in the Remote File Monitor task. | ||||
---|---|---|---|---|---|
Syntax | ${ops_trigger_wildcard_path} | ||||
Example |
|
Trigger Wildcard Path Only
...
{without Final Slash
...
}
Description | Resolves to the path only, without the final slash and without the file name, from the Remote Filename field in the Remote File Monitor task. | ||||
---|---|---|---|---|---|
Syntax | ${ops_trigger_wildcard_path_no_separator} | ||||
Example |
|
...
The following built-in variables are used in SQL tasks and Stored Procedure tasks to collect SQLException data, if any:to collect SQLException data, if any:
Credential sys_id
Description | Resolves to the sys_id of either the Task’s credential or the Database Connection's credential. Task credential is higher precedence. |
---|---|
Syntax | ${ops_credential_id} |
Example |
Credential Name
Description | Resolves to the Name of either the Task’s credential or the Database Connection's credential. Task credential is higher precedence. |
---|---|
Syntax | ${ops_credential_name} |
Example |
Error Message
Description | Resolves to any error message generated by the database. |
---|---|
Syntax | ${ops_sql_error_msg} |
Example |
...
Description | Actual size determined by the agent. |
---|---|
Syntax | ${ops_sm_actual_size} |
Example |
Actual Size
...
{Rounded
...
}
Description | Same as ops_sm_actual_size, except rounded to the nearest integer. |
---|---|
Syntax | ${ops_sm_actual_int_size} |
Example |
Actual Size
...
{Scale
...
}
Description | Scale of the actual size determined by the agent. |
---|---|
Syntax | ${ops_sm_actual_scale} |
Example |
...
Description | Size specified in the Resource Available field of the System Monitor task definition. |
---|---|
Syntax | ${ops_sm_size} |
Example |
Size
...
{Rounded
...
}
Description | Same as ops_sm_size, except that ops_sm_int_size is rounded to the nearest integer. |
---|---|
Syntax | ${ops_sm_int_size} |
Example |
...
Description | Resolves to the date and time the Active cluster node ({server) } was started. | ||||
---|---|---|---|---|---|
Syntax | ${ops_cluster_start_time} | ||||
Example |
|
...
Description | Resolves to the retry interval ({seconds)}. |
---|---|
Syntax | ${ops_retry_interval} |
Example |
...
Description | Resolves to the value of the task’s vertex id in a workflow. |
---|---|
Syntax | ${ops_vertex_id} |
Example | Ops_vertex_id = 5 |
Time Zone
...
{Task time zone
...
}
Description | Resolves to the time zone of the task instance, as specified by the Time Zone Preference field. |
---|---|
Syntax | ${ops_task_time_zone} |
Example |
Time Zone
...
{Trigger time zone
...
}
Description | Resolves to the time zone of the trigger that launched the task. If the task was launched by the Trigger Now/Launch Task command, the built-in variable will resolve to the command's time zone option, or if no time zone option was specified, the server time zone. |
---|---|
Syntax | ${ops_time_zone} |
Example |
...
Description | Resolves to the scheduled time of the trigger or, if the trigger is not scheduled, the actual trigger time. If the task is triggered by date/time, it resolves to that specified date/time. |
---|---|
Syntax | ${ops_trigger_time} |
Example |
Anchor | ||||
---|---|---|---|---|
|
...
{Trigger time zone
...
}
Description | Resolves to the trigger time in the time zone of the trigger. |
---|---|
Syntax | ${ops_trigger_time_tz} |
Example |
...
Anchor | ||||
---|---|---|---|---|
|
Description | Time To Live ({in minutes) } for the Universal Event. |
---|---|
Syntax | ${ops_trigger_universal_event_ttl} |
Example |
...
The following built-in variables are available for Web Service task instances:
Credential sys_id
Description | Resolves to the sys_id the Task’s credential. |
---|---|
Syntax | ${ops_credential_id} |
Example |
Credential Name
Description | Resolves to the Name of the Task’s credential. |
---|---|
Syntax | ${ops_credential_name} |
Example |
URL
Description | Resolves to the entire encoded URL containing the host, port, path and query. |
---|---|
Syntax | ${ops_url} |
Example |
...
Universal Event Payload
Description | Resolves to same JSON payload for the matched Universal Event that would be used for a URL action. |
---|---|
Syntax | ${ops_webhook_eventName_payload} |
Example |
Webhook Name
Description | Resolves to the name of the Webhook that launched the Task Instance. |
---|---|
Syntax | ${ops_webhook_name} |
Example |
Anchor | ||||
---|---|---|---|---|
|
...