Set Service Attribute

Add the Set Service Attribute action to assign a different value to an existing service attribute. A service attributes stores information that applies to a specific service only, like user name or computer name.

You can configure service attributes on the Attributes tab of the service. For example, if the service is aimed at creating a new user account, a Set Service Attribute action allows you to provide the user details with the service attribute. You can then use this information in the Run Book that creates the user account.

Configuration

Field

Explanation and Tips

Action Name

Optionally specify a friendly name for the action. This name must be unique in the workflow.

Attribute of current service

Assign a new value to a service attribute of the current service.

  • Text service attribute:
    • Select Manual value to specify a manual value.
    • Select Service Attribute value to select another service attribute of the current service. If this is a table attribute, the value is the full table contents, including column and row separators.
  • List service attribute:
    • Select Manual value to specify a manual value.
    • Select Service Attribute value to select another service attribute of the current service. You can select list, checklist and text attributes.
  • Organization service attribute:
    • Select Organization to browse to an item in the organizational tree structure of your environment.
    • Select Manual value to specify a manual value. You can use placeholders.
  • Password service attribute: you can only specify a manual value.
  • Table service attribute:
    • In the Value field, select another service attribute of the current service. This can be a table service attribute or a text service attribute, as long as it matches the table structure and mandatory fields are filled. If not, the action fails.
    • Setting the value with a text service attribute is especially useful when the service contains an Invoke Run Book action, to use the value of an Ivanti Automation text parameter into a table service attribute. Separate column values with “;”, rows with “|”. For example, 123-123-1234;S4;Phone;Android;8008937810;Active|123-123-1235;iPad;PDA;iOS;;Wiped.
    • Select Skip first row if values are provided by a service attribute that is linked to an Ivanti Automation text parameter in an Invoke Run Book action, and the first row contains headers instead of values.
  • Date service attribute:
    • Select Manual value to select a value with a date picker.
    • Select Service Attribute value to select another service attribute of the current service. This can be another date service attribute, a datetime service attribute or a text service attribute, as long as it matches the format YYYYMMDD or YYYYMMDDHHMMSS (here HHMMSS is ignored).
  • Datetime service attribute:
    • Select Manual value to specify a manual value in the format YYYYMMDDHHMMSS.
    • Select Service Attribute value to select another service attribute of the current service. This can be another datetime service attribute or a text service attribute, as long as it matches the format.
  • Checklist service attribute:
    • Select Manual value to specify a manual value in the format label;value;state|.
    • Select Service Attribute value to select another service attribute of the current service. This can be another checklist service attribute or a text service attribute, as long as it matches the format.
  • If you specify a file service attribute, you can base its value on another file service attribute of the current service.

Attribute of another service

Assign a new value to a service attribute of another service.

  • Text service attribute:
    • Select Manual value to specify a manual value. Besides typing a manual value, you can combine it with placeholders.
    • Select Service Attribute value to select a service attribute of the current service. If the value is set by a table attribute, the value is the full table contents, including column and row separators.
  • List service attribute: you can only select values from the other service, not the current service.
  • Table service attribute:
    • In the Value field, select a service attribute of the current service. This can be a table service attribute or a text service attribute, as long as it matches the table structure, and mandatory fields are filled. If not, the action fails.
    • Setting the value with a text service attribute is especially useful when the service contains an Invoke Run Book action, to use the value of an Ivanti Automation text parameter into a table service attribute.
    • Select Skip first row if values are provided by a service attribute that is linked to an Ivanti Automation text parameter in an Invoke Run Book action, and the first row contains headers instead of values.
  • Date service attribute:
    • Select Manual value to select a value with a date picker.
    • Select Service Attribute value to select another service attribute of the current service. This can be another date service attribute, a datetime service attribute or a text service attribute, as long as it matches the format YYYYMMDD or YYYYMMDDHHMMSS (here HHMMSS is ignored).
  • If you base the value on another service attribute (e.g. a text service attribute with a value of a table attribute), the value is limited to 255 characters.
  • If you base the value on a service attribute of another service, the subscriber must also subscribe to this service. If not, this doesn't resolve in a value and the action fails.
See also

Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other