Versions Compared

Key

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

...


Description

URI

http://host_name/uc/resources/trigger

HTTP Method

GET

Description

Retrieves information for the specified trigger

URI Parameters

See Read a Time Trigger: URI Parameters, below.

Example URI

Consumes Content-Type

n/a

Produces Content-Type

application/xml, application/json

Trigger Properties

Trigger-Related Record Properties

Example Response

...

Anchor
Time Trigger XML and JSON Examples
Time Trigger XML and JSON Examples
Time Trigger: XML and JSON Examples

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


Examples

XML

JSON

Example for Trigger

>Saturday1<
>
<dateNoun>Saturday</dateNoun>
</dateNouns>
<dateQualifiers
>Year<
>2021
>2021-03-03 12:46:11 -
0500<

<
>2021
>2021-03-04 00:00:00 -
0500<
<restrictionNoun>Day</restrictionNoun>
       <restrictionNouns>
<restrictionNoun>Day</restrictionNoun>
</restrictionNouns>
<restrictionNthAmount />
<restrictionQualifier>Year</restrictionQualifier
<
<
       <sysId>0fc6b7d9c0a801c9017b6c27c259937e</sysId>
<tasks>
<task>Sleep 30</task>
</tasks>
<thu>false</thu>
<time>00:00</time>
<timeInterval />
<timeIntervalUnits>Hours</timeIntervalUnits>
<timeStyle>Absolute</timeStyle>
<timeZone />
<tue>false</tue>
<wed>false</wed>
</triggerTime>



Expand
titleJSON
{
  "type": "triggerTime",
  "action": "Do Not Trigger",
"adjustInterval": true,
"adjustmentAmount": 1,
"adjustmentType": "Day", "calendar": "System Default", "dateAdjective": "Every",
"dateAdjustment": "None",
"dateNouns": {
"value": "
Saturday1
Saturday" 
},
"dateQualifiers": {
"value": "Year"
},
"dayInterval": 2,
"dayStyle": "Complex", "description": null,
"disabledBy": "",
"disabledTime": "",
"enabled": true,
"enabledBy": "ops.admin",

"enabledTime": "2021-03-03 12:46:11 -0500",
"enabledEnd": "00:00",
"enabledStart": "00:00",

"forecast:
 
false,
 

fri: false
: "7.2.0.0",
"exportTable": "ops_trigger_fm",
"forecast: false,
"fri: false,
"intervalStartingDate": null,
"mon: false,
"name": "test special day",
"nextScheduledTime": "2021-03-04 00:00:00 -0500",

 "notes": [],
"opswiseGroups": [ ],
"rdExcludeBackup": true,
"restrictedTimes": false,
"restriction": false,
"restrictionAdjective": "Every",
"restrictionComplex": false,
"restrictionMode": "Or",
"
restrictionNoun
restrictionNouns": [
{
"value": "Day"
}
],

"restrictionQualifier":
 
{
 "
value
"Year" },
[
{
"value": "Year"
}
],
"restrictionSimple": false,
"retainSysIds": true,
"retentionDuration": 1,
"retentionDurationPurge": true,
"retentionDurationUnit": "Days",
"sat: false,
"simpleDateType": "Daily",
"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",
"startTimeEnable": false,
"startingAt": "*:00",
"sun: false,
"sysId": "9c659c9c2c72460c9a2057663257b0be",
"tasks": [ "Sleep 30" ],
"thu: false,
"time": "00:00",
"timeInterval": null,
"timeIntervalUnits": "Hours",
"timeStyle": "Absolute",
"timeZone": null,
"tue: false,
"variables": [ ],
"version": 1
"wed: false,
}


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

...

restrictionNthAmountrestrictionQualifier

Used with restrictionAdjectiverestrictionQualifiers, and restrictionNthAmount (if restrictionAdjective is Nth) to specify the type of days you want to select. For example, to specify "the 1st business day of the month," select restrictionAdjective as 1st, restrictionNouns as Business Day, and restrictionQualifiers as Month.

Example:

Property

UI Field Name

Description

Specifications

Required

Anchor
action - All
action - All
action

Action

For all trigger types except Manual and Temporary; Action to take on a non-business day or holiday (see situation).

Valid values:Default is

  • As String = Do Not Trigger
(1).
 
  • , As Value = 1
  • As String = Next Day, As Value = 2
  • As String = Next Business Day, As Value = 3
  • As String = Previous Day, As Value = 4
  • As String = Previous Business Day, As Value = 5

Default is Do Not Trigger (1).
 

Note
titleNote

The following values are valid only for Cron and Time triggers:

  • Next Day (2)
  • Next Business Day (3)
  • Previous Day (4)
  • Previous Business Day (5)


Y
(if restriction
is true)

Anchor
calendar - All
calendar - All
calendar

Calendar

Calendar that defines the business days, holidays, and other special days that determine the run dates for the task(s) specified in the trigger.
 
The Calendar will be used to verify any Custom Day references in restrictionNoun and dateNoun.

Default is System Default.

Y

Anchor
customField1 - All
customField1 - All
customField1

n/a

User-Defined field.
 
Example: <customField1 label="Domain">web.com</customField1>

The label is included only if a value has been defined for the User Defined Trigger Field 1 Label Universal Controller system property.

N

Anchor
customField2 - All
customField2 - All
customField2

n/a

User-Defined field.
 
Example: <customField2 label="Domain">web.com</customField2>

The label is included only if a value has been defined for the User Defined Trigger Field 2 Label Universal Controller system property.

N

Anchor
description - All
description - All
description

Description

Description of this trigger.


N

Anchor
disabledBy - All
disabledBy - All
disabledBy

Disabled BySystem-supplied. If Status = Enabled, ID of the user who most recently disabled this trigger.Read-only.N

Anchor
disabledTime - All
disabledTime - All
disabledTime

Disabled TimeSystem-supplied. If Status = Enabled, Date and time that the trigger was disabled.Read-only.N

Anchor
enabled - All
enabled - All
enabled

Status

System-defined; Specification for whether or nor the trigger is enabled. Only enabled triggers are processed by the Controller.

Read-only.N

Anchor
enabledBy - All
enabledBy - All
enabledBy

Enabled By

System-supplied. If Status = Enabled, ID of the user who most recently enabled this trigger.

Read-only.N

Anchor
enabledTime - All
enabledTime - All
enabledTime

Enabled Time

System-supplied. If Status = Enabled, Date and time that the trigger was enabled.

Read-only.N

Anchor
excludeRelated - All
excludeRelated - All
excludeRelated

n/a

For Modify Trigger web services; specification for whether or not to exclude related records from the update, even if they are provided in the request.
 

Note
titleNote

In XML web services, excludeRelated is specified as an attribute in the <trigger> element.


Valid values: true/false (default is false).

N

Anchor
forecast exportReleaseLevel - Allforecast
exportReleaseLevel - All
forecastexportReleaseLevel

Forecast

For Cron, Temporary, and Time n/a

Universal Controller release that the record was exported from.

Note
titleNote

In XML web services, exportReleaseLevel is specified as an attribute in the <trigger> element.


read onlyN

Anchor
exportTable - All
exportTable - All
exportTable

n/a

Record table information.

Note
titleNote

In XML web services, exportTable is specified as an attribute in the <trigger> element.


read onlyN

Anchor
forecast - All
forecast - All
forecast

Forecast

For Cron, Temporary, and Time triggers only; Date and time when this trigger will be satisfied for the next number days, as specified in the Forecast Period In Days Universal Controller system property. The Controller writes the forecasting entries to the Forecasts List.

Boolean; Valid values: true/false. Default is false.

N

Anchor
name - All
name - All
name

Name

Name used within the Controller to identify this trigger.

Maximum 255 alphanumerics.

Y

Anchor
nextScheduledTime - All
nextScheduledTime - All
nextScheduledTime

Next Scheduled Time

System-supplied; for time-based triggers. If Status = Enabled, the next date and time this trigger will be satisfied. See Displaying Trigger Forecast Information.

Read-only.N

Anchor
opswiseGroups - All
opswiseGroups - All
opswiseGroups

Member of Business Services

List of Business Service(s) that this trigger belongs to.
 
XML

Panel

 
JSON

Panel


Html bobswift
<pre>
&lt;opswiseGroups&gt;
       &lt;opswiseGroup&gt;test&lt;/opswiseGroup&gt;
&lt;/opswiseGroups&gt;
</pre>


 
JSON

Panel


Html bobswift
<pre>
"opswiseGroups": [
"test"
]
</pre>




N

Anchor
rdExcludeBackup - All
rdExcludeBackup - All
rdExcludeBackup

Exclude Backup

Set only if retentionDurationPurge is selected; Specification for whether qualifying task instances can be excluded from the backup when being purged by retention duration.

Boolean; Valid values: true/false. Default is false.

N

Anchor
restriction - All
restriction - All
restriction

Special Restriction

Indication of whether or not you want to specify additional parameters that tell the Controller how to handle exceptions, such as when the trigger is satisfied on a holiday or non-business day. You can specify simple and/or complex restrictions. For example, you can specify a simpleRestriction that disables the trigger if it is satisfied on a holiday identified in the calendar and/or a restrictionComplex that disables the trigger on the last business day of every month.

Boolean; Valid values: true/false. Default is false.

N

Anchor
restrictionAdjective - All
restrictionAdjective - All
restrictionAdjective

Restriction Adjective

Type of selection for restrictionNoun.

Valid values:

Default is Every (0).

Y
(if restrictionComplex
is
  • As String = Every, As Value = 0
  • As String = 1st, As Value = 1
  • As String = 2nd, As Value = 2
  • As String = 3rd, As Value = 3
  • As String = 4th, As Value = 4
  • As String = Last, As Value = 5
  • As String = Nth, As Value = 6

Default is Every (0).

Y
(if restrictionComplex
is enabled)

Anchor
restrictionComplex - All
restrictionComplex - All
restrictionComplex

Complex Restriction

Set only if restriction is true; Set of parameters that determine one or more situations when this trigger should not be satisfied. Used in conjunction with restrictionMode, restrictionAdjective, restrictionNoun, and restrictionQualifier. For example, you can specify that you do not want to satisfy this trigger on the last business day of the year or the first day of each month.

Boolean; Valid values: true/false. Default is false.

Y
(if restrictionSimple
is false)

Anchor
restrictionMode - All
restrictionMode - All
restrictionMode

Restriction Mode

Set only if restrictionSimple is true; Specification for whether you want to use restrictionSimple- and/or restrictionComplex-related values.

Valid values:

  • As String = And, As Value = 1
  • As String = Or, As Value = 2

Default is Or (2).

Y
(if restrictionSimple
and restrictionComplex
are true)

Anchor
restrictionNoun - All
restrictionNoun - All
restrictionNoun

Restriction Noun

Day Deprecated. Period to restrict the trigger to. 
To specify a Custom Day, use the name of the Custom Day. For example:
 
XML
<restrictionNoun>CustomDay1</restrictionNoun>
 
JSON
"restrictionNoun": {
    "value": "CustomDay1"
}
 
To specify a Local Custom Day, use the local attribute. For example:
 
XML
<restrictionNoun local="true">CustomDay2</restrictionNoun>
 
JSON
"restrictionNoun": {
    "local": "true",
    "value": "CustomDay2"
}
 

Note
titleNote

The Calendar for the trigger is used to verify Custom Day references.

Valid values:

  • As String = Sunday, As Value = 1
  • As String = Monday, As Value = 2
  • As String = Tuesday, As Value = 3
  • As String = Wednesday, As Value = 4
  • As String = Thursday, As Value = 5
  • As String = Friday, As Value = 6
  • As String = Saturday, As Value = 7
  • As String = Day, As Value = 8
  • As String = Business Day, As Value = 9

Y
(if restrictionComplex
is true)

Anchor
restrictionNthAmount - AllrestrictionNthAmount - All

Restriction Nth Amount

Set only if restrictionAdjective is Nth (6); value of N.

Integer

Y
(if restrictionAdjective
is Nth)

Anchor
restrictionQualifier - AllrestrictionQualifier - All

Restriction Qualifier

Period to restrict the trigger to.
 
To specify a Custom Day Period, use the name of the Custom Day Period. For example:
 
XML
<restrictionQualifier>CustomDayPeriod1</restrictionQualifier>
 
JSON
"restrictionQualifier": {
    "value": "CustomDayPeriod1"
}
 
To specify a Local Custom Day Period, use the local attribute. For example:
 
XML
<restrictionQualifier local="true">CustomDayPeriod2</restrictionQualifier>
 
JSON
"restrictionQualifier": {
    "local": "true",
    "value": "CustomDayPeriod2"
}
 

Note
titleNote
Code Block
languagetext
linenumberstrue
<restrictionQualifiers>
  <restrictionQualifier>Month</restrictionQualifier>
</restrictionQualifiers>


To specify a Custom Day, use the name of the Custom Day. For example:

XML

Code Block
languagetext
linenumberstrue
<restrictionQualifiers>
  <restrictionQualifier>Jan</restrictionQualifier>
  <restrictionQualifier>CustomDay1</restrictionQualifier>
</restrictionQualifiers>

JSON

Code Block
languagetext
linenumberstrue
"restrictionQualifiers": [
  {
    "value": "Jan"
  },
  {
    "value": "CustomDay1"
  }
]


To specify a Local Custom Day, use the local attribute. For example:

XML

Code Block
languagetext
linenumberstrue
<restrictionQualifiers>
  <restrictionQualifier local="true">CustomDay2</restrictionQualifier>
</restrictionQualifiers>

JSON

Code Block
languagetext
linenumberstrue
"restrictionQualifiers": [
  {
    "local": true,
    "value": "CustomDay1"
  }
]


Note
titleNote

The Calendar for the trigger is used to verify Custom Day references.


Valid values:

  • As String = Sunday, As Value = 1
  • As String = Monday, As Value = 2
  • As String = Tuesday, As Value = 3
  • As String = Wednesday, As Value = 4
  • As String = Thursday, As Value = 5
  • As String = Friday, As Value = 6
  • As String = Saturday, As Value = 7
  • As String = Day, As Value = 8
  • As String = Business Day, As Value = 9

Y
(if restrictionComplex
is true)

Anchor
restrictionNouns - All
restrictionNouns - All
restrictionNouns

Restriction Noun(s)

Day to restrict the trigger to.

Used with restrictionAdjectiverestrictionQualifiers, and restrictionNthAmount (if restrictionAdjective is Nth) to specify the type of days you want to select. For example, to specify "the 1st business day of the month," select restrictionAdjective as 1st, restrictionNouns as Business Day, and restrictionQualifiers as Month.

Example:

Code Block
languagetext
linenumberstrue
<restrictionNouns>
  <restrictionNoun>Business Day</restrictionNoun>
</restrictionNouns>


To specify a Custom Day, use the name of the Custom Day. For example:

XML

Code Block
languagetext
linenumberstrue
<restrictionNouns>
  <restrictionNoun>Monday</restrictionNoun>
  <restrictionNoun>CustomDay1</restrictionNoun>
</restrictionNouns>

JSON

Code Block
languagetext
linenumberstrue
"restrictionNouns": [
  {
    "value": "Monday"
  },
  {
    "value": "CustomDay1"
  }
]


To specify a Local Custom Day, use the local attribute. For example:

XML

Code Block
languagetext
linenumberstrue
<restrictionNouns>
  <restrictionNoun local="true">CustomDay2</restrictionNoun>
</restrictionNouns>

JSON

Code Block
languagetext
linenumberstrue
"restrictionNouns": [
  {
    "local": true,
    "value": "CustomDay1"
  }
]


Note
titleNote

The Calendar for the trigger is used to verify Custom Day references.


Valid values:

  • As String = Jan, As Value = 0As String = FebSunday, As Value = 1
  • As String = MarMonday, As Value = 2
  • As String = AprTuesday, As Value = 3
  • As String = MayWednesday, As Value = 4As String
  • As String = Jun Thursday, As Value  As Value = 5 5
  • As String = JulFriday, As Value = 6
  • As String = AugSaturday, As Value = 7
  • As String = SepDay, As Value = 8
  • As String = OctBusiness Day, As Value = 9
  • As String = Nov, As Value = 10
  • As String = Dec, As Value = 11
  • As String = Month, As Value = 12
  • As String = Year, As Value = 13
  • As String = Week, As Value = 14
  • Custom Days specified in the calendar selected in a Workflow calendar.
Y
(if restrictionComplex
is true)

Anchor
restrictionSimple restrictionNthAmount - AllrestrictionSimple
restrictionNthAmount - All
restrictionSimplerestrictionNthAmount

Simple Restriction Nth Amount

Set only if restriction is true; Specification to set a simple restriction based on a specific situation.Boolean; Valid values: true/false. Default is false. restrictionAdjective is Nth (6); value of N.

Integer

Y
(if restrictionComplex restrictionAdjective
is falseNth)

Anchorsituation - Allsituation - Allsituation

Situation

Type of day that causes the Controller to initiate the specified action.

Valid values:

Default is Holiday (1).

Y
(if restrictionSimple
is true)

AnchorskipActive - AllskipActive - AllskipActive

Skip Trigger if Active

Deprecated. Indication for whether or not the Controller should skip the next run of the specified task(s) if the previous run has not gone to a Complete status (that is, it is still active).

Boolean; Valid values: true/false. Default is false.

N

AnchorskipAfterDate - AllskipAfterDate - AllskipAfterDateSkip After DateDate after which the trigger will be skipped.N AnchorskipAfterTime - AllskipAfterTime - AllskipAfterTimeSkip After TimeTime after which the trigger will be skipped.N AnchorskipBeforeDate - AllskipBeforeDate - AllskipBeforeDateSkip Before DateDate before which the trigger will be skipped.N AnchorskipBeforeTime - AllskipBeforeTime - AllskipBeforeTimeSkip Before TimeTime before which the trigger will be skipped.N AnchorskipCondition - AllskipCondition - AllskipCondition

Task Launch Skip Condition

Controls when launching a task for the trigger will be skipped.
 

Note
titleNote
When reading a Trigger, both skipActive and skipCondition are returned. When creating/updating a Trigger, skipCondition is used if present. If skipCondition is not present, skipActive is used. If both skipActive and skipCondition are present, skipActive can be set to true only if skipCondition is Active (1)

Anchor
retainSysIds restrictionQualifier - AllretainSysIds
restrictionQualifier - All
retainSysIds

n/a

Specification for whether or not the web service will persist the sysId property.

Note
titleNote

In XML web services, retainSysIds is specified as an attribute in the <trigger> element.

Valid values: true/false (default is true).

N

AnchorretentionDuration - AllretentionDuration - AllretentionDuration

Retention Duration

Set only if retentionDurationPurge is selected; Minimum retention duration for the selected retentionDurationUnit before triggered task instances can qualify for purge.

Integer

N

AnchorretentionDurationPurge - AllretentionDurationPurge - AllretentionDurationPurge

Purge By Retention Duration

Specification for whether triggered task instances can be purged by retention duration.

Boolean; Valid values: true/false. Default is false.

N

AnchorretentionDurationUnit - AllretentionDurationUnit - AllretentionDurationUnit

Retention Duration Unit

Set only if retentionDurationPurge is selected; Retention duration unit.

Valid values:

Default is Days (4).

N

AnchorsimulationOption - AllsimulationOption - AllsimulationOption

Simulate

For Cron, Temporary, and Time triggers only; Enables the override of the Enable Trigger Simulation Universal Controller system property specification for whether or not to simulate the launching of tasks when triggers are eligible to fire. (If simulationOption is enabled, only the scheduled launch of the task by the trigger is inhibited.)

Valid values:

Default is --System Default – (0).

N

restrictionQualifier

Restriction Qualifier

Deprecated. Period to restrict the trigger to.
 
To specify a Custom Day Period, use the name of the Custom Day Period. For example:
 
XML
<restrictionQualifier>CustomDayPeriod1</restrictionQualifier>
 
JSON
"restrictionQualifier": {
    "value": "CustomDayPeriod1"
}
 
To specify a Local Custom Day Period, use the local attribute. For example:
 
XML
<restrictionQualifier local="true">CustomDayPeriod2</restrictionQualifier>
 
JSON
"restrictionQualifier": {
    "local": "true",
    "value": "CustomDayPeriod2"
}
 

Note
titleNote

The Calendar for the trigger is used to verify Custom Day references.


Valid values:

  • As String = Jan, As Value = 0
  • As String = Feb, As Value = 1
  • As String = Mar, As Value = 2
  • As String = Apr, As Value = 3
  • As String = May, As Value = 4
  • As String = Jun, As Value = 5
  • As String = Jul, As Value = 6
  • As String = Aug, As Value = 7
  • As String = Sep, As Value = 8
  • As String = Oct, As Value = 9
  • As String = Nov, As Value = 10
  • As String = Dec, As Value = 11
  • As String = Month, As Value = 12
  • As String = Year, As Value = 13
  • As String = Week, As Value = 14

Y
(if restrictionComplex
is true)

Anchor
restrictionQualifiers - All
restrictionQualifiers - All
restrictionQualifiers

Restriction Qualifier(s)

Period to restrict the trigger to.

Used with restrictionAdjectiverestrictionQualifiers, and restrictionNthAmount (if restrictionAdjective is Nth) to specify the type of days you want to select. For example, to specify "the 1st business day of the month," select restrictionAdjective as 1st, restrictionNouns as Business Day, and restrictionQualifiers as Month.

Example:

Code Block
languagetext
linenumberstrue
<restrictionQualifiers>
  <restrictionQualifier>Month</restrictionQualifier>
</restrictionQualifiers>


To specify a Custom Day, use the name of the Custom Day. For example:

XML

Code Block
languagetext
linenumberstrue
<restrictionQualifiers>
  <restrictionQualifier>Jan</restrictionQualifier>
  <restrictionQualifier>CustomDay1</restrictionQualifier>
</restrictionQualifiers>

JSON

Code Block
languagetext
linenumberstrue
"restrictionQualifiers": [
  {
    "value": "Jan"
  },
  {
    "value": "CustomDay1"
  }
]


To specify a Local Custom Day, use the local attribute. For example:

XML

Code Block
languagetext
linenumberstrue
<restrictionQualifiers>
  <restrictionQualifier local="true">CustomDay2</restrictionQualifier>
</restrictionQualifiers>

JSON

Code Block
languagetext
linenumberstrue
"restrictionQualifiers": [
  {
    "local": true,
    "value": "CustomDay1"
  }
]


Note
titleNote

The Calendar for the trigger is used to verify Custom Day references.


Valid values:

  • As String =
None
  • Jan, As Value = 0
  • As String =
Active
  • Feb, As Value = 1
  • As String =
Active By Trigger
  • Mar, As Value = 2

Default is None (0).

N

AnchorskipCount - AllskipCount - All skipCount

Skip Count

Specification that the Controller should skip the next N times that this task is triggered.

Integer; Default is 0.

N

AnchorskipDateList - AllskipDateList - AllskipDateListSkip Date ListDate(s) on which the trigger will be skipped. AnchorskipRestriction - AllskipRestriction - AllskipRestrictionSkip RestrictionSpecification for when the trigger should skip and not launch the task(s).

Valid values:

  • As String = None, As Value = 0
  • As String = Before, As Value = 1
  • As String = After, As Value = 2
  • As String = Span, As Value = 3
  • As String = On, As Value = 4

Default is None (0).

AnchorsysId - AllsysId - AllsysId

n/a

System ID field in the database for this trigger.

Persisted only if retainSysIds is set to true.

N

Anchortasks - Alltasks - Alltasks

Tasks

Name of the task(s) being triggered when this trigger is satisfied.
 
XML

Panel

 
JSON

Panel

Y

AnchortimeZone - AlltimeZone - AlltimeZone

Time Zone

Name of the time zone that will be applied to the time(s) specified in the trigger.

Y

Anchorversion - Allversion - Allversion

n/a

For Read and List web services; specification of the version being read or listed.
 
  • As String = Apr, As Value = 3
  • As String = May, As Value = 4
  • As String = Jun, As Value = 5
  • As String = Jul, As Value = 6
  • As String = Aug, As Value = 7
  • As String = Sep, As Value = 8
  • As String = Oct, As Value = 9
  • As String = Nov, As Value = 10
  • As String = Dec, As Value = 11
  • As String = Month, As Value = 12
  • As String = Year, As Value = 13
  • As String = Week, As Value = 14
  • As String = Quarter, As Value = 15
Y
(if restrictionComplex
is true)

Anchor
restrictionSimple - All
restrictionSimple - All
restrictionSimple

Simple Restriction

Set only if restriction is true; Specification to set a simple restriction based on a specific situation.

Boolean; Valid values: true/false. Default is false.

Y
(if restrictionComplex
is false)

Anchor
retainSysIds - All
retainSysIds - All
retainSysIds

n/a

Specification for whether or not the web service will persist the sysId property.

Html bobswift
<ul>
<li> If <b>retainSysIds</b>="true" and <code>sysId</code> is included in the request/response, <code>sysId</code> will be persisted to the database.
<li> If <b>retainSysIds</b>="false" and <code>sysId</code> is included in the request/response, <code>sysId</code> will be ignored; it will be autogenerated by the Controller. 
</ul>


Note
titleNote

In XML web services, version retainSysIds is specified as an attribute in the <trigger> element.


YValid values: true/false (default is true).

N

Anchor

...

retentionDuration -

...

All

...

retentionDuration -

...

adjustIntervaladjustmentType dateAdjective dateAdjustment dateNouns

Property

UI Field Name

Description

Specifications

Required

Anchor
adjustInterval - TimeadjustInterval - Time

Adjust Interval To Enable Start

Set only if restrictedTimes is true; Specification for whether to always begin at the enabledStart (true) or based upon the actual interval (false)

All
retentionDuration

Retention Duration

Set only if retentionDurationPurge is selected; Minimum retention duration for the selected retentionDurationUnit before triggered task instances can qualify for purge.

Integer

N

Anchor
retentionDurationPurge - All
retentionDurationPurge - All
retentionDurationPurge

Purge By Retention Duration

Specification for whether triggered task instances can be purged by retention duration.

Boolean; Valid values: true/false. Default is truefalse.

N

Anchor
adjustmentAmount retentionDurationUnit - TimeAlladjustmentAmount
retentionDurationUnit - TimeAll
adjustmentAmount

Adjustment Amount

retentionDurationUnit

Retention Duration Unit

Set only if dayStyle retentionDurationPurge is Complex; Number of Days or Business Days to adjust your date setting.

Integer.

Y
(if dateAdjustment
is less (1)
or plus (2) )

Anchor
adjustmentType - TimeadjustmentType - Time

Adjustment Type

Set only if dayStyle is Complex; Type of day by which to adjust your date setting.

Valid

selected; Retention duration unit.

Valid values:

  • As String =
Day
  • Hours, As Value =
1
  • 3
  • As String =
Business Day
  • Days, As Value =
2
  • 4

Default is Day Days (14).

Y
(if dateAdjustment
is less (1)
or plus (2) )

Anchor
dateAdjective - TimedateAdjective - Time

Date Adjective

If dayStyle is Complex; Which in a series of days to select. Used in conjunction with dateNouns and dateQualifiers.

For example, to specify the 2nd to last day of the month (last day of the month less one day), select dateAdjective = Last, dateNouns = Day, dateQualifiers = Month, dateAdjustment = Less, adjustmentAmount = 1, and adjustmentType = Day.

Valid values:

  • As String = Every, As Value = 0
  • As String = 1st

    N

    Anchor
    simulationOption - All
    simulationOption - All
    simulationOption

    Simulate

    For Cron, Temporary, and Time triggers only; Enables the override of the Enable Trigger Simulation Universal Controller system property specification for whether or not to simulate the launching of tasks when triggers are eligible to fire. (If simulationOption is enabled, only the scheduled launch of the task by the trigger is inhibited.)

    Valid values:

    • --System Default --, As Value = 0
    • As String = True, As Value = 1
    • As String = False, As Value = 2

    Default is --System Default – (0).

    N

    Anchor
    situation - All
    situation - All
    situation

    Situation

    Type of day that causes the Controller to initiate the specified action.

    Valid values:

    • As String = Holiday, As Value = 1
    • As String =
    2nd, As Value = 2
  • As String = 3rd, As Value = 3
  • As String = 4th, As Value = 4
  • As String = Last, As Value = 5
  • As String = Nth, As Value = 6
  • Default is Every (0).

    Y
    (if dayStyle
    is Complex)

    Anchor
    dateAdjustment - TimedateAdjustment - Time

    Date Adjustment

    If dayStyle is Complex; Specification for adjusting your date setting by a less or plus number of Days or Business Days.

    For example, to specify the 2nd to last day of the month (last day of the month less one day), select dateAdjective = Last, dateNouns = Day, dateQualifiers = Month, dateAdjustment = Less, adjustmentAmount = 1, and adjustmentType = Day.

    Valid values:

    • As String = None, As Value = 0
    • As String = Less, As Value = 1
    • As String = Plus, As Value = 2

    Default is None (0).

    N

    Anchor
    dateNouns - TimedateNouns - Time

    Date Noun

    If dayStyle is Complexe; Type of day you want to select. Used in conjunction with dateAdjective and dateQualifiers.

    For example, to specify "the 2nd Monday and Tuesday or January and December," select dateAdjective = Nth, nthAmount = 2, dateNouns = Monday, Friday, and dateQualifiers = Jan, Dec.
     
    To specify a Custom Day, use the name of the Custom Day
    • Non Business Day, As Value = 2

    Default is Holiday (1).

    Y
    (if restrictionSimple
    is true)

    Anchor
    skipActive - All
    skipActive - All
    skipActive

    Skip Trigger if Active

    Deprecated. Indication for whether or not the Controller should skip the next run of the specified task(s) if the previous run has not gone to a Complete status (that is, it is still active).

    Boolean; Valid values: true/false. Default is false.

    N

    Anchor
    skipAfterDate - All
    skipAfterDate - All
    skipAfterDate

    Skip After DateDate after which the trigger will be skipped.
    N

    Anchor
    skipAfterTime - All
    skipAfterTime - All
    skipAfterTime

    Skip After TimeTime after which the trigger will be skipped.
    N

    Anchor
    skipBeforeDate - All
    skipBeforeDate - All
    skipBeforeDate

    Skip Before DateDate before which the trigger will be skipped.
    N

    Anchor
    skipBeforeTime - All
    skipBeforeTime - All
    skipBeforeTime

    Skip Before TimeTime before which the trigger will be skipped.
    N

    Anchor
    skipCondition - All
    skipCondition - All
    skipCondition

    Task Launch Skip Condition

    Controls when launching a task for the trigger will be skipped.
     

    Note
    titleNote

    When reading a Trigger, both skipActive and skipCondition are returned. When creating/updating a Trigger, skipCondition is used if present. If skipCondition is not present, skipActive is used. If both skipActive and skipCondition are present, skipActive can be set to true only if skipCondition is Active (1).


    Valid values:

    • As String = None, As Value = 0
    • As String = Active, As Value = 1
    • As String = Active By Trigger, As Value = 2

    Default is None (0).

    N

    Anchor
    skipCount - All
    skipCount - All
    skipCount

    Skip Count

    Specification that the Controller should skip the next N times that this task is triggered.

    Integer; Default is 0.

    N

    Anchor
    skipDateList - All
    skipDateList - All
    skipDateList

    Skip Date ListDate(s) on which the trigger will be skipped.

    Anchor
    skipRestriction - All
    skipRestriction - All
    skipRestriction

    Skip RestrictionSpecification for when the trigger should skip and not launch the task(s).

    Valid values:

    • As String = None, As Value = 0
    • As String = Before, As Value = 1
    • As String = After, As Value = 2
    • As String = Span, As Value = 3
    • As String = On, As Value = 4

    Default is None (0).


    Anchor
    sysId - All
    sysId - All
    sysId

    n/a

    System ID field in the database for this trigger.

    Persisted only if retainSysIds is set to true.

    N

    Anchor
    tasks - All
    tasks - All
    tasks

    Tasks

    Name of the task(s) being triggered when this trigger is satisfied.
     
    XML

    Panel


    Html bobswift
    <pre>
    &lt;tasks&gt;
           &lt;task&gt;uc - Demo&lt;/task&gt;
    &lt;/tasks&gt;
    </pre>


     
    JSON

    Panel


    Html bobswift
    <pre>
    "tasks": [ "uc - Demo" ]
    </pre>




    Y

    Anchor
    timeZone - All
    timeZone - All
    timeZone

    Time Zone

    Name of the time zone that will be applied to the time(s) specified in the trigger.


    Y

    Anchor
    version - All
    version - All
    version

    n/a

    For Read and List web services; specification of the version being read or listed.
     

    Note
    titleNote

    In XML web services, version is specified as an attribute in the <trigger> element.



    Y

    Anchor
    Trigger Properties - Time Trigger
    Trigger Properties - Time Trigger
    Trigger Properties: Time Trigger

    Property

    UI Field Name

    Description

    Specifications

    Required

    Anchor
    adjustInterval - Time
    adjustInterval - Time
    adjustInterval

    Adjust Interval To Enable Start

    Set only if restrictedTimes is true; Specification for whether to always begin at the enabledStart (true) or based upon the actual interval (false).

    Boolean; Valid values: true/false. Default is true.

    N

    Anchor
    adjustmentAmount - Time
    adjustmentAmount - Time
    adjustmentAmount

    Adjustment Amount

    Set only if dayStyle is Complex; Number of Days or Business Days to adjust your date setting.

    Integer.

    Y
    (if dateAdjustment
    is less (1)
    or plus (2) )

    Anchor
    adjustmentType - Time
    adjustmentType - Time
    adjustmentType

    Adjustment Type

    Set only if dayStyle is Complex; Type of day by which to adjust your date setting.

    Valid values:

    • As String = Day, As Value = 1
    • As String = Business Day, As Value = 2

    Default is Day (1).

    Y
    (if dateAdjustment
    is less (1)
    or plus (2) )

    Anchor
    dateAdjective - Time
    dateAdjective - Time
    dateAdjective

    Date Adjective

    If dayStyle is Complex; Which in a series of days to select. Used in conjunction with dateNouns and dateQualifiers.

    For example, to specify the 2nd to last day of the month (last day of the month less one day), select dateAdjective = Last, dateNouns = Day, dateQualifiers = Month, dateAdjustment = Less, adjustmentAmount = 1, and adjustmentType = Day.

    Valid values:

    • As String = Every, As Value = 0
    • As String = 1st, As Value = 1
    • As String = 2nd, As Value = 2
    • As String = 3rd, As Value = 3
    • As String = 4th, As Value = 4
    • As String = Last, As Value = 5
    • As String = Nth, As Value = 6

    Default is Every (0).

    Y
    (if dayStyle
    is Complex)

    Anchor
    dateAdjustment - Time
    dateAdjustment - Time
    dateAdjustment

    Date Adjustment

    If dayStyle is Complex; Specification for adjusting your date setting by a less or plus number of Days or Business Days.

    For example, to specify the 2nd to last day of the month (last day of the month less one day), select dateAdjective = Last, dateNouns = Day, dateQualifiers = Month, dateAdjustment = Less, adjustmentAmount = 1, and adjustmentType = Day.

    Valid values:

    • As String = None, As Value = 0
    • As String = Less, As Value = 1
    • As String = Plus, As Value = 2

    Default is None (0).

    N

    Anchor
    dateNoun - Time
    dateNoun - Time
    dateNoun

    Date Noun

    Deprecated. Type of day you want to select. Used in conjunction with dateAdjective and dateQualifier. For example, to specify "the 15th business day of the month," select dateAdjective = Nth, dateNoun = Business Day, dateQualifier = Month, and nthAmount = 15.
     
    To specify a /wiki/spaces/UC71x/pages/5179574, use the name of the Custom Day. For example:
     
    XML
    <dateNoun>CustomDay1</dateNoun>
     
    JSON
    "dateNoun": {
        "value": "CustomDay1"
    }
     
    To specify a /wiki/spaces/UC71x/pages/5179574, use the local attribute. For example:
     
    XML
    <dateNoun local="true">CustomDay2</dateNoun>
     
    JSON
    "dateNoun": {
        "local": "true",
        "value": "CustomDay2"
    }
     

    Note
    titleNote

    The Calendar for the trigger is used to verify Custom Day references.


    Valid values:

    • As String = Sunday, As Value = 1
    • As String = Monday, As Value = 2
    • As String = Tuesday, As Value = 3
    • As String = Wednesday, As Value = 4
    • As String = Thursday, As Value = 5
    • As String = Friday, As Value = 6
    • As String = Saturday, As Value = 7
    • As String = Day, As Value = 8
    • As String = Business Day, As Value = 9

    Y
    (if dayStyle
    is Complex)

    Anchor
    dateNouns - Time
    dateNouns - Time
    dateNouns

    Date Noun(s)

    If dayStyle is Complex; Type of day you want to select. Used in conjunction with dateAdjective and dateQualifiers.

    For example, to specify "the 2nd Monday and Tuesday or January and December," select dateAdjective = Nth, nthAmount = 2, dateNouns = Monday, Tuesday, and dateQualifiers = Jan, Dec.
     
    To specify a Custom Day, use the name of the Custom Day. For example:
     
    XML

    <dateNouns>
      <dateNoun>Monday</dateNoun>
      <dateNoun>CustomDay1</dateNoun>
    </dateNouns>

     
    JSON

    "dateNouns": [
      {
        "value": "Monday"
      },
      {
        "value": "CustomDay1"
      }
    ]

     
    To specify a Local Custom Day, use the local attribute. For example:
     
    XML

    <dateNouns>
      <dateNoun local="true">CustomDay2</dateNoun>
    </dateNouns>

     
    JSON

    "dateNouns": [
      {
        "local": true,
        "value": "CustomDay1"
      }
    ]


    Note
    titleNote

    The Calendar for the trigger is used to verify Custom Day references.


    Valid values:

    • As String = Sunday, As Value = 1
    • As String = Monday, As Value = 2
    • As String = Tuesday, As Value = 3
    • As String = Wednesday, As Value = 4
    • As String = Thursday, As Value = 5
    • As String = Friday, As Value = 6
    • As String = Saturday, As Value = 7
    • As String = Day, As Value = 8
    • As String = Business Day, As Value = 9

    Y
    (if dayStyle
    is Complex)

    Anchor
    dateQualifier - Time
    dateQualifier - Time
    dateQualifier

    Date Qualifier

    Deprecated. Period for your date selection. Used in conjunction with dateNoun and dateAdjective. For example, to specify "the 15th business day of the month," select dateAdjective = Nth, dateNoun = Business Day, dateQualifier = Month, and nthAmount = 15.
     
    To specify a /wiki/spaces/UC71x/pages/5179574, use the name of the Custom Day Period. For example:
     
    XML

    <dateNouns> <dateNoun>Monday</dateNoun> <dateNoun>CustomDay1</dateNoun> </dateNouns>

    <dateQualifier>CustomDayPeriod1</dateQualifier>
     
    JSON
    "

    dateNouns

    dateQualifier":

    [

    {


        "value":

    "

    Monday

    CustomDayPeriod1"

    }, { "value": "CustomDay1" } ]


    }
     
    To specify a Local Custom Day /wiki/spaces/UC71x/pages/5179574, use the local attribute. For example:
     
    XML

    <dateNouns> <dateNoun

    <dateQualifier local="true"

    >CustomDay2</dateNoun> </dateNouns>

    >CustomDayPeriod2</dateQualifier>
     
    JSON
    "

    dateNouns

    dateQualifier":

    [ {

    {
        "local":

    "true

    ,

    ",
        "value":

    "

    CustomDay1

    CustomDayPeriod2"

    } ]


    }
     

    Note
    titleNote

    The Calendar for the trigger is used to verify Custom Day references.

    Valid values:

    the trigger is used to verify Custom Day references.


    Valid values:

    • As String = Jan, As Value = 0
    • As String = Feb, As Value = 1
    • As String = Mar, As Value = 2
    • As String = Apr, As Value = 3
    • As String = May, As Value = 4
    • As String = Jun, As Value = 5
    • As String = SundayJul, As Value = 16
    • As String = MondayAug, As Value = 27
    • As String = TuesdaySep, As Value = 38
    • As String As String =  WednesdayOct,  As Value As Value =  49
    • As String = ThursdayNov, As Value = 510
    • As String = FridayDec, As Value = 611
    • As String = SaturdayMonth, As Value = 712
    • As String = DayYear, As Value = 813
    • As String = Business DayWeek, As Value = 914

    Y
    (if dayStyle
    is Complex)

    Anchor
    dateQualifiers - Time
    dateQualifiers - Time
    dateQualifiers

    Date Qualifier(s)

    If dayStyle is Complexe; Complex Period for your date selection. Used in conjunction with dateNouns and dateAdjective.

    For example, to specify "the 2nd Monday and Tuesday or January and December," select dateAdjective = Nth, nthAmount = 2, dateNouns = Monday, FridayTuesday, and dateQualifiers = Jan, Dec.
     

    To specify a Custom Day, use the name of the Custom Day. For example:
     
    XML

    <dateQualifiers>
      <dateQualifier>Jan</dateQualifier>
      <dateQualifier>CustomDay1</dateQualifier>
    </dateQualifiers>

     
    JSON

    "dateQualifiers": [
      {
        "value": "Monday"
      },
      {
        "value": "CustomDay1"
      }
    ]


    To specify a Local Custom Day, use the local attribute. For example:
     
    XML

    <dateQualifiers>
      <dateQualifier local="true">CustomDay2</dateQualifier>
    </dateQualifiers>

     
    JSON

    "dateQualifiers": [
      {
        "local": true,
        "value": "CustomDay1"
      }
    ]


    Note
    titleNote

    The Calendar for the trigger is used to verify Custom Day references.


    Valid values:

    • As String = Jan, As Value = 0
    • As String = Feb, As Value = 1
    • As String = Mar, As Value = 2
    • As String = Apr, As Value = 3
    • As String = May, As Value = 4
    • As String = Jun, As Value = 5
    • As String = Jul, As Value = 6
    • As String = Aug, As Value = 7
    • As String = Sep, As Value = 8
    • As String = Oct, As Value = 9
    • As String = Nov, As Value = 10
    • As String = Dec, As Value = 11
    • As String = Month, As Value = 12
    • As String = Year, As Value = 13
    • As String = Week, As Value = 14

    Y
    (if dayStyle
    is Complex)

    Anchor
    dayInterval - Time
    dayInterval - Time
    dayInterval

    Day Interval

    Interval (number of days) at which this trigger will run.

    Integer.

    Y
    (if dayStyle \
    is Every)

    Anchor
    dayStyle - Time
    dayStyle - Time
    dayStyle

    Day Style

    Indication of when this trigger will be run.

    Valid values:

    when this trigger will be run.

    Valid values:

    • As String = Simple, As Value = 1
    • As String = Complex, As Value = 2
    • As String = Every, As Value = 3

    Default is Simple (1).

    Y

    Anchor
    enabledEnd - Time
    enabledEnd - Time
    enabledEnd

    Enabled End

    End time of the period during which the trigger should be active.

    Use 24-hour time; format is hh:mm

    Y
    (if restrictedTimes
    is true)

    Anchor
    enabledStart - Time
    enabledStart - Time
    enabledStart

    Enabled Start

    Start time of the period during which the trigger should be active.

    Use 24-hour time; format is hh:mm

    Y
    (if restrictedTimes
    is true)

    Anchor
    fri - Time
    fri - Time
    fri

    Friday

    Set only if simpleDateType is Specific Days; Indicates that the this trigger will be run on Friday.

    Boolean; Valid values: true/false. Default is false.

    N

    Anchor
    intervalStartingDate - Time
    intervalStartingDate - Time
    intervalStartingDate

    Interval Start

    First day of the interval on which this trigger will run.

    Format: yyyy-mm-dd

    Y
    (if dayStyle
    is Every)

    Anchor
    mon - Time
    mon - Time
    mon

    Monday

    Set only if simpleDateType is Specific Days; Indicates that the this trigger will be run on Monday.

    Boolean; Valid values: true/false. Default is false.

    N

    Anchor
    nthAmount - Time
    nthAmount - Time
    nthAmount

    Nth Amount

    Value of N.

    Integer

    Y
    (if dateAdjective
    is Nth)

    Anchor
    restrictedTimes - Time
    restrictedTimes - Time
    restrictedTimes

    Restrict Times

    If timeStyle is Interval; Indication that the trigger is active only during the period specified by enabledStart and enabledEnd.

    Boolean; Valid values: true/false.

    N

    Anchor
    sat - Time
    sat - Time
    sat

    Saturday

    Set only if simpleDateType is Specific Days; Indicates that the this trigger will be run on Saturday.

    Boolean; Valid values: true/false. Default is false.

    N

    Anchor
    simpleDateType - Time
    simpleDateType - Time
    simpleDateType

    n/a

    Indication of when this trigger will be run.

    Valid values:

    • As String = Daily, As Value = 1
    • As String = Business Days, As Value = 2
    • As String = Specific Days, As Value = 3

    Default is Daily (1).

    Y
    (if dayStyle
    is Simple)

    Anchor
    startingAt - Time
    startingAt - Time
    startingAt

    Initial Time Offset

    Set only if timeStyle is Interval; Starting time, in minutes offset from the hour.

    Format is hh:mm

    Y
    (if startTimeEnable
    is true)

    Anchor
    startTimeEnable - Time
    startTimeEnable - Time
    startTimeEnable

    Enable Offset

    Set only if timeStyle is Interval; Indication of whether you want to specify (in startingAt) a starting time, in minutes offset from the hour, for the trigger to run.

    Boolean; Valid values: true/false. Default is false.

    N

    Anchor
    sun - Time
    sun - Time
    sun

    Sunday

    Set only if simpleDateType is Specific Days; Indicates that the this trigger will be run on Sunday.

    Boolean; Valid values: true/false. Default is false.

    N

    Anchor
    thu - Time
    thu - Time
    thu

    Thursday

    Set only if simpleDateType is Specific Days; Indicates that the this trigger will be run on Thursday.

    Boolean; Valid values: true/false. Default is false.

    N

    Anchor
    time - Time
    time - Time
    time

    Time

    Time when the trigger will be run.

    Format is hh:mm, using 24-hour time.

    Y
    (if timeStyle
    is Absolute)

    Anchor
    timeInterval - Time
    timeInterval - Time
    timeInterval

    Time Interval

    Number of timeIntervalUnits.

    Integer

    Y
    (if timeStyle
    is Interval)

    Anchor
    timeIntervalUnits - Time
    timeIntervalUnits - Time
    timeIntervalUnits

    Time Interval Units

    Type of time interval.

    Valid values:

    • As String = Seconds, As Value = 1
    • As String = Minutes, As Value = 2
    • As String = Hours, As Value = 3

    Default is Hours (3).

    Y
    (if timeStyle
    is Interval)

    Anchor
    timeStyle - Time
    timeStyle - Time
    timeStyle

    Time Style

    Indicates whether this trigger is for a specific time or a series of times.

    Valid values:

    • As String = Absolute, As Value = 1
    • As String = Interval, As Value = 2

    Default is Absolute (1).

    N

    Anchor
    tue - Time
    tue - Time
    tue

    Tuesday

    Set only if simpleDateType is Specific Days; Indicates that the this trigger will be run on Tuesday.

    Boolean; Valid values: true/false. Default is false.

    N

    Anchor
    wed - Time
    wed - Time
    wed

    Wednesday

    Set only if simpleDateType is Specific Days; Indicates that the this trigger will be run on Wednesday.

    Boolean; Valid values: true/false. Default is false.

    N

    ...