Content filtering for playbooks
Summarize
Summary of Content Filtering for Playbooks
Content filtering for playbooks in Workflow Studio allows ServiceNow customers to control user access to playbook content based on user roles. This feature ensures that users see only relevant activities and content, hiding unnecessary or sensitive information. By specifying content definitions and filtering rules linked to roles, customers can customize what playbook activities a user can access or modify.
Show less
Key Features
- Content Definitions: Define types of Workflow Studio resources such as playbook activity definitions. Customers can use default definitions or create refined ones based on conditions like name, package, or tags to target specific activity subsets.
- Content Filtering Rules: Associate user roles with content definitions to determine access. For example, roles like
delegateddeveloperandplaybook.activitydefreadhave access to all activity definitions by default. - Role-Based Access Control: Manage access to activity definitions by specifying required roles. Only users with appropriate roles can view or edit activity definitions. Notably, only users with the
playbook.adminrole can edit the Required Roles field on activity definitions. - Restricted Playbooks: Playbooks containing activities a user cannot access are completely hidden from that user, preventing visibility of restricted content in whole playbooks.
Practical Application for ServiceNow Customers
- Use default content definitions and filtering rules to quickly enable role-based access or create custom definitions and rules for finer control.
- Assign the
playbook.writerole—notpdauthor—to grant users access to subsets of activity definitions within a content definition. - Ensure that users without the required roles do not see or interact with restricted activities or playbooks, maintaining security and relevance of content.
Expected Outcomes
Implementing content filtering enables tailored user experiences in Workflow Studio playbooks, helping organizations maintain security, reduce clutter, and improve usability by showing only relevant activities to each user based on their role. This leads to more efficient playbook creation and management aligned with organizational policies.
Specify which content a user can access based on the user's role.
Display only content that is relevant for a particular user, hiding content that is unnecessary or sensitive. Specify the Workflow Studio playbook content that you want to control access to and the role that a user must have to access it. For example, if a user with the guided_decision_builder role is creating a playbook, show only a relevant set of activities.
- Content definitions to specify types of content.
- Content filtering rules and roles to determine who can access the content.
- (Default) Playbook - Users with delegated_developer role can access all activity definitions
- (Default) Playbook - Users with playbook.activity_def_read role can access all activity definitions
Content definitions
Content definitions specify a type of Workflow Studio resource. Resources are key elements of Workflow Studio components, such as activity definitions for playbooks. Create content definitions to include an entire resource, or use a condition builder to refine your definitions. For example, the content definition for playbook activity definitions includes all activity definitions, but you could create a content definition that includes only the activity definitions that contain Guided Decision in the Name or Package.
You can further refine content definitions through tagging. Add resource tags to items in a resource list, then design your content definition to only include resources with that tag.
Content filtering rules
Content filtering rules specify the role that a user must have to access the content in a particular definition. Each rule associates a single user role with a single content definition. When a user accesses Workflow Studio playbooks, content filtering rules determine what activities the user may access based on the user's role.
Role-based activity definition access
Manage activity definition access by specifying the Required Roles to access an activity definition. To learn more about roles, see Playbooks roles. To learn more about activity definitions, see Activity definitions.
Restricted playbooks
Users cannot view a playbook that contains activities that they do not have access to. When a playbook contains restricted activities, the entire playbook is restricted.
| Resource filtered | User has role | User does not have role |
|---|---|---|
| Activity Definition |
|
|
Design considerations
- Content definition roles for activity definitions
- Give users access to the subset of activity definitions in a content definition by assigning the playbook.write role, not the pd_author role.