Define the type of trigger that determines when to start running your playbook.
始める前に
- Make sure to set your current application to the application that you want your
playbook to run in. For more information, see Application
picker.
- Role required: admin, playbook.admin, or pd_trigger_author
手順
-
Navigate to .
-
In the context header, click New.
-
On the Trigger Definition form, in the
Label field, enter any label for your trigger
definition.
-
Next to the Trigger Type field, click the lookup using
list icon (
).
-
In the Trigger Types list, select a trigger type to
use for your trigger definition.
Options include:
- Record Created
- The playbook runs when a user creates a record anywhere in the ServiceNow AI Platform.
- Record Updated
- The playbook runs when a user updates an existing record anywhere in the ServiceNow AI Platform.
- Record Created or Updated
- The playbook runs when a user creates a record or updates an existing record anywhere in the ServiceNow AI Platform.
-
Click Next to go on to the next step.
-
In the Table list, select a table whose record operations you want to trigger
your playbook.
-
Under Condition, use the condition
builder to add field conditions for
when you want to trigger your playbook.
-
To trigger your playbook for tables that extend your selected table, select the
Run On Extended check box.
-
Click Update to finish creating your trigger
definition.
タスクの結果
Your trigger definition is added to the Trigger Definition
[sys_pd_trigger_definition] table. You can now select your preset trigger when you Create a playbook.