Skip to main content

2 docs tagged with "activity"

View all tags

Playbook Activities Guide

An activity is a single step inside a playbook lane — present a form to a user, send an email, update a record, branch on a condition, and so on. Every step a playbook performs is an activity. This guide covers a representative subset of the built-in activities shipped with the SDK: interactive activities (Instruction, RecordForm, KnowledgeArticle, ChecklistTask, …), automation activities (UpdateRecord, CreateNewRecord, SendEmail, …), approval activities, the Decision branching activity, the RecordList display activity, experience properties, and the stage-level Decision pattern (a Decision placed at the lanes body level rather than inside a lane). The full set of exports lives under src/api/playbook/built-ins/activity-definitions/; for wfa.playbook.activity signatures and the data pill validation matrix see playbook-api.

PlaybookDefinition

Creates a ServiceNow Playbook: a guided multi-step process that operates on a record (syspdprocess_definition). Composed of lanes, activities, triggers, inputs, and outputs with inline startRule ordering.