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,
An activity is a single step inside a playbook lane — present a form to a user, send an email, update a record,
Wrong/correct code examples for the most common playbook mistakes. Pair this with playbook-guide (mental model + execution errors and gotchas) — that doc covers the conceptual errors; this one shows the structural mistakes that cause silent failures or compile errors.
Recipes for the most common playbook shapes — simple single-lane workflows, multi-lane sequential and parallel layouts, and decision-driven branching (including chained decisions and stage-level routing between lanes). Each pattern is shown end-to-end so it can be copied as a starting point. For activity and lane reference material see playbook-activities-guide and playbook-lanes-guide.
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.