Example for Task | XML
<taskMonitor exportReleaseLevel="7.2.0.0" exportTable="ops_task_monitor" retainSysIds="true" version="1">
<actions />
<variables />
<notes />
<virtualResources />
<exclusiveTasks />
<avgRunTime>3</avgRunTime>
<avgRunTimeDisplay>3 Seconds</avgRunTimeDisplay>
<cpDuration />
<cpDurationUnit>Minutes</cpDurationUnit>
<credentials />
<credentialsVar />
<customField1 />
<customField2 />
<efDayConstraint>Nth</efDayConstraint>
<efDuration>00:00:00:00</efDuration>
<efEnabled>false</efEnabled>
<efNthAmount>10</efNthAmount>
<efOffsetDuration />
<efOffsetDurationUnit>Minutes</efOffsetDurationUnit>
<efOffsetPercentage>0</efOffsetPercentage>
<efOffsetType>Percentage</efOffsetType>
<efTime>00:00</efTime>
<efType>Time</efType>
<executionRestriction>Run</executionRestriction>
<firstRun>2021-03-15 13:59:37 -0400</firstRun>
<holdResources>false</holdResources>
<lastRun>2021-03-16 17:12:42 -0400</lastRun>
<lastRunTime>9</lastRunTime>
<lastRunTimeDisplay>9 seconds</lastRunTimeDisplay>
<lfDayConstraint>Nth</lfDayConstraint>
<lfDuration>00:00:00:00</lfDuration>
<lfEnabled>false</lfEnabled>
<lfNthAmount>1</lfNthAmount>
<lfOffsetDuration/>
<lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit>
<lfOffsetPercentage>0</lfOffsetPercentage>
<lfOffsetType>Percentage</lfOffsetType>
<lfTime>00:00</lfTime>
<lfType>Time</lfType>
<lsDayConstraint>Nth</lsDayConstraint>
<lsDuration>00:00:00:00</lsDuration>
<lsEnabled>false</lsEnabled>
<lsNthAmount>7</lsNthAmount>
<lsTime>00:00</lsTime>
<lsType>Time</lsType>
<maxRunTime>9</maxRunTime>
<maxRunTimeDisplay>9 Seconds</maxRunTimeDisplay>
<minRunTime>3</minRunTime>
<minRunTimeDisplay>3 Seconds</minRunTimeDisplay>
<monitorEarlyFinish>false</monitorEarlyFinish>
<monitorLateFinish>false</monitorLateFinish>
<monitorLateStart>false</monitorLateStart>
<name>uc - Test Email</name>
<opswiseGroups />
<resolveNameImmediately>false</resolveNameImmediately>
<resPriority>10</resPriority>
<restrictionPeriod>Span</restrictionPeriod>
<restrictionPeriodAfterDate>2017-11-10</restrictionPeriodAfterDate>
<restrictionPeriodAfterTime>10:30</restrictionPeriodAfterTime>
<restrictionPeriodBeforeDate>2017-11-20</restrictionPeriodBeforeDate>
<restrictionPeriodBeforeTime>15:00</restrictionPeriodBeforeTime>
<restrictionPeriodDateList />
<runCount>32</runCount>
<runTime>108</runTime>
<startHeldReason />
<summary>Test Email</summary>
<sysId>fb59a227517a421a92c15ff5aefe3b66</sysId>
<timeZonePref>-- System Default --</timeZonePref>
<twDelayAmount />
<twDelayDuration>00:00:00:00</twDelayDuration>
<twDelayType>None</twDelayType>
<twWaitAmount />
<twWaitDayConstraint>NONE</twWaitDayConstraint>
<twWaitDuration>00:00:00:00</twWaitDuration>
<twWaitTime>00:00</twWaitTime>
<twWaitType>None</twWaitType>
<twWorkflowOnly>-- System Default --</twWorkflowOnly>
<userEstimatedDuration />
<expirationAction>Finished</expirationAction>
<monType>General</monType>
<relativeTimeFrom>00:00</relativeTimeFrom>
<relativeTimeTo />
<statusText>Defined, Waiting, Time Wait, Held, Exclusive Requested,
Exclusive Wait, Resource Requested, Resource Wait, Execution Wait,
Undeliverable, Queued, Submitted, Action Required, Started, Running,
Running/Problems, Cancel Pending, In Doubt, Start Failure,
Confirmation Required, Cancelled, Failed, Skipped, Finished, Success
</statusText>
<taskNameLookup>Contains</taskNameLookup>
<timeScope>Relative</timeScope>
<typeText>Workflow, Timer, Windows, Linux/Unix, z/OS, File Monitor,
Manual, Email, File Transfer, SQL, FTP File Monitor, Task Monitor,
Variable Monitor, Stored Procedure, Universal Command, System Monitor,
Application Control, SAP, Email Monitor, Web Service,
Universal</typeText>
<wfConditionType>Starts With</wfConditionType>
<wfConditionValue>test</wfConditionValue>
</taskMonitor>
| JSON
{
"type": "taskMonitor",
"actions": {
"abortActions": [],
"emailNotifications": [],
"setVariableActions": [],
"snmpNotifications": [],
"systemOperations": []
},
"avgRunTime": 3,
"avgRunTimeDisplay": "3 Seconds",
"cpDuration": null,
"cpDurationUnit": "Minutes",
"credentials": null,
"credentialsVar": null,
"customField1": {
"label": null,
"value": null
},
"customField2": {
"label": null,
"value": null
},
"efDayConstraint": "Nth Day",
"efDuration": "00:00:00:00",
"efEnabled": false,
"efNthAmount": 10,
"efOffsetDuration": null,
"efOffsetDurationUnit": "Minutes",
"efOffsetPercentage": 0,
"efOffsetType": "Percentage",
"efTime": "00:00",
"efType": "Time",
"excludeRelated": false,
"exclusiveTasks": [],
"executionRestriction": "Run",
"expirationAction": "Finished",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_task_monitor",
"firstRun": "2021-03-15 13:59:37 -0400",
"holdResources": false,
"lastRun": "2021-03-16 17:12:42 -0400",
"lastRunTime": 9,
"lastRunTimeDisplay": "9 Seconds",
"lfDayConstraint": "Nth Day",
"lfDuration": "00:00:00:00",
"lfEnabled": false,
"lfNthAmount": 1,
"lfOffsetDuration": null,
"lfOffsetDurationUnit": "Minutes",
"lfOffsetPercentage": 0,
"lfOffsetType": "Percentage",
"lfTime": "00:00",
"lfType": "Time",
"lsDayConstraint": "Nth Day",
"lsDuration": "00:00:00:00",
"lsEnabled": false,
"lsNthAmount": 7,
"lsTime": "00:00",
"lsType": "Time",
"maxRunTime": 9,
"maxRunTimeDisplay": "9 Seconds",
"minRunTime": 3,
"minRunTimeDisplay": "3 Seconds",
"monitorEarlyFinish": false,
"monitorLateFinish": false,
"monitorLateStart": false,
"monType": "General",
"name": "uc - Test Email",
"notes": [],
"opswiseGroups": null,
"relativeTimeFrom": "00:00",
"relativeTimeTo": null,
"resolveNameImmediately": false,
"resPriority": 10,
"restrictionPeriod": "Span",
"restrictionPeriodAfterDate": "2017-11-10",
"restrictionPeriodAfterTime": "10:30",
"restrictionPeriodBeforeDate": "2017-11-20",
"restrictionPeriodBeforeTime": "15:00",
"restrictionPeriodDateList": [],
"retainSysIds": true,
"runCount": 32,
"runTime": 108,
"startHeld": false,
"startHeldReason": null,
"statusText": "Success",
"summary": "Test Email",
"sysId": "fb59a227517a421a92c15ff5aefe3b66",
"taskNameLookup": "Contains",
"timeScope": "Relative",
"timeZonePref": "-- System Default --",
"twDelayAmount": null,
"twDelayDuration": "00:00:00:00",
"twDelayType": "None",
"twWaitAmount": null,
"twWaitDayConstraint": "NONE",
"twWaitDuration": "00:00:00:00",
"twWaitTime": "00:00",
"twWaitType": "None",
"twWorkflowOnly": "-- System Default --",
"typeText": "Workflow, Timer, Windows, Linux/Unix, z/OS, File Monitor,
Manual, Email, File Transfer, SQL, FTP File Monitor, Task Monitor,
Variable Monitor, Stored Procedure, Universal Command, System Monitor,
Application Control, SAP, Email Monitor, Web Service, Universal",
"userEstimatedDuration": null,
"variables": [],
"version": 1,
"virtualResources": [],
"wfConditionType": "Starts With",
"wfConditionValue": "test"
}
|