Перейти к содержимому
R-Service R-Service
Руководство разработчика RR Tech Service Management

AutomationRuleActionInput

Эта документация пока недоступна на вашем языке, поэтому показана английская версия.

Action that should be executed when the condition of the automation rule is met.

name ( String! )

Name of the action.

value ( String! )

The action that should be executed when the condition of the automation rule is met. Takes one of the following forms:

  • update <record> set <field> = <value>
  • update <record> add <value> to <collection>
  • update <record> remove <value> from <collection>
  • update <record> clear <collection>
  • update <record> add note '<value>'
  • after <delay> trigger '<rule>'
  • call webhook '<webhook>' with payload '<payload>'

When the action operates on the current record, leave out update <record> .

Examples:

  • update workflow set manager = my_person
  • add my_ci to cis
  • add note 'Hello {{@my_person}}'
  • after 30.minutes trigger 'My Delay Rule'
  • call webhook 'My Webhook' with payload 'my_payload'