Smart Link Criteria
Applies To: Orchestrator 2012 Release Candidate
Link criteria can be created for any data published form the activity that initiates the link. The type of criteria will depend on the type of data returned from the particular property. The following sections provide details on the different types of data that activities can return.
When you add a new criteria to the link, it will default to the completion status of the activity. This will return one of the following values:
success
warning
failed
Each time you create a new link, it will create a default criteria specifying that the activity’s completion status must return success. If you want the next activity to run regardless of whether the first activity successfully completes, then you should delete or change criteria.
Some properties will return a value of true or false. You can set a criteria of equals or does not equal, and the value will prompt you for the two possible values.
Certain published data properties will return text that you can compare to an expected value or pattern. The different criteria that can be used are shown in the following table:
Condition | Description |
---|---|
contains |
The specified text appears somewhere in the value of the published data item. |
does not contain |
The specified text does not appear somewhere in the value of the published data item. |
starts with |
The value of the published data item starts with the specified text. |
ends with |
The value of the published data item ends with the specified text. |
matches pattern |
The value of the published data item matches the specific regular expression. |
does not match pattern |
The value of the published data item matches the specific regular expression. |
equals |
The value of the published data item exactly matches the specified text. |
does not equal |
The value of the published data item does not match the specified text. |
Note
Text values are not case sensitive.
Important
The regular expression criteria have a slightly different behavior than other regular expressions when using the ^ character specifying the starting position in the text and the $ character specifying the ending position in the text. You must specify a wildcard in addition to these operators. For example, with the string “This is some sample text”, text$ will return a false, but .text$ will return true. Similarly, ^This will return false, but ^This. will return true.
Certain published data properties will return numeric data that you can compare to an expected value. The different criteria that can be used are shown in the following table:
Condition | Description |
---|---|
equals |
The value of the published data item is exactly equal to the specified value. |
does not equal |
The value of the published data item does not equal the specified value. |
is less then |
The value of the published data item is less than the specified value. |
is greater then |
The value of the published data item is greater than the specified value. |
is less than or equal to |
The value of the published data item is less than or equal to the specified value. |
is greater than or equal to |
The value of the published data item is greater than or equal to the specified value. |
is between |
The value of the published data item is between two specified values. |
-----
For additional resources, see Information and Support for System Center 2012.
Tip: Use this query to find online documentation in the TechNet Library for System Center 2012. For instructions and examples, see Search the System Center 2012 Documentation Library.
-----