Content filtering for Workflow Studio flows
Summarize
Summary of Content filtering for Workflow Studio flows
Content filtering in Workflow Studio enables ServiceNow customers to control access to workflow flow content based on user roles. This ensures users see only relevant, non-sensitive content while creating or managing flows. It helps tailor the available triggers, actions, subflows, and UI features to specific roles, such as showing only HR-related actions to users with thehrmanagerrole.
Show less
Key Features
- Content Definitions: Define types of Workflow Studio flow resources (triggers, actions, subflows, etc.) that can be filtered. Definitions can include entire resources or be refined by conditions and tags to target specific subsets of content.
- Content Filtering Rules: Associate a single user role with a content definition to specify which users can access particular content. These rules enforce role-based visibility and accessibility within Workflow Studio.
- Feature Access Filtering: Control user access to Workflow Studio UI elements and sections either via content definitions and rules or a simplified UI for common feature restrictions.
- Read-only Flows: If a flow contains content restricted from a user, the entire flow becomes read-only for them. Users can still run the flow but cannot modify or copy it. This behavior does not apply to feature filtering, where inaccessible features simply do not render.
Access Behavior Summary
- When users have the appropriate role, they can view, select, copy, and modify flows, triggers, subflows, actions, steps, and UI elements.
- If users lack roles granting access, the corresponding content is hidden during design, flows that include restricted content become read-only, and those flows or components cannot be copied or modified.
- Transform functions have special handling: if restricted, they become read-only but the rest of the flow remains editable.
Practical Application for ServiceNow Customers
- Use content definitions to specify which Workflow Studio components relate to particular business functions or roles.
- Create and modify content filtering rules to enforce role-based access control, ensuring users only interact with relevant workflow components.
- Manage feature access to tailor the Workflow Studio UI according to user roles, improving usability and security.
- Leverage read-only flow behavior to maintain flow integrity when users encounter restricted content, preventing unauthorized changes while still allowing execution.
Next Steps
- Configure content filtering definitions to outline accessible content types for your users.
- Set up content filtering rules to map user roles to these definitions, enforcing access control.
- Review and adjust feature access settings as needed to refine the Workflow Studio experience for different roles.
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 flow 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 hr_manager role in human resources is creating a flow, show only the set of actions and subflows that are relevant to HR cases.
- Content definitions to specify types of content.
- Content filtering rules to determine who can access the content.
Content definitions
Content definitions specify a type of Workflow Studio flow resource. Resources are the key components of Workflow Studio flows, such as triggers, actions, and subflows. Create definitions to include an entire resource, or refine your definitions through conditions. For example, you can create a definition that includes all flow triggers, or you can use conditions to include only triggers with a category of date.
You can further refine content definitions through tagging. Add 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 flows, content filtering rules determine what content the user may access based on the user's role.
Feature access
You can also filter access to Workflow Studio flow features. Features are UI elements and sections. Access to both elements and sections can be managed by configuring content definitions and filtering rules. However, access to UI elements can also be managed through a simplified UI. For more information, see Manage access to Workflow Studio flow features.
Read-only flows
Users may be able to view a flow, subflow, or action containing content that they can't normally access. For example, a flow that's visible to a user might include an action the user wouldn't usually be able to view. When a flow contains restricted content, the entire flow becomes read-only. Users can run the flow but can't modify or copy it.
The creation of read-only flows doesn't apply to feature filtering. If a user doesn't have access to a feature, the feature doesn't render for that user. It doesn't affect the ability to copy or modify a flow. If a user doesn't have access to transform functions and uses a flow that already has a transform function applied, the transform function is read-only. The rest of the flow can still be copied and modified.
Access summary
| Resource filtered | User has role | User does not have role |
|---|---|---|
| Flow |
|
|
| Flow execution details | The flow execution details are visible. | The flow execution details are hidden. |
| Trigger |
|
|
| Subflow |
|
|
| Subflow execution details | The subflow execution details are visible. | The subflow execution details are hidden. |
| Flow logic |
|
|
| Action |
|
|
| Action execution details | The action execution details are visible. | The action execution details are hidden. |
| Step |
|
|
| UI elements and sections, excluding transform functions |
|
|
| Transform functions |
|
|