Task Web Services

Overview

Universal Controller supports the following RESTful-based web services for Task operations.

Formatting specifications for each web service, including details about parameter requirements, are provided.

Common Web Services

The following web services are common to all Task types:

Detailed information for each of these web services is provided on this page.
 

Task-Specific Web Services

The following web services are specific for each Task type:

  • Create a Task
  • Modify a Task
  • Read a Task

For detail information about these task-specific web services, see:

Delete a Task


Description

URI

http://host_name/uc/resources/task

HTTP Method

DELETE

Description

Deletes the specified task.

URI Parameters

See Delete a Task: URI Parameters, below.

Example URI

Authentication

HTTP Basic

Example Response

  • Status 200 /OK
    Task deleted successfully.
  • Status 400 /Bad Request
    Mutual exclusion violation. Cannot specify taskname and taskid at the same time.
  • Status 404 /Not Found
    A task with id "f87848b00a0001037f43e7c81c8ec969" does not exist.

Delete a Task: URI Parameters

Parameter

Description

Specifications

Required

Mutually Exclusive With

taskid

ID used within the Controller to identify this task.

String; URI parameter.

Y
(unless taskname
is specified)

taskname

taskname

Name used within the Controller to identify this task.

String; URI parameter.

Y
(unless taskid
is specified)

taskid

Launch a Task


Description

URI

http://host_name/uc/resources/task/ops-task-launch

HTTP Method

POST

Description

Launches the specified task.

Example URI

http://localhost:8080/uc/resources/task/ops-task-launch

Authentication

HTTP Basic

Consumes Content-Type

application/xml, application/json

Produces Content-Type

application/xml, application/json

Example Request

See Launch a Task: XML and JSON Examples.

Example Request for Task-Related Records

See Launch a Task: XML and JSON Examples.

Request Properties

See Launch a Task: Request Properties.

Request Task-Related Records Properties

Example Response

See Launch a Task: XML and JSON Examples.

Launch a Task: XML and JSON Examples

Examples

XML

JSON

Example Request for Task

 XML
<task-launch>
    <variables /> 
    <virtual-resources /> 
    <name>Timer 0</name>
    <timeZone>America/Halifax</timeZone>
    <virtualResourcePriority>10</virtualResourcePriority>
    <hold>yes</hold>
    <holdReason>Waiting for input</holdReason>
    <launchReason>Testing</launchReason>    
</task-launch>  
 JSON

{
    "variables": null, 
    "virtual-resources": null, 
    "name": "Timer 0",
    "timeZone": "America/Halifax",
    "virtualResourcePriority": 10,
    "hold": "yes",
    "holdReason": "Waiting for input",
    "launchReason": "test"
}

Example Request for Task-Related Records

 XML

Variables

<variables>
   <variable>
         <name>testVar</name>
         <value>value</value>
   </variable>
</variables>

Virtual Resources

<virtual-resources> 
    <virtual-resource>
        <name>uc - Solo</name>
        <limit>2</limit>
    </virtual-resource>
</virtual-resources> 
 JSON
{
    "variables": [{
      "name": "testvar",
      "value": "abc"
    }],
    "virtualResources": [ {
      "name": "aaaaa",
      "limit": 2
    } ], 
    "name": "Timer 0",
    "virtualResourcePriority": 10,
    "hold": "yes"
}

Example Response

 XML
<command-response>
    <type>launch</type>
    <success>true</success>
    <info>Successfully launched the Timer task Timer 0.</info>
    <sysId>1484021712811013671DQNWR5P2F9846</sysId>
    <errors />
</command-response> 
 JSON
{
"type": "launch",
"success": true,
"info": "Successfully launched the Timer task "Timer 0" with task instance sys_id 15136440261151733518FCQUD1BNHITA with hold on start.",
"errors": "",
"sysId": "15136440261151733518FCQUD1BNHITA"
}

Launch a Task: Request Properties

Property

UI Field Name

Description

Specifications

Required

hold

Hold on Start

Indicates that when the task is launched, it appears in the Activity Monitor with a status of Held. The task runs when the user releases it.

Valid values = Yes,Y,true

N

holdReason

Hold Reason

Information about why the task will be put on hold when it starts.


N

launchReasonLaunch ReasonReason for the task launch

(Y if Task Launch Reason Required system property is True.)

name

Task Name

Name of the task.


Y

timeZone

Time Zone

Time Zone in the which the task is launched.


N

virtualResourcePriority

Virtual Resource Priority

Priority for acquiring a resource when two or more tasks are waiting for the resource; applies to all resources required by the task.

Integer; Valid values: 1 (high) to 20 (low). Default is 10.

N

Task-Related Records Properties: Variables

Property

UI Field Name

Description

Specifications

Required

name

Name

Name of the variable.


Y

value

Value

Value of the variable.


Y

Task-Related Records Properties: Virtual Resources

The virtual resource dependencies specified in virtual-resources are merged with the default virtual resource dependencies:

  • If a default virtual resource dependency already exists for a specified virtual resource amount, the virtual resource dependency is updated.
  • Any virtual resource specified with an amount of 0 is dropped from the default virtual resource dependencies; if the virtual resource did not exist as a default dependency, the command will fail.
  • If a default virtual resource dependency does not already exist for a specified virtual resource amount, the virtual resource dependency is added. |
     

Property

UI Field Name

Description

Specifications

Required

description

Resource Description

Description of the virtual resource.


N

name

Resource Name

Name of the virtual resource.


Y

limit

Resource Limit

Maximum number of units for this resource.


Y

List All Workflows That a Task Belongs To


Description

URI

http://host_name/uc/resources/task/parent/list

HTTP Method

GET

Description

Retrieves a list of parent workflows that a task belongs to.

URI Parameters

See List All Workflows That a Task Belongs To: URI Parameters, below.

Example URI

Authentication

HTTP Basic

Consumes Content-Type

n/a

Produces Content-Type

application/xml, application/json

Example Response

See List All Workflows That a Task Belongs To: XML and JSON Examples.

Response Properties

See List All Workflows That a Task Belongs To: Response Properties.

List All Workflows That a Task Belongs To: URI Parameters

Parameter

Description

Specifications

Required

Mutually Exclusive With

taskid

ID used within the Controller to identify this task.

String; URI parameter.

Y
(unless taskname
is specified)

taskname

taskname

Name used within the Controller to identify this task.

String; URI parameter.

Y
(unless taskid
is specified)

taskid

List All Workflows That a Task Belongs To: XML and JSON Examples

Examples

XML

JSON

Example Response

 XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<workflows>
    <workflow>
        <name>WF_A</name>
        <sysId>2be1385324ab410995fda3f0292c07ee</sysId>
        <description />
        <version>2</version>
        <vertexName>SB_JOB</vertexName>
        <vertexId>2</vertexId>
    </workflow>
    <workflow>
        <name>WF_B</name>
        <sysId>c8d5ad7cee3f46288482872dbd63770c</sysId>
        <description />
        <version>43</version>
        <vertexName>SB_JOB</vertexName>
        <vertexId>2</vertexId>
    </workflow>
    <workflow>
        <name>WF_C</name>
        <sysId>830105616cc74d7d8d394bedc1c47a43</sysId>
        <description />
        <version>6</version>
        <vertexName>SB_JOB.1</vertexName>
        <vertexId>2</vertexId>
    </workflow>
    <workflow>
        <name>WF_C</name>
        <sysId>830105616cc74d7d8d394bedc1c47a43</sysId>
        <description />
        <version>6</version>
        <vertexName>SB_JOB.2</vertexName>
        <vertexId>3</vertexId>
    </workflow>
</workflows>
 JSON
[ {
  "name": "WF_A",
  "sysId": "2be1385324ab410995fda3f0292c07ee",
  "description": null,
  "version": 2,
  "vertexName": "SB_JOB",
  "vertexId": "2"
}, {
  "name": "WF_B",
  "sysId": "c8d5ad7cee3f46288482872dbd63770c",
  "description": null,
  "version": 43,
  "vertexName": "SB_JOB",
  "vertexId": "2"
}, {
  "name": "WF_C",
  "sysId": "830105616cc74d7d8d394bedc1c47a43",
  "description": null,
  "version": 6,
  "vertexName": "SB_JOB.1",
  "vertexId": "2"
}, {
  "name": "WF_C",
  "sysId": "830105616cc74d7d8d394bedc1c47a43",
  "description": null,
  "version": 6,
  "vertexName": "SB_JOB.2",
  "vertexId": "3"
} ]

List All Workflows That a Task Belongs To: Response Properties

Property

UI Field Name

Description

description

Task Description

User-defined description of this workflow.

name

Task Name

Name of this workflow.

sysId

UUID

sys_id used within the Controller to identify this workflow.

version

Version

Version number of this workflow.

vertexId

n/a

Vertex ID of the task within this workflow.

vertexName

n/a

Name (or alias) of the task within this workflow.

List Tasks


Description

URI

http://host_name/uc/resources/task/list

HTTP Method

POST

Description

Retrieves information on tasks matching specific search criteria.

Example URI

http://localhost:8080/uc/resources/task/list

Authentication

HTTP Basic

Consumes Content-Type

application/xml, application/json

Produces Content-Type

application/xml, application/json

Example Request

See List Tasks: XML and JSON Examples.

Request Properties

See List Tasks: Request Properties.

Example Response

See List Tasks: XML and JSON Examples.

List Tasks: XML and JSON Examples

Examples

XML

JSON

Example Request

 XML
<generic-query-filter>
      <name>*</name>
      <type>Timer</type>
      <updatedTimeType>offset</updatedTimeType>
      <updatedTime>-10d</updatedTime>
<agentName>SBUS30 - AGNT0005</agentName> <businessServices>bService1,bService2</businessServices> </generic-query-filter>
or
<generic-query-filter>
      <name>*</name>
<templateId>16467DFG47231012663T2434FSAW342F</templateId> <workflowid>1463438057231012663TP5JP5EA8O1YS</workflowid> </generic-query-filter>
 JSON
All tasks in the last three minutes.
{
      "name": "*",
      "updatedTimeType": "offset",
      "updatedTime": "-3mn",
"agentName": "SBUS30 - AGNT0005" } Or { "name": "*",
"templateId": "b21c68bba02c43919d5a6d6042a3f082" "workflowid": "a21c68bba02c43919d5a6d6042a3f082" }

Example Response

 XML
<tasks>
    <task>
        <description>description</description>
        <name>test task 1</name>
        <sysID>410d6c0bc0a801c901838d8ac43b3279</sysID>
        <type>Windows</type>
        <version>2</version>
    </task>
    <task>
        <description>description</description>
        <name>test task 2</name>
        <sysID>410d6880c0a801c90196685fcc1ecb47</sysID>
        <type>Windows</type>
        <version>9</version>
    </task>
</tasks>
 JSON
[ {
  "description": "Description",
  "name": "test task 1",
  "sysId": "371be743130a4b18a9fc49961650593c",
  "type": "Timer",
  "version": 23
}, {
  "description": "Description",
  "name": "test task 2",
  "sysId": "10d58f96ab2b42e69d7e9bdde2ed21a7",
  "type": "Timer",
  "version": 2
} ]

List Tasks: Request Properties

Property

UI Field Name

Description

Specifications

Required

Mutually Exclusive With

agentName

AgentAgent on which this task was run.
N

businessServices

Member of Business Services

Business Services that this task belongs to.

Comma-separated list.

N


name

Task Name

Name or partial name of one or more tasks.

Wildcards are supported.

N


templateId

n/aID used within the controller to identify a template.If a templateId or templateName is specified, List task returns a list of tasks associated with the Universal template.NtemplateName

templateName

Template NameName of a template.If a templateId or templateName is specified, List task returns a list of tasks associated with the Universal template.NtemplateId

type

n/a

Task Type of tasks to list.

Valid values: One of the following (not case sensitive):

  • As String = Workflow, As Value = 1
  • As String = Timer, As Value = 2
  • As String = Windows, As Value = 3
  • As String = Linux/Unix, As Value = 4
  • As String = z/OS, As Value = 5
  • As String = Agent File Monitor, As Value = 6
  • As String = Manual, As Value = 7
  • As String = Email, As Value = 8
  • As String = File Transfer, As Value = 9
  • As String = SQL, As Value = 10
  • As String = Remote File Monitor, As Value = 11
  • As String = Task Monitor, As Value = 12
  • As String = Stored Procedure, As Value = 13
  • As String = Universal Command, As Value = 14
  • As String = System Monitor, As Value = 15
  • As String = Application Control, As Value = 16
  • As String = SAP, As Value = 17
  • As String = Variable Monitor, As Value = 18
  • As String = Web Service, As Value = 19
  • As String = Email Monitor, As Value = 20
  • As String = PeopleSoft, As Value = 21
  • As String = Recurring, As Value = 22
  • As String = Universal Monitor, As Value = 23
  • As String = Universal, As Value = 99

To list tasks for all task types, enter <type></type> in the request.

N


updatedTime

n/a

If updatedTimeType = Offset; -offset period.

Valid values:

  • mn (minutes)
  • h (hours)
  • d (days)

Default is d.
 
Examples: -5d (last 5 days), -30mn (last 30 minutes), -6h (last 6 hours), -7 (last 7 days).
 
If updatedTimeType is Since; date/time value (yyyy-MM-dd [HH:mm:ss])
 
If updatedTimeType is Today; updatedTime is ignored.
 

Note

The time is relative to the Time Zone specified for the User.

Y
(if updatedTimeType
is Offset, Since,
or Older Than.)


updatedTimeType

n/a

Type of updateTime.

Valid values:

  • As String = Today, As Value = 1
  • As String = Offset, As Value = 2
  • As String = Since, As Value = 3
  • As String = Older Than, As Value = 4

N


workflowid

n/a

ID used within the Controller to identify a workflow.

If workflowid or workflowname is specified, List Tasks returns a list of tasks within that workflow.

N

workflowname

workflowname

Task Name

Name of a workflow.

If workflowid or workflowname is specified, List Tasks returns a list of tasks within that workflow.

N

workflowid


List Tasks - Advanced

List Tasks - Advanced: XML and JSON Examples

The retainSysIds and version properties are specified as attributes in XML.

The exportReleaseLevel and exportTable properties are specified as attributes in XML.

Examples

XML

JSON

Example Response

 XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tasks>
    <taskSleep exportReleaseLevel="7.2.0.0" exportTable="ops_task_sleep" retainSysIds="true" version="1">
        <variables/>
        <notes/>
        <cpDuration />
        <cpDurationUnit>Minutes</cpDurationUnit>
        <customField1/>
        <customField2/>
        <efDayConstraint>None</efDayConstraint>
        <efDuration>00:00:00:00</efDuration>
        <efEnabled>false</efEnabled>
        <efNthAmount>5</efNthAmount>
        <efOffsetDuration />
        <efOffsetDurationUnit>Minutes</efOffsetDurationUnit>
        <efOffsetPercentage>0</efOffsetPercentage>
        <efOffsetType>Percentage</efOffsetType>
        <efTime>00:00</efTime>
        <efType>Time</efType>
        <executionRestriction>None</executionRestriction>
        <firstRun></firstRun>
        <holdResources>false</holdResources>
        <lastRun></lastRun>
        <lfDayConstraint>None</lfDayConstraint>
        <lfDuration>00:00:00:00</lfDuration>
        <lfEnabled>false</lfEnabled>
        <lfNthAmount>5</lfNthAmount>
        <lfOffsetDuration />
        <lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit>
        <lfOffsetPercentage>0</lfOffsetPercentage>
        <lfOffsetType>Percentage</lfOffsetType>
        <lfTime>00:00</lfTime>
        <lfType>Time</lfType>
        <logLevel>Inherited</logLevel>
        <lsDayConstraint>None</lsDayConstraint>
        <lsDuration>00:00:00:00</lsDuration>
        <lsEnabled>false</lsEnabled>
        <lsNthAmount>5</lsNthAmount>
        <lsTime>00:00</lsTime>
        <lsType>Time</lsType>
        <name>Sleep 0</name>
        <actions/>
        <opswiseGroups/>
        <resPriority>10</resPriority>
        <resolveNameImmediately>false</resolveNameImmediately>
        <restrictionPeriod>None</restrictionPeriod>
        <restrictionPeriodAfterDate />
        <restrictionPeriodAfterTime />
        <restrictionPeriodBeforeDate />
        <restrictionPeriodBeforeTime />
        <restrictionPeriodDateList/>
        <runCount>0</runCount>
        <runTime>0</runTime>
        <sleepAmount>0</sleepAmount>
        <sleepDayConstraint>None</sleepDayConstraint>
        <sleepDuration>00:00:00:00</sleepDuration>
        <sleepTime>00:00</sleepTime>
        <sleepType>Seconds</sleepType>
        <startHeld>false</startHeld>
        <startHeldReason />
        <summary>Sleep for 0 seconds.</summary>
        <sysId>410d6c0bc0a801c901838d8ac43b3279</sysId>
        <exclusiveTasks/>
        <virtualResources/>
        <timeZonePref>-- System Default --</timeZonePref>
        <userEstimatedDuration />
    </taskSleep>
    <taskSleep exportReleaseLevel="7.2.0.0" exportTable="ops_task_sleep" retainSysIds="true" version="1">
        <variables/>
        <notes/>
        <cpDuration />
        <cpDurationUnit>Minutes</cpDurationUnit>
        <customField1/>
        <customField2/>
        <efDayConstraint>None</efDayConstraint>
        <efDuration>00:00:00:00</efDuration>
        <efEnabled>false</efEnabled>
        <efNthAmount>5</efNthAmount>
        <efOffsetDuration />
        <efOffsetDurationUnit>Minutes</efOffsetDurationUnit>
        <efOffsetPercentage>0</efOffsetPercentage>
        <efOffsetType>Percentage</efOffsetType>
        <efTime>00:00</efTime>
        <efType>Time</efType>
        <executionRestriction>None</executionRestriction>
        <firstRun></firstRun>
        <holdResources>false</holdResources>
        <lastRun></lastRun>
        <lfDayConstraint>None</lfDayConstraint>
        <lfDuration>00:00:00:00</lfDuration>
        <lfEnabled>false</lfEnabled>
        <lfNthAmount>5</lfNthAmount>
        <lfOffsetDuration />
        <lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit>
        <lfOffsetPercentage>0</lfOffsetPercentage>
        <lfOffsetType>Percentage</lfOffsetType>
        <lfTime>00:00</lfTime>
        <lfType>Time</lfType>
        <logLevel>Inherited</logLevel>
        <lsDayConstraint>None</lsDayConstraint>
        <lsDuration>00:00:00:00</lsDuration>
        <lsEnabled>false</lsEnabled>
        <lsNthAmount>5</lsNthAmount>
        <lsTime>00:00</lsTime>
        <lsType>Time</lsType>
        <name>Sleep 30</name>
        <actions/>
        <opswiseGroups/>
        <resPriority>10</resPriority>
        <resolveNameImmediately>false</resolveNameImmediately>
        <restrictionPeriod>None</restrictionPeriod>
        <restrictionPeriodAfterDate />
        <restrictionPeriodAfterTime />
        <restrictionPeriodBeforeDate />
        <restrictionPeriodBeforeTime />
        <restrictionPeriodDateList/>
        <runCount>0</runCount>
        <runTime>0</runTime>
        <sleepAmount>30</sleepAmount>
        <sleepDayConstraint>None</sleepDayConstraint>
        <sleepDuration>00:00:00:00</sleepDuration>
        <sleepTime>00:00</sleepTime>
        <sleepType>Seconds</sleepType>
        <startHeld>false</startHeld>
        <startHeldReason />
        <summary>Sleep for 30 seconds.</summary>
        <sysId>410d696bc0a801c9017e5dbf756ecbd5</sysId>
        <exclusiveTasks/>
        <virtualResources/>
        <timeZonePref>-- System Default --</timeZonePref>
        <userEstimatedDuration />
    </taskSleep>
    <taskSleep exportReleaseLevel="7.2.0.0" exportTable="ops_task_sleep" retainSysIds="true" version="1">
        <variables/>
        <notes/>
        <cpDuration />
        <cpDurationUnit>Minutes</cpDurationUnit>
        <customField1/>
        <customField2/>
        <efDayConstraint>None</efDayConstraint>
        <efDuration>00:00:00:00</efDuration>
        <efEnabled>false</efEnabled>
        <efNthAmount>5</efNthAmount>
        <efOffsetDuration />
        <efOffsetDurationUnit>Minutes</efOffsetDurationUnit>
        <efOffsetPercentage>0</efOffsetPercentage>
        <efOffsetType>Percentage</efOffsetType>
        <efTime>00:00</efTime>
        <efType>Time</efType>
        <executionRestriction>None</executionRestriction>
        <firstRun></firstRun>
        <holdResources>false</holdResources>
        <lastRun></lastRun>
        <lfDayConstraint>None</lfDayConstraint>
        <lfDuration>00:00:00:00</lfDuration>
        <lfEnabled>false</lfEnabled>
        <lfNthAmount>5</lfNthAmount>
        <lfOffsetDuration />
        <lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit>
        <lfOffsetPercentage>0</lfOffsetPercentage>
        <lfOffsetType>Percentage</lfOffsetType>
        <lfTime>00:00</lfTime>
        <lfType>Time</lfType>
        <logLevel>Inherited</logLevel>
        <lsDayConstraint>None</lsDayConstraint>
        <lsDuration>00:00:00:00</lsDuration>
        <lsEnabled>false</lsEnabled>
        <lsNthAmount>5</lsNthAmount>
        <lsTime>00:00</lsTime>
        <lsType>Time</lsType>
        <name>Sleep 60</name>
        <actions/>
        <opswiseGroups/>
        <resPriority>10</resPriority>
        <resolveNameImmediately>false</resolveNameImmediately>
        <restrictionPeriod>None</restrictionPeriod>
        <restrictionPeriodAfterDate />
        <restrictionPeriodAfterTime />
        <restrictionPeriodBeforeDate />
        <restrictionPeriodBeforeTime />
        <restrictionPeriodDateList/>
        <runCount>0</runCount>
        <runTime>0</runTime>
        <sleepAmount />
        <sleepDayConstraint>None</sleepDayConstraint>
        <sleepDuration>00:00:01:00</sleepDuration>
        <sleepTime>00:00</sleepTime>
        <sleepType>Duration</sleepType>
        <startHeld>false</startHeld>
        <startHeldReason />
        <summary>Sleep for 60 seconds.</summary>
        <sysId>410d6880c0a801c90196685fcc1ecb47</sysId>
        <exclusiveTasks/>
        <virtualResources/>
        <timeZonePref>-- System Default --</timeZonePref>
        <userEstimatedDuration />
    </taskSleep>
    <taskWindows exportReleaseLevel="7.2.0.0" exportTable="ops_task_windows" retainSysIds="true" version="10">
        <variables>
            <variable>
                <description>task test 1</description>
                <name>task_var_1</name>
                <sysId>f7482cdb83264483ae45c372b6f4c284</sysId>
                <value>task 1</value>
            </variable>
            <variable>
                <description>test 2</description>
                <name>task_var_2</name>
                <sysId>bc2e3edd9125433c8dcc00ffc3560fd0</sysId>
                <value>var 2</value>
            </variable>
        </variables>
        <notes/>
        <agent>SBUS30 - AGNT0005</agent>
        <agentCluster />
        <agentClusterVar />
        <agentVar />
        <avgRunTime>0</avgRunTime>
        <avgRunTimeDisplay>0 Seconds</avgRunTimeDisplay>
        <broadcastCluster />
        <broadcastClusterVar />
        <cpDuration />
        <cpDurationUnit>Minutes</cpDurationUnit>
        <credentials />
        <credentialsVar />
        <customField1/>
        <customField2/>
        <efDayConstraint>None</efDayConstraint>
        <efDuration>00:00:00:00</efDuration>
        <efEnabled>false</efEnabled>
        <efNthAmount>5</efNthAmount>
        <efOffsetDuration />
        <efOffsetDurationUnit>Minutes</efOffsetDurationUnit>
        <efOffsetPercentage>0</efOffsetPercentage>
        <efOffsetType>Percentage</efOffsetType>
        <efTime>00:00</efTime>
        <efType>Time</efType>
        <executionRestriction>None</executionRestriction>
        <firstRun>2021-04-19 13:22:20 -0400</firstRun>
        <holdResources>false</holdResources>
        <lastRun>2021-04-28 14:39:56 -0400</lastRun>
        <lastRunTime>0</lastRunTime>
        <lastRunTimeDisplay>0 Seconds</lastRunTimeDisplay>
        <lfDayConstraint>None</lfDayConstraint>
        <lfDuration>00:00:00:00</lfDuration>
        <lfEnabled>false</lfEnabled>
        <lfNthAmount>5</lfNthAmount>
        <lfOffsetDuration />
        <lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit>
        <lfOffsetPercentage>0</lfOffsetPercentage>
        <lfOffsetType>Percentage</lfOffsetType>
        <lfTime>00:00</lfTime>
        <lfType>Time</lfType>
        <logLevel>Inherited</logLevel>
        <lsDayConstraint>None</lsDayConstraint>
        <lsDuration>00:00:00:00</lsDuration>
        <lsEnabled>false</lsEnabled>
        <lsNthAmount>5</lsNthAmount>
        <lsTime>00:00</lsTime>
        <lsType>Time</lsType>
        <maxRunTime>0</maxRunTime>
        <maxRunTimeDisplay>0 Seconds</maxRunTimeDisplay>
        <minRunTime>0</minRunTime>
        <minRunTimeDisplay>0 Seconds</minRunTimeDisplay>
        <name>task-1</name>
        <actions/>
        <opswiseGroups>
            <opswiseGroup>A</opswiseGroup>
            <opswiseGroup>C</opswiseGroup>
        </opswiseGroups>
        <resPriority>10</resPriority>
        <resolveNameImmediately>false</resolveNameImmediately>
        <restrictionPeriod>None</restrictionPeriod>
        <restrictionPeriodAfterDate />
        <restrictionPeriodAfterTime />
        <restrictionPeriodBeforeDate />
        <restrictionPeriodBeforeTime />
        <restrictionPeriodDateList/>
        <retryIndefinitely>false</retryIndefinitely>
        <retryInterval>60</retryInterval>
        <retryMaximum>0</retryMaximum>
        <retrySuppressFailure>false</retrySuppressFailure>
        <runCount>6</runCount>
        <runTime>0</runTime>
        <startHeld>true</startHeld>
        <startHeldReason />
        <summary />
        <sysId>3bf2471eea8f4ec0b765d5ada2c8f02c</sysId>
        <exclusiveTasks/>
        <virtualResources>
            <virtualResource>
                <amount>2</amount>
                <resource>VR-3</resource>
                <resourceVar />
                <sysId>9cc6002db09445cb956454a72523add2</sysId>
            </virtualResource>
            <virtualResource>
                <amount>2</amount>
                <resource>VR-1</resource>
                <resourceVar />
                <sysId>b3b5d664b7b54202a0439361a154b53d</sysId>
            </virtualResource>
        </virtualResources>
        <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 />
        <command>echo</command>
        <commandOrScript>Command</commandOrScript>
        <createConsole>false</createConsole>
        <desktopInteract>false</desktopInteract>
        <elevateUser>false</elevateUser>
        <environment/>
        <exitCodeOutput />
        <exitCodeProcessing>Success Exitcode Range</exitCodeProcessing>
        <exitCodeText />
        <exitCodes>0</exitCodes>
        <outputFailureOnly>false</outputFailureOnly>
        <outputReturnFile />
        <outputReturnNline>100</outputReturnNline>
        <outputReturnSline>1</outputReturnSline>
        <outputReturnText />
        <outputReturnType>NONE</outputReturnType>
        <outputType>STDOUT</outputType>
        <parameters />
        <retryExitCodes />
        <runtimeDir />
        <script />
        <waitForOutput>false</waitForOutput>
    </taskWindows>
    <taskWindows exportReleaseLevel="7.2.0.0" exportTable="ops_task_windows" retainSysIds="true" version="8">
        <variables>
            <variable>
                <description>task test 1</description>
                <name>task_var_1</name>
                <sysId>cfebdc6608cc4df9b2753d42f0e71864</sysId>
                <value>task 1</value>
            </variable>
            <variable>
                <description>test 2</description>
                <name>task_var_2</name>
                <sysId>19493279e1114b06b79bb8e0c00664b5</sysId>
                <value>var 2</value>
            </variable>
        </variables>
        <notes/>
        <agent>SBUS30 - AGNT0005</agent>
        <agentCluster />
        <agentClusterVar />
        <agentVar />
        <avgRunTime>0</avgRunTime>
        <avgRunTimeDisplay>0 Seconds</avgRunTimeDisplay>
        <broadcastCluster />
        <broadcastClusterVar />
        <cpDuration />
        <cpDurationUnit>Minutes</cpDurationUnit>
        <credentials />
        <credentialsVar />
        <customField1/>
        <customField2/>
        <efDayConstraint>None</efDayConstraint>
        <efDuration>00:00:00:00</efDuration>
        <efEnabled>false</efEnabled>
        <efNthAmount>5</efNthAmount>
        <efOffsetDuration />
        <efOffsetDurationUnit>Minutes</efOffsetDurationUnit>
        <efOffsetPercentage>0</efOffsetPercentage>
        <efOffsetType>Percentage</efOffsetType>
        <efTime>00:00</efTime>
        <efType>Time</efType>
        <executionRestriction>None</executionRestriction>
        <firstRun>2021-04-28 13:26:01 -0400</firstRun>
        <holdResources>false</holdResources>
        <lastRun>2021-04-28 14:39:56 -0400</lastRun>
        <lastRunTime>0</lastRunTime>
        <lastRunTimeDisplay>0 Seconds</lastRunTimeDisplay>
        <lfDayConstraint>None</lfDayConstraint>
        <lfDuration>00:00:00:00</lfDuration>
        <lfEnabled>false</lfEnabled>
        <lfNthAmount>5</lfNthAmount>
        <lfOffsetDuration />
        <lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit>
        <lfOffsetPercentage>0</lfOffsetPercentage>
        <lfOffsetType>Percentage</lfOffsetType>
        <lfTime>00:00</lfTime>
        <lfType>Time</lfType>
        <logLevel>Inherited</logLevel>
        <lsDayConstraint>None</lsDayConstraint>
        <lsDuration>00:00:00:00</lsDuration>
        <lsEnabled>false</lsEnabled>
        <lsNthAmount>5</lsNthAmount>
        <lsTime>00:00</lsTime>
        <lsType>Time</lsType>
        <maxRunTime>0</maxRunTime>
        <maxRunTimeDisplay>0 Seconds</maxRunTimeDisplay>
        <minRunTime>0</minRunTime>
        <minRunTimeDisplay>0 Seconds</minRunTimeDisplay>
        <name>task-2</name>
        <actions/>
        <opswiseGroups>
            <opswiseGroup>A</opswiseGroup>
        </opswiseGroups>
        <resPriority>10</resPriority>
        <resolveNameImmediately>false</resolveNameImmediately>
        <restrictionPeriod>None</restrictionPeriod>
        <restrictionPeriodAfterDate />
        <restrictionPeriodAfterTime />
        <restrictionPeriodBeforeDate />
        <restrictionPeriodBeforeTime />
        <restrictionPeriodDateList/>
        <retryIndefinitely>false</retryIndefinitely>
        <retryInterval>60</retryInterval>
        <retryMaximum>0</retryMaximum>
        <retrySuppressFailure>false</retrySuppressFailure>
        <runCount>3</runCount>
        <runTime>0</runTime>
        <startHeld>false</startHeld>
        <startHeldReason />
        <summary />
        <sysId>6d982646fd8348f8af22edcad25c8051</sysId>
        <exclusiveTasks/>
        <virtualResources>
            <virtualResource>
                <amount>2</amount>
                <resource>VR-1</resource>
                <resourceVar />
                <sysId>09e4b42858fb4930b8a13f5b036bac42</sysId>
            </virtualResource>
            <virtualResource>
                <amount>2</amount>
                <resource>VR-2</resource>
                <resourceVar />
                <sysId>86ca6beb4d20490dbea6901515501087</sysId>
            </virtualResource>
            <virtualResource>
                <amount>2</amount>
                <resource>VR-3</resource>
                <resourceVar />
                <sysId>aeaf3ce2b1ad4e9aae92c7d5eb475ab0</sysId>
            </virtualResource>
        </virtualResources>
        <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 />
        <command>echo</command>
        <commandOrScript>Command</commandOrScript>
        <createConsole>false</createConsole>
        <desktopInteract>false</desktopInteract>
        <elevateUser>false</elevateUser>
        <environment/>
        <exitCodeOutput />
        <exitCodeProcessing>Success Exitcode Range</exitCodeProcessing>
        <exitCodeText />
        <exitCodes>0</exitCodes>
        <outputFailureOnly>false</outputFailureOnly>
        <outputReturnFile />
        <outputReturnNline>100</outputReturnNline>
        <outputReturnSline>1</outputReturnSline>
        <outputReturnText />
        <outputReturnType>NONE</outputReturnType>
        <outputType>STDOUT</outputType>
        <parameters />
        <retryExitCodes />
        <runtimeDir />
        <script />
        <waitForOutput>false</waitForOutput>
    </taskWindows>
    <taskUniversal exportReleaseLevel="7.2.0.0" exportTable="ops_task_universal" retainSysIds="true" version="1">
        <variables/>
        <notes/>
        <agent>SBUS30 - AGNT0005</agent>
        <agentCluster />
        <agentClusterVar />
        <agentVar />
        <broadcastCluster />
        <broadcastClusterVar />
        <cpDuration />
        <cpDurationUnit>Minutes</cpDurationUnit>
        <credentials />
        <credentialsVar />
        <customField1/>
        <customField2/>
        <efDayConstraint>None</efDayConstraint>
        <efDuration>00:00:00:00</efDuration>
        <efEnabled>false</efEnabled>
        <efNthAmount>5</efNthAmount>
        <efOffsetDuration />
        <efOffsetDurationUnit>Minutes</efOffsetDurationUnit>
        <efOffsetPercentage>0</efOffsetPercentage>
        <efOffsetType>Percentage</efOffsetType>
        <efTime>00:00</efTime>
        <efType>Time</efType>
        <executionRestriction>None</executionRestriction>
        <firstRun></firstRun>
        <holdResources>false</holdResources>
        <lastRun></lastRun>
        <lfDayConstraint>None</lfDayConstraint>
        <lfDuration>00:00:00:00</lfDuration>
        <lfEnabled>false</lfEnabled>
        <lfNthAmount>5</lfNthAmount>
        <lfOffsetDuration />
        <lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit>
        <lfOffsetPercentage>0</lfOffsetPercentage>
        <lfOffsetType>Percentage</lfOffsetType>
        <lfTime>00:00</lfTime>
        <lfType>Time</lfType>
        <logLevel>Inherited</logLevel>
        <lsDayConstraint>None</lsDayConstraint>
        <lsDuration>00:00:00:00</lsDuration>
        <lsEnabled>false</lsEnabled>
        <lsNthAmount>5</lsNthAmount>
        <lsTime>00:00</lsTime>
        <lsType>Time</lsType>
        <name>uni1-task-1</name>
        <actions/>
        <opswiseGroups/>
        <resPriority>10</resPriority>
        <resolveNameImmediately>false</resolveNameImmediately>
        <restrictionPeriod>None</restrictionPeriod>
        <restrictionPeriodAfterDate />
        <restrictionPeriodAfterTime />
        <restrictionPeriodBeforeDate />
        <restrictionPeriodBeforeTime />
        <restrictionPeriodDateList/>
        <retryIndefinitely>false</retryIndefinitely>
        <retryInterval>60</retryInterval>
        <retryMaximum>0</retryMaximum>
        <retrySuppressFailure>false</retrySuppressFailure>
        <runCount>0</runCount>
        <runTime>0</runTime>
        <startHeld>false</startHeld>
        <startHeldReason />
        <summary />
        <sysId>3ec6a8aa962042e599011536d48d4335</sysId>
        <exclusiveTasks/>
        <virtualResources/>
        <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 />
        <autoCleanup>false</autoCleanup>
        <createConsole>false</createConsole>
        <desktopInteract>false</desktopInteract>
        <elevateUser>false</elevateUser>
        <environment/>
        <exitCodeOutput />
        <exitCodeProcessing>Success Exitcode Range</exitCodeProcessing>
        <exitCodeText />
        <exitCodes>0</exitCodes>
        <outputConditionOperator>=</outputConditionOperator>
        <outputConditionStrategy>Match Any</outputConditionStrategy>
        <outputConditionValue />
        <outputContentType />
        <outputFailureOnly>false</outputFailureOnly>
        <outputPathExpression />
        <outputReturnFile />
        <outputReturnNline>100</outputReturnNline>
        <outputReturnSline>1</outputReturnSline>
        <outputReturnText />
        <outputReturnType>NONE</outputReturnType>
        <outputType>STDOUT</outputType>
        <retryExitCodes />
        <runtimeDir />
        <template>uni-1</template>
        <textField1 name="txt1" label="txt1"/>
        <waitForOutput>false</waitForOutput>
    </taskUniversal>
    <taskUnix exportReleaseLevel="7.2.0.0" exportTable="ops_unix" retainSysIds="true" version="1">
        <variables/>
        <notes/>
        <agent />
        <agentCluster />
        <agentClusterVar />
        <agentVar>${agent_var}</agentVar>
        <broadcastCluster />
        <broadcastClusterVar />
        <cpDuration />
        <cpDurationUnit>Minutes</cpDurationUnit>
        <credentials />
        <credentialsVar />
        <customField1/>
        <customField2/>
        <efDayConstraint>None</efDayConstraint>
        <efDuration>00:00:00:00</efDuration>
        <efEnabled>false</efEnabled>
        <efNthAmount>5</efNthAmount>
        <efOffsetDuration />
        <efOffsetDurationUnit>Minutes</efOffsetDurationUnit>
        <efOffsetPercentage>0</efOffsetPercentage>
        <efOffsetType>Percentage</efOffsetType>
        <efTime>00:00</efTime>
        <efType>Time</efType>
        <executionRestriction>None</executionRestriction>
        <firstRun></firstRun>
        <holdResources>false</holdResources>
        <lastRun></lastRun>
        <lfDayConstraint>None</lfDayConstraint>
        <lfDuration>00:00:00:00</lfDuration>
        <lfEnabled>false</lfEnabled>
        <lfNthAmount>5</lfNthAmount>
        <lfOffsetDuration />
        <lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit>
        <lfOffsetPercentage>0</lfOffsetPercentage>
        <lfOffsetType>Percentage</lfOffsetType>
        <lfTime>00:00</lfTime>
        <lfType>Time</lfType>
        <logLevel>Inherited</logLevel>
        <lsDayConstraint>None</lsDayConstraint>
        <lsDuration>00:00:00:00</lsDuration>
        <lsEnabled>false</lsEnabled>
        <lsNthAmount>5</lsNthAmount>
        <lsTime>00:00</lsTime>
        <lsType>Time</lsType>
        <name>unix-task-1</name>
        <actions/>
        <opswiseGroups>
            <opswiseGroup>A</opswiseGroup>
        </opswiseGroups>
        <resPriority>10</resPriority>
        <resolveNameImmediately>false</resolveNameImmediately>
        <restrictionPeriod>None</restrictionPeriod>
        <restrictionPeriodAfterDate />
        <restrictionPeriodAfterTime />
        <restrictionPeriodBeforeDate />
        <restrictionPeriodBeforeTime />
        <restrictionPeriodDateList/>
        <retryIndefinitely>false</retryIndefinitely>
        <retryInterval>60</retryInterval>
        <retryMaximum>0</retryMaximum>
        <retrySuppressFailure>false</retrySuppressFailure>
        <runCount>0</runCount>
        <runTime>0</runTime>
        <startHeld>false</startHeld>
        <startHeldReason />
        <summary />
        <sysId>4b1fb4c2a8e5427290022411aea206f5</sysId>
        <exclusiveTasks/>
        <virtualResources/>
        <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 />
        <command>echo</command>
        <commandOrScript>Command</commandOrScript>
        <environment/>
        <exitCodeOutput />
        <exitCodeProcessing>Success Exitcode Range</exitCodeProcessing>
        <exitCodeText />
        <exitCodes>0</exitCodes>
        <outputFailureOnly>false</outputFailureOnly>
        <outputReturnFile />
        <outputReturnNline>100</outputReturnNline>
        <outputReturnSline>1</outputReturnSline>
        <outputReturnText />
        <outputReturnType>NONE</outputReturnType>
        <outputType>STDOUT</outputType>
        <parameters />
        <retryExitCodes />
        <runAsSudo>false</runAsSudo>
        <runtimeDir />
        <script />
        <waitForOutput>false</waitForOutput>
    </taskUnix>
    <taskWorkflow exportReleaseLevel="7.2.0.0" exportTable="ops_task_workflow" retainSysIds="true" version="2">
        <variables/>
        <notes/>
        <stepConditions/>
        <stepActions/>
        <runCriteria/>
        <workflowVertices>
            <workflowVertex>
                <alias />
                <task>task-1</task>
                <vertexId>2</vertexId>
                <vertexX>110</vertexX>
                <vertexY>80</vertexY>
            </workflowVertex>
            <workflowVertex>
                <alias />
                <task>Sleep 30</task>
                <vertexId>3</vertexId>
                <vertexX>270</vertexX>
                <vertexY>70</vertexY>
            </workflowVertex>
            <workflowVertex>
                <alias />
                <task>task-2</task>
                <vertexId>7</vertexId>
                <vertexX>290</vertexX>
                <vertexY>220</vertexY>
            </workflowVertex>
            <workflowVertex>
                <alias />
                <task>Sleep 60</task>
                <vertexId>9</vertexId>
                <vertexX>140</vertexX>
                <vertexY>260</vertexY>
            </workflowVertex>
        </workflowVertices>
        <workflowEdges>
            <workflowEdge>
                <condition>Success</condition>
                <sourceId taskName="task-1">2</sourceId>
                <straightEdge>true</straightEdge>
                <targetId taskName="Sleep 30">3</targetId>
            </workflowEdge>
            <workflowEdge>
                <condition>Success</condition>
                <sourceId taskName="Sleep 30">3</sourceId>
                <straightEdge>true</straightEdge>
                <targetId taskName="task-2">7</targetId>
            </workflowEdge>
            <workflowEdge>
                <condition>Success</condition>
                <sourceId taskName="task-2">7</sourceId>
                <straightEdge>true</straightEdge>
                <targetId taskName="Sleep 60">9</targetId>
            </workflowEdge>
        </workflowEdges>
        <calculateCp>false</calculateCp>
        <calendar />
        <cpDuration />
        <cpDurationUnit>Minutes</cpDurationUnit>
        <customField1/>
        <customField2/>
        <efDayConstraint>None</efDayConstraint>
        <efDuration>00:00:00:00</efDuration>
        <efEnabled>false</efEnabled>
        <efNthAmount>5</efNthAmount>
        <efOffsetDuration />
        <efOffsetDurationUnit>Minutes</efOffsetDurationUnit>
        <efOffsetPercentage>0</efOffsetPercentage>
        <efOffsetType>Percentage</efOffsetType>
        <efTime>00:00</efTime>
        <efType>Time</efType>
        <executionRestriction>None</executionRestriction>
        <firstRun></firstRun>
        <holdResources>false</holdResources>
        <lastRun></lastRun>
        <layoutOption>-- None --</layoutOption>
        <lfDayConstraint>None</lfDayConstraint>
        <lfDuration>00:00:00:00</lfDuration>
        <lfEnabled>false</lfEnabled>
        <lfNthAmount>5</lfNthAmount>
        <lfOffsetDuration />
        <lfOffsetDurationUnit>Minutes</lfOffsetDurationUnit>
        <lfOffsetPercentage>0</lfOffsetPercentage>
        <lfOffsetType>Percentage</lfOffsetType>
        <lfTime>00:00</lfTime>
        <lfType>Time</lfType>
        <logLevel>Inherited</logLevel>
        <lsDayConstraint>None</lsDayConstraint>
        <lsDuration>00:00:00:00</lsDuration>
        <lsEnabled>false</lsEnabled>
        <lsNthAmount>5</lsNthAmount>
        <lsTime>00:00</lsTime>
        <lsType>Time</lsType>
        <name>work-task-1</name>
        <actions/>
        <numberOfTasks>4</numberOfTasks>
        <opswiseGroups>
            <opswiseGroup>A</opswiseGroup>
            <opswiseGroup>B</opswiseGroup>
        </opswiseGroups>
        <overrideCalendar>false</overrideCalendar>
        <resPriority>5</resPriority>
        <resolveNameImmediately>true</resolveNameImmediately>
        <restrictionPeriod>None</restrictionPeriod>
        <restrictionPeriodAfterDate />
        <restrictionPeriodAfterTime />
        <restrictionPeriodBeforeDate />
        <restrictionPeriodBeforeTime />
        <restrictionPeriodDateList/>
        <runCount>0</runCount>
        <runTime>0</runTime>
        <skippedOption>Show Skipped</skippedOption>
        <startHeld>false</startHeld>
        <startHeldReason />
        <summary>Workflow 1</summary>
        <sysId>846157d645fe4f989a03483685c91a08</sysId>
        <exclusiveTasks/>
        <virtualResources/>
        <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 />
    </taskWorkflow>
</tasks>


 JSON
[
    {
        "type": "taskSleep",
        "actions": {
            "abortActions": [],
            "emailNotifications": [],
            "setVariableActions": [],
            "snmpNotifications": [],
            "systemOperations": []
        },
        "cpDuration": null,
        "cpDurationUnit": "Minutes",
        "customField1": {
            "label": null,
            "value": null
        },
        "customField2": {
            "label": null,
            "value": null
        },
        "efDayConstraint": "None",
        "efDuration": "00:00:00:00",
        "efEnabled": false,
        "efNthAmount": 5,
        "efOffsetDuration": null,
        "efOffsetDurationUnit": "Minutes",
        "efOffsetPercentage": 0,
        "efOffsetType": "Percentage",
        "efTime": "00:00",
        "efType": "Time",
        "exclusiveTasks": [],
        "executionRestriction": "None",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_task_sleep", "firstRun": "", "holdResources": false, "lastRun": "", "lfDayConstraint": "None", "lfDuration": "00:00:00:00", "lfEnabled": false, "lfNthAmount": 5, "lfOffsetDuration": null, "lfOffsetDurationUnit": "Minutes", "lfOffsetPercentage": 0, "lfOffsetType": "Percentage", "lfTime": "00:00", "lfType": "Time", "logLevel": "Inherited", "lsDayConstraint": "None", "lsDuration": "00:00:00:00", "lsEnabled": false, "lsNthAmount": 5, "lsTime": "00:00", "lsType": "Time", "name": "Sleep 0", "notes": [], "opswiseGroups": [], "resPriority": 10, "resolveNameImmediately": false, "restrictionPeriod": "None", "restrictionPeriodAfterDate": null, "restrictionPeriodAfterTime": null, "restrictionPeriodBeforeDate": null, "restrictionPeriodBeforeTime": null, "restrictionPeriodDateList": [], "retainSysIds": true, "runCount": 0, "runTime": 0, "sleepAmount": "0", "sleepDayConstraint": "None", "sleepDuration": "00:00:00:00", "sleepTime": "00:00", "sleepType": "Seconds", "startHeld": false, "startHeldReason": null, "summary": "Sleep for 0 seconds.", "sysId": "410d6c0bc0a801c901838d8ac43b3279", "timeZonePref": "-- System Default --", "userEstimatedDuration": null, "variables": [], "version": 1, "virtualResources": [] }, { "type": "taskWindows", "actions": { "abortActions": [], "emailNotifications": [], "setVariableActions": [], "snmpNotifications": [], "systemOperations": [] }, "agent": "SBUS30 - AGNT0005", "agentCluster": null, "agentClusterVar": null, "agentVar": null, "avgRunTime": 0, "avgRunTimeDisplay": "0 Seconds", "broadcastCluster": null, "broadcastClusterVar": null, "command": "echo", "commandOrScript": "Command", "cpDuration": null, "cpDurationUnit": "Minutes", "createConsole": false, "credentials": null, "credentialsVar": null, "customField1": { "label": null, "value": null }, "customField2": { "label": null, "value": null }, "desktopInteract": false,
"efDayConstraint": "None", "efDuration": "00:00:00:00", "efEnabled": false, "efNthAmount": 5, "efOffsetDuration": null, "efOffsetDurationUnit": "Minutes", "efOffsetPercentage": 0, "efOffsetType": "Percentage", "efTime": "00:00", "efType": "Time", "elevateUser": false, "environment": [], "exclusiveTasks": [], "executionRestriction": "None", "exitCodeOutput": null, "exitCodeProcessing": "Success Exitcode Range", "exitCodeText": null, "exitCodes": "0",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_task_windows", "firstRun": "2021-04-19 13:22:20 -0400", "holdResources": false, "lastRun": "2021-04-28 14:39:56 -0400", "lastRunTime": 0, "lastRunTimeDisplay": "0 Seconds", "lfDayConstraint": "None", "lfDuration": "00:00:00:00", "lfEnabled": false, "lfNthAmount": 5, "lfOffsetDuration": null, "lfOffsetDurationUnit": "Minutes", "lfOffsetPercentage": 0, "lfOffsetType": "Percentage", "lfTime": "00:00", "lfType": "Time", "logLevel": "Inherited", "lsDayConstraint": "None", "lsDuration": "00:00:00:00", "lsEnabled": false, "lsNthAmount": 5, "lsTime": "00:00", "lsType": "Time", "maxRunTime": 0, "maxRunTimeDisplay": "0 Seconds", "minRunTime": 0, "minRunTimeDisplay": "0 Seconds", "name": "task-1", "notes": [], "opswiseGroups": [ "A", "C" ], "outputFailureOnly": false, "outputReturnFile": null, "outputReturnNline": "100", "outputReturnSline": "1", "outputReturnText": null, "outputReturnType": "NONE", "outputType": "STDOUT", "parameters": null, "resPriority": 10, "resolveNameImmediately": false, "restrictionPeriod": "None", "restrictionPeriodAfterDate": null, "restrictionPeriodAfterTime": null, "restrictionPeriodBeforeDate": null, "restrictionPeriodBeforeTime": null, "restrictionPeriodDateList": [], "retainSysIds": true, "retryExitCodes": null, "retryIndefinitely": false, "retryInterval": 60, "retryMaximum": 0, "retrySuppressFailure": false, "runCount": 6, "runTime": 0, "runtimeDir": null, "script": null, "startHeld": true, "startHeldReason": null, "summary": null, "sysId": "3bf2471eea8f4ec0b765d5ada2c8f02c", "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": [ { "description": "task test 1", "name": "task_var_1", "sysId": "f7482cdb83264483ae45c372b6f4c284", "value": "task 1" }, { "description": "test 2", "name": "task_var_2", "sysId": "bc2e3edd9125433c8dcc00ffc3560fd0", "value": "var 2" } ], "version": 10, "virtualResources": [ { "amount": 2, "resource": "VR-3", "resourceVar": null, "sysId": "9cc6002db09445cb956454a72523add2" }, { "amount": 2, "resource": "VR-1", "resourceVar": null, "sysId": "b3b5d664b7b54202a0439361a154b53d" } ], "waitForOutput": false }, { "type": "taskWindows", "actions": { "abortActions": [], "emailNotifications": [], "setVariableActions": [], "snmpNotifications": [], "systemOperations": [] }, "agent": "SBUS30 - AGNT0005", "agentCluster": null, "agentClusterVar": null, "agentVar": null, "avgRunTime": 0, "avgRunTimeDisplay": "0 Seconds", "broadcastCluster": null, "broadcastClusterVar": null, "command": "echo", "commandOrScript": "Command", "cpDuration": null, "cpDurationUnit": "Minutes", "createConsole": false, "credentials": null, "credentialsVar": null, "customField1": { "label": null, "value": null }, "customField2": { "label": null, "value": null }, "desktopInteract": false,
"efDayConstraint": "None", "efDuration": "00:00:00:00", "efEnabled": false, "efNthAmount": 5, "efOffsetDuration": null, "efOffsetDurationUnit": "Minutes", "efOffsetPercentage": 0, "efOffsetType": "Percentage", "efTime": "00:00", "efType": "Time", "elevateUser": false, "environment": [], "exclusiveTasks": [], "executionRestriction": "None", "exitCodeOutput": null, "exitCodeProcessing": "Success Exitcode Range", "exitCodeText": null, "exitCodes": "0",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_task_windows", "firstRun": "2021-04-28 13:26:01 -0400", "holdResources": false, "lastRun": "2021-04-28 14:39:56 -0400", "lastRunTime": 0, "lastRunTimeDisplay": "0 Seconds", "lfDayConstraint": "None", "lfDuration": "00:00:00:00", "lfEnabled": false, "lfNthAmount": 5, "lfOffsetDuration": null, "lfOffsetDurationUnit": "Minutes", "lfOffsetPercentage": 0, "lfOffsetType": "Percentage", "lfTime": "00:00", "lfType": "Time", "logLevel": "Inherited", "lsDayConstraint": "None", "lsDuration": "00:00:00:00", "lsEnabled": false, "lsNthAmount": 5, "lsTime": "00:00", "lsType": "Time", "maxRunTime": 0, "maxRunTimeDisplay": "0 Seconds", "minRunTime": 0, "minRunTimeDisplay": "0 Seconds", "name": "task-2", "notes": [], "opswiseGroups": [ "A" ], "outputFailureOnly": false, "outputReturnFile": null, "outputReturnNline": "100", "outputReturnSline": "1", "outputReturnText": null, "outputReturnType": "NONE", "outputType": "STDOUT", "parameters": null, "resPriority": 10, "resolveNameImmediately": false, "restrictionPeriod": "None", "restrictionPeriodAfterDate": null, "restrictionPeriodAfterTime": null, "restrictionPeriodBeforeDate": null, "restrictionPeriodBeforeTime": null, "restrictionPeriodDateList": [], "retainSysIds": true, "retryExitCodes": null, "retryIndefinitely": false, "retryInterval": 60, "retryMaximum": 0, "retrySuppressFailure": false, "runCount": 3, "runTime": 0, "runtimeDir": null, "script": null, "startHeld": false, "startHeldReason": null, "summary": null, "sysId": "6d982646fd8348f8af22edcad25c8051", "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": [ { "description": "task test 1", "name": "task_var_1", "sysId": "cfebdc6608cc4df9b2753d42f0e71864", "value": "task 1" }, { "description": "test 2", "name": "task_var_2", "sysId": "19493279e1114b06b79bb8e0c00664b5", "value": "var 2" } ], "version": 8, "virtualResources": [ { "amount": 2, "resource": "VR-1", "resourceVar": null, "sysId": "09e4b42858fb4930b8a13f5b036bac42" }, { "amount": 2, "resource": "VR-2", "resourceVar": null, "sysId": "86ca6beb4d20490dbea6901515501087" }, { "amount": 2, "resource": "VR-3", "resourceVar": null, "sysId": "aeaf3ce2b1ad4e9aae92c7d5eb475ab0" } ], "waitForOutput": false }, { "type": "taskUniversal", "actions": { "abortActions": [], "emailNotifications": [], "setVariableActions": [], "snmpNotifications": [], "systemOperations": [] }, "agent": "SBUS30 - AGNT0005", "agentCluster": null, "agentClusterVar": null, "agentVar": null, "autoCleanup": false, "broadcastCluster": null, "broadcastClusterVar": null, "cpDuration": null, "cpDurationUnit": "Minutes", "createConsole": false, "credentials": null, "credentialsVar": null, "customField1": { "label": null, "value": null }, "customField2": { "label": null, "value": null }, "desktopInteract": false,
"efDayConstraint": "None", "efDuration": "00:00:00:00", "efEnabled": false, "efNthAmount": 5, "efOffsetDuration": null, "efOffsetDurationUnit": "Minutes", "efOffsetPercentage": 0, "efOffsetType": "Percentage", "efTime": "00:00", "efType": "Time", "elevateUser": false, "environment": [], "exclusiveTasks": [], "executionRestriction": "None", "exitCodeOutput": null, "exitCodeProcessing": "Success Exitcode Range", "exitCodeText": null, "exitCodes": "0",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_task_universal", "firstRun": "", "holdResources": false, "lastRun": "", "lfDayConstraint": "None", "lfDuration": "00:00:00:00", "lfEnabled": false, "lfNthAmount": 5, "lfOffsetDuration": null, "lfOffsetDurationUnit": "Minutes", "lfOffsetPercentage": 0, "lfOffsetType": "Percentage", "lfTime": "00:00", "lfType": "Time", "logLevel": "Inherited", "lsDayConstraint": "None", "lsDuration": "00:00:00:00", "lsEnabled": false, "lsNthAmount": 5, "lsTime": "00:00", "lsType": "Time", "name": "uni1-task-1", "notes": [], "opswiseGroups": [], "outputConditionOperator": "=", "outputConditionStrategy": "Match Any", "outputConditionValue": null, "outputContentType": null, "outputFailureOnly": false, "outputPathExpression": null, "outputReturnFile": null, "outputReturnNline": "100", "outputReturnSline": "1", "outputReturnText": null, "outputReturnType": "NONE", "outputType": "STDOUT", "resPriority": 10, "resolveNameImmediately": false, "restrictionPeriod": "None", "restrictionPeriodAfterDate": null, "restrictionPeriodAfterTime": null, "restrictionPeriodBeforeDate": null, "restrictionPeriodBeforeTime": null, "restrictionPeriodDateList": [], "retainSysIds": true, "retryExitCodes": null, "retryIndefinitely": false, "retryInterval": 60, "retryMaximum": 0, "retrySuppressFailure": false, "runCount": 0, "runTime": 0, "runtimeDir": null, "startHeld": false, "startHeldReason": null, "summary": null, "sysId": "3ec6a8aa962042e599011536d48d4335", "template": "uni-1", "textField1": { "label": "txt1", "name": "txt1", "value": null }, "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": [], "waitForOutput": false }, { "type": "taskUnix", "actions": { "abortActions": [], "emailNotifications": [], "setVariableActions": [], "snmpNotifications": [], "systemOperations": [] }, "agent": null, "agentCluster": null, "agentClusterVar": null, "agentVar": "${agent_var}", "broadcastCluster": null, "broadcastClusterVar": null, "command": "echo", "commandOrScript": "Command", "cpDuration": null, "cpDurationUnit": "Minutes", "credentials": null, "credentialsVar": null, "customField1": { "label": null, "value": null }, "customField2": { "label": null, "value": null },
"efDayConstraint": "None", "efDuration": "00:00:00:00", "efEnabled": false, "efNthAmount": 5, "efOffsetDuration": null, "efOffsetDurationUnit": "Minutes", "efOffsetPercentage": 0, "efOffsetType": "Percentage", "efTime": "00:00", "efType": "Time", "environment": [], "exclusiveTasks": [], "executionRestriction": "None", "exitCodeOutput": null, "exitCodeProcessing": "Success Exitcode Range", "exitCodeText": null, "exitCodes": "0",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_task_unix", "firstRun": "", "holdResources": false, "lastRun": "", "lfDayConstraint": "None", "lfDuration": "00:00:00:00", "lfEnabled": false, "lfNthAmount": 5, "lfOffsetDuration": null, "lfOffsetDurationUnit": "Minutes", "lfOffsetPercentage": 0, "lfOffsetType": "Percentage", "lfTime": "00:00", "lfType": "Time", "logLevel": "Inherited", "lsDayConstraint": "None", "lsDuration": "00:00:00:00", "lsEnabled": false, "lsNthAmount": 5, "lsTime": "00:00", "lsType": "Time", "name": "unix-task-1", "notes": [], "opswiseGroups": [ "A" ], "outputFailureOnly": false, "outputReturnFile": null, "outputReturnNline": "100", "outputReturnSline": "1", "outputReturnText": null, "outputReturnType": "NONE", "outputType": "STDOUT", "parameters": null, "resPriority": 10, "resolveNameImmediately": false, "restrictionPeriod": "None", "restrictionPeriodAfterDate": null, "restrictionPeriodAfterTime": null, "restrictionPeriodBeforeDate": null, "restrictionPeriodBeforeTime": null, "restrictionPeriodDateList": [], "retainSysIds": true, "retryExitCodes": null, "retryIndefinitely": false, "retryInterval": 60, "retryMaximum": 0, "retrySuppressFailure": false, "runAsSudo": false, "runCount": 0, "runTime": 0, "runtimeDir": null, "script": null, "startHeld": false, "startHeldReason": null, "summary": null, "sysId": "4b1fb4c2a8e5427290022411aea206f5", "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": [], "waitForOutput": false }, { "type": "taskWorkflow", "actions": { "abortActions": [], "emailNotifications": [], "setVariableActions": [], "snmpNotifications": [], "systemOperations": [] }, "calculateCp": false, "calendar": null, "cpDuration": null, "cpDurationUnit": "Minutes", "customField1": { "label": null, "value": null }, "customField2": { "label": null, "value": null }, "efDayConstraint": "None", "efDuration": "00:00:00:00", "efEnabled": false, "efNthAmount": 5, "efOffsetDuration": null, "efOffsetDurationUnit": "Minutes", "efOffsetPercentage": 0, "efOffsetType": "Percentage", "efTime": "00:00", "efType": "Time", "exclusiveTasks": [], "executionRestriction": "None",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_task_workflow", "firstRun": "", "holdResources": false, "lastRun": "", "layoutOption": "-- None --", "lfDayConstraint": "None", "lfDuration": "00:00:00:00", "lfEnabled": false, "lfNthAmount": 5, "lfOffsetDuration": null, "lfOffsetDurationUnit": "Minutes", "lfOffsetPercentage": 0, "lfOffsetType": "Percentage", "lfTime": "00:00", "lfType": "Time", "logLevel": "Inherited", "lsDayConstraint": "None", "lsDuration": "00:00:00:00", "lsEnabled": false, "lsNthAmount": 5, "lsTime": "00:00", "lsType": "Time", "name": "work-task-1", "notes": [], "numberOfTasks": 4, "opswiseGroups": [ "A", "B" ], "overrideCalendar": false, "resPriority": 5, "resolveNameImmediately": true, "restrictionPeriod": "None", "restrictionPeriodAfterDate": null, "restrictionPeriodAfterTime": null, "restrictionPeriodBeforeDate": null, "restrictionPeriodBeforeTime": null, "restrictionPeriodDateList": [], "retainSysIds": true, "runCount": 0, "runCriteria": [], "runTime": 0, "skippedOption": "Show Skipped", "startHeld": false, "startHeldReason": null, "stepActions": [], "stepConditions": [], "summary": "Workflow 1", "sysId": "846157d645fe4f989a03483685c91a08", "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": 2, "virtualResources": [], "workflowEdges": [ { "condition": { "value": "Success" }, "sourceId": { "taskName": "task-1", "value": "2" }, "straightEdge": true, "targetId": { "taskName": "Sleep 30", "value": "3" } }, { "condition": { "value": "Success" }, "sourceId": { "taskName": "Sleep 30", "value": "3" }, "straightEdge": true, "targetId": { "taskName": "task-2", "value": "7" } }, { "condition": { "value": "Success" }, "sourceId": { "taskName": "task-2", "value": "7" }, "straightEdge": true, "targetId": { "taskName": "Sleep 60", "value": "9" } } ], "workflowVertices": [ { "alias": null, "task": { "value": "task-1" }, "vertexId": "2", "vertexX": "110", "vertexY": "80" }, { "alias": null, "task": { "value": "Sleep 30" }, "vertexId": "3", "vertexX": "270", "vertexY": "70" }, { "alias": null, "task": { "value": "task-2" }, "vertexId": "7", "vertexX": "290", "vertexY": "220" }, { "alias": null, "task": { "value": "Sleep 60" }, "vertexId": "9", "vertexX": "140", "vertexY": "260" } ] } ]


List Tasks - Advanced: URI Properties

Property

UI Field Name

Description

Specifications

Required

Mutually Exclusive With

agentname

AgentAgent on which this task was run.
N

businessServices

Member of Business Services

Business Services that this task belongs to.

Comma-separated list.

N


taskname

Task Name

Name or partial name of one or more tasks.

/wiki/spaces/UC71x/pages/5215217 are supported.

N


templateId

n/aID used within the controller to identify a template.If a templateId or templateName is specified, List task returns a list of tasks associated with the Universal template.NtemplateName

templateName

Template NameName of a template.If a templateId or templateName is specified, List task returns a list of tasks associated with the Universal template.NtemplateId

type

n/a

Task Type of tasks to list.

Valid values: One of the following (not case sensitive):

  • As String = Workflow, As Value = 1
  • As String = Timer, As Value = 2
  • As String = Windows, As Value = 3
  • As String = Linux/Unix, As Value = 4
  • As String = z/OS, As Value = 5
  • As String = Agent File Monitor, As Value = 6
  • As String = Manual, As Value = 7
  • As String = Email, As Value = 8
  • As String = File Transfer, As Value = 9
  • As String = SQL, As Value = 10
  • As String = Remote File Monitor, As Value = 11
  • As String = Task Monitor, As Value = 12
  • As String = Stored Procedure, As Value = 13
  • As String = Universal Command, As Value = 14
  • As String = System Monitor, As Value = 15
  • As String = Application Control, As Value = 16
  • As String = SAP, As Value = 17
  • As String = Variable Monitor, As Value = 18
  • As String = Web Service, As Value = 19
  • As String = Email Monitor, As Value = 20
  • As String = PeopleSoft, As Value = 21
  • As String = Recurring, As Value = 22
  • As String = Universal Monitor, As Value = 23
  • As String = Universal, As Value = 99

To list tasks for all task types, enter <type></type> in the request.

N


updatedTime

n/a

If updatedTimeType = Offset; -offset period.

Valid values:

  • mn (minutes)
  • h (hours)
  • d (days)

Default is d.
 
Examples: -5d (last 5 days), -30mn (last 30 minutes), -6h (last 6 hours), -7 (last 7 days

  • If updatedTimeType is Since; date/time value (yyyy-MM-dd [HH:mm:ss])
  • If updatedTimeType is Today; updatedTime is ignored.
     

Note

The time is relative to the Time Zone specified for the User.

Y
(if updatedTimeType
is Offset, Since,
or Older Than.)


updatedTimeType

n/a

Type of updateTime.

Valid values:

  • As String = Today, As Value = 1
  • As String = Offset, As Value = 2
  • As String = Since, As Value = 3
  • As String = Older Than, As Value = 4

N


workflowid

n/a

ID used within the Controller to identify a workflow.

If workflowid or workflowname is specified, List Tasks returns a list of tasks within that workflow.

N

workflowname

workflowname

Task Name

Name of a workflow.

If workflowid or workflowname is specified, List Tasks returns a list of tasks within that workflow.

N

workflowid