Skip to content
R-Service R-Service
RR Tech Service Management Developer Guide

appOfferingAutomationRuleCreate Mutation

Creates a new app offering automation rule.

appOfferingAutomationRuleCreate accepts a single input argument, an input type , which contains the values it uses.

The fields inside input are:

actions ( [[AutomationRuleActionInput!]!](../input_object/automationruleactioninput) )

The Actions field is used to define actions that should be executed when the condition of the automation rule is met.

appOfferingId ( ID! )

Identifier of the app offering the rule belongs to.

clientMutationId ( String )

A unique identifier for the client performing the mutation.

condition ( String! )

The Condition field is used to define the condition that needs to be met in order for the update action(s) of the rule to be performed. For example: is_assigned and !badge .

description ( String )

A high-level description of the automation rule’s function.

expressions ( [[AutomationRuleExpressionInput!]!](../input_object/automationruleexpressioninput) )

The Expressions field is used to define expressions that can subsequently be used to define the rule’s conditions and the update action(s) that the rule is to perform.

generic ( String )

The record type this rule is linked to. Valid values are:

  • request
  • task
  • ci

name ( String! )

The name of the automation rule.

position ( Int )

The Position field dictates the order in which the automation rule is executed.

trigger ( String! )

The Trigger field is used to specify when the automation rule is to be triggered, for example on status update or on note added .

appOfferingAutomationRule ( AppOfferingAutomationRule )

Record after mutation.

clientMutationId ( String )

A unique identifier for the client performing the mutation.

errors ( ValidationError )

Errors encountered during the mutation.