Examples | XML | JSON |
---|
Example for Task | |
Expand |
---|
| {
"type": "taskManual",
"actions": {
"abortActions": [],
"emailNotifications": [],
"setVariableActions": [],
"snmpNotifications": [],
"systemOperations": []
}, "avgRunTime": 3, "avgRunTimeDisplay": "3 Seconds",
"cpDuration": null,
"cpDurationUnit": "Minutes",
"credentials": null,
"credentialsVar": null,
"customField1": {
"label": "Domain",
"value": "http://qa-cntlr-mssql:8080/uc/"
},
"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", "exportReleaseLevel": "7.2.0.0", "exportTable": "ops_task_manual", "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",
"name": "uc - Test Email",
"notes": [],
"opswiseGroups": 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,
"summary": "Test Email",
"sysId": "fb59a227517a421a92c15ff5aefe3b66",
"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 --",
"userEstimatedDuration": null,
"variables": [],
"version": 1,
"virtualResources": []
} |
|
Anchor |
---|
| Examples for Task Actions |
---|
| Examples for Task Actions |
---|
|
Examples for Task Actions | |
Expand |
---|
| Abort
Anchor |
---|
| Email Notification |
---|
| Email Notification |
---|
| Email Notification
Set Variable
Anchor |
---|
| SNMP Notification |
---|
| SNMP Notification |
---|
| SNMP Notification
Anchor |
---|
| System Operation |
---|
| System Operation |
---|
| System Operation Panel |
---|
Html bobswift |
---|
<pre>
"systemOperations": [ {
" |
agent agentCluster agentClusterVar agentVar description execCommand Html bobswift |
---|
": "Cancel",
" |
execCriteria Html bobswift |
---|
": "Oldest Active Instance",
" |
execId execLookupOption Html bobswift |
---|
": "Task",
" |
execName execWorkflowNameCond execWorkflowName exitCodes limit notificationOption Html bobswift |
---|
": "Operation Failure",
" |
notifyOnEarlyFinish notifyOnLateFinish notifyOnLateStart operation Html bobswift |
---|
": "Run Task Instance Command",
" |
task Html bobswift |
---|
": "uc - B=${B}",
" |
taskLimitType Html bobswift |
---|
": "Unlimited",
" |
taskVar trigger triggerVar status Html bobswift |
---|
": "Held",
" |
sysId Html bobswift |
---|
": "742beaf652834054b1edc37e6423700d",
" |
variables name Html bobswift |
---|
": "var1",
" |
value Html bobswift |
---|
": "val1"
},
{
" |
name Html bobswift |
---|
": "var2",
" |
value Html bobswift |
---|
": "val2"
} ],
" |
variablesUnresolved virtualResource virtualResourceVar Html bobswift |
---|
": null
} ]
</pre> |
|
|
|
Anchor |
---|
| Examples for Task-Related Records |
---|
| Examples for Task-Related Records |
---|
|
Examples for Task-Related Records |
Expand |
---|
| Anchor |
---|
| Mutually Exclusive Tasks |
---|
| Mutually Exclusive Tasks |
---|
| Mutually Exclusive Tasks Panel |
---|
Html bobswift |
---|
<pre>
<exclusiveTasks>
<exclusiveTask>
< |
sysId Html bobswift |
---|
>5d2c0886b69745aa916a755602a1b77f< |
/sysId task Html bobswift |
---|
>Sleep 0< |
task type Html bobswift |
---|
>Direct< |
type Html bobswift |
---|
>
</exclusiveTask>
<exclusiveTask>
< |
sysId Html bobswift |
---|
>c1342b7597f9492e927ce24c5126f9d4< |
/sysId task Html bobswift |
---|
>Sleep 30< |
/task type Html bobswift |
---|
>Direct< |
/type Html bobswift |
---|
>
</exclusiveTask>
</exclusiveTasks>
</pre> |
|
Notes Panel |
---|
Html bobswift |
---|
<pre>
<notes>
<note>
< |
sysId Html bobswift |
---|
>8122cc80fbdb4e12b2c7118c172038fc< |
/sysId text Html bobswift |
---|
>note2 text< |
/text title Html bobswift |
---|
>note2< |
/title Html bobswift |
---|
>
</note>
<note>
< |
sysId Html bobswift |
---|
>eb95737f44664bd3bd4002690e00d715< |
/sysId text Html bobswift |
---|
>note1 text< |
/text title Html bobswift |
---|
>note1< |
/title Html bobswift |
---|
>
</note>
</notes>
</pre> |
|
Anchor |
---|
| Variables in Tasks |
---|
| Variables in Tasks |
---|
| Variables Panel |
---|
Html bobswift |
---|
<pre>
<variables>
<variable>
< |
description Html bobswift |
---|
>description< |
/description name Html bobswift |
---|
>var1< |
/name sysId Html bobswift |
---|
>76af48c246954c128ef90da254044618< |
/sysId value Html bobswift |
---|
>value1< |
/value Html bobswift |
---|
>
</variable>
<variable>
< |
description name Html bobswift |
---|
>var2< |
/name sysId Html bobswift |
---|
>899912878e4b4a36848269dc8a75dc1c< |
/sysId value Html bobswift |
---|
>value2< |
/value Html bobswift |
---|
>
</variable>
</variables>
</pre> |
|
Anchor |
---|
| Virtual Resources |
---|
| Virtual Resources |
---|
| Virtual Resources
|
|
Expand |
---|
| Anchor |
---|
| Mutually Exclusive Tasks |
---|
| Mutually Exclusive Tasks |
---|
| Mutually Exclusive Tasks Panel |
---|
Html bobswift |
---|
<pre>
"exclusiveTasks": [ {
" |
sysId Html bobswift |
---|
": "5d2c0886b69745aa916a755602a1b77f",
" |
task Html bobswift |
---|
": "Sleep 0",
" |
type Html bobswift |
---|
": "Direct"
},
{
" |
sysId Html bobswift |
---|
": "c1342b7597f9492e927ce24c5126f9d4",
" |
task Html bobswift |
---|
": "Sleep 30",
" |
type Html bobswift |
---|
": "Direct"
} ]
</pre> |
|
Notes Panel |
---|
Html bobswift |
---|
<pre>
"notes": [ {
" |
sysId Html bobswift |
---|
": "8122cc80fbdb4e12b2c7118c172038fc",
" |
text Html bobswift |
---|
": "note2 text",
" |
title Html bobswift |
---|
": "note2"
},
{
" |
sysId Html bobswift |
---|
": "eb95737f44664bd3bd4002690e00d715",
" |
text Html bobswift |
---|
": "note1 text",
" |
title Html bobswift |
---|
": "note1"
} ]
</pre> |
|
Anchor |
---|
| Variables in Tasks |
---|
| Variables in Tasks |
---|
| Variables Panel |
---|
Html bobswift |
---|
<pre>
"variables": [ {
" |
description Html bobswift |
---|
": "description",
" |
name Html bobswift |
---|
": "var1",
" |
sysId Html bobswift |
---|
": "76af48c246954c128ef90da254044618",
" |
value Html bobswift |
---|
": "value1"
},
{
" |
description name Html bobswift |
---|
": "var2",
" |
sysId Html bobswift |
---|
": "899912878e4b4a36848269dc8a75dc1c",
" |
value Html bobswift |
---|
": "value2"
} ]
</pre> |
|
Anchor |
---|
| Virtual Resources |
---|
| Virtual Resources |
---|
| Virtual Resources Panel |
---|
Html bobswift |
---|
<pre>
"virtualResources": [ {
" |
amount resource Html bobswift |
---|
": "uc - Solo",
" |
sysId Html bobswift |
---|
": "4f5bb3fda5874dac8bb1897382d1317d"
} ]
</pre> |
|
|
|