Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the XML web service, the exportReleaseLevel, exportTable, retainSysIds, and version properties are specified as attributes in the <trigger> element.


Examples

XML

JSON

Example for Trigger

Expand
titleXML
<triggerTm exportReleaseLevel="7.2.0.0" exportTable="ops_trigger_tm" retainSysIds="true" version="1">
       <variables />
       <action>Do Not Trigger</action>
<notes /> <calendar>System Default</calendar> <
description>description</description>
dayLogic>And</dayLogic>
       <dayOfMonth>*</dayOfMonth>
       <dayOfWeek>Mon-Fri</dayOfWeek>
       <description>Test Task Monitor in Trigger and in Workflow</description>
       <disabledBy></disabledBy>
<disabledTime></disabledTime>
<enabled>true</enabled>
<enabledBy>ops.admin</enabledBy>

>2021
>2021-03-03 12:46:11 -
0500<
0500</enabledTime>
<enabledEnd>00:00</enabledEnd>
<enabledStart>05:00</enabledStart>
<name>test task monitor trigger</name>
<nextScheduleTime
>2021
>2021-03-04 00:00:00 -
0500<


>






<restrictionNouns>
<restrictionNoun>Day</restrictionNoun>
</restrictionNouns>
<restrictionNthAmount />
<restrictionQualifiers>
       <restrictionQualifiers>
<restrictionQualifier>Year</retsrictionQualifier>
</restrictionQualifiers>
<restrictionSimple>false</restrictionSimple>





<simulationOption>-- System Default --</simulationOption>


skipAfterTime>


<sysId>0fc6b7d9c0a801c9017b6c27c259937e</sysId>
<taskMonitor>uc - Windows Set Variable Monitor</taskMonitor>
<tasks> <task>Sleep 30</task>
       <tasks>
<task>Sleep 30</task>
</tasks>
<timeZone />
<
enabledEnd>00:00</enabledEnd>
<enabledStart>00:00</enabledStart>
<restrictedTimes>false</restrictedTimes>
</triggerTm>
/triggerEm>
Expand
titleJSON
{
{
  "type": "triggerTm",
  "action": "Do Not Trigger",
  "calendar": "System Default",
  "
type
triggerTm
And",
  "
action
Do Not Trigger
*",
  "
calendar
System Default
Mon-Fri",
  "description": "
description
Test Task Monitor in Trigger and in Workflow",
"disabledBy": "",
"disabledTime": "",
"enabled": true,
"enabledBy": "ops.admin",
"enabledTime": "2021-03-03 12:46:11 -0500",
"enabledEnd": "00:00",

 "enabledStart": "00:00",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_trigger_tm",
"name": "test task monitor trigger",
"nextScheduledTime": "2021-03-04 00:00:00 -0500",
"notes": [],

"opswiseGroups": [ ], 
"rdExcludeBackup": true,
"restrictedTimes": false,
"restriction": false,
"restrictionAdjective": "Every",
"restrictionComplex": false,

"restrictionMode": "Or", 
"restrictionNouns": [
{
"value": "Day"
}
],
"restrictionNthAmount": null,
"restrictionQualifiers": [
{
"value": "Year"
}
],
"restrictionSimple": false,
"retainSysIds": true,
"retentionDuration": 1,
"retentionDurationPurge": true,
"retentionDurationUnit": "Days",
"simulationOption": "-- System Default --",
"situation": "Holiday",
"skipAfterDate": "2020-05-28",
"skipAfterTime": "02:15",
"skipBeforeDate": "2020-05-30",
"skipBeforeTime": "17:30",
"skipCondition": "None",
"skipCount": 0,
"skipDateList": [ ],
"skipRestriction": "Span",
"sysId": "9c659c9c2c72460c9a2057663257b0be",
"taskMonitor": "uc - Windows Set Variable Monitor",

 "tasks": [ "Sleep 30" ], 
"timeZone": null,
"variables": [ ],
"version": 1 }
Examples for Trigger-Related Records

Variables

Expand
titleXML
<variables>
   <variable>
         <description />
         <name>testVar</name>
         <value>value</value>
   </variable>
</variables>

Notes

Expand
titleXML
<notes>
   <note>
         <sysId>76ad570c64b84f84aeaf281403856b10</sysId>
         <text>testNoteText</text>
         <title>testNoteTitle</title>
   </note>
</notes>

Variables

Expand
titleJSON
"variables": [ {
  "description": "description",
  "name": "var1",
  "value": "value1"
} ]

Notes

Expand
titleJSON
"notes": [ {
  "sysId": "76ad570c64b84f84aeaf281403856b10",
  "text": "testNoteText",
  "title": "testNoteTitle"
} ]

Anchor
Properties
Properties
Properties

...