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 flow content based on user roles. This ensures users see only relevant, non-sensitive content when designing or interacting with Workflow Studio flows, actions, subflows, triggers, and UI features. Content filtering helps tailor the development environment 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 resources (triggers, actions, subflows) that users can access. Definitions can cover entire resource types or be refined by conditions and tags.
- Content Filtering Rules: Associate specific user roles with content definitions to control access. These rules determine which content is visible or hidden based on the user’s role.
- Feature Access Filtering: Manage access to Workflow Studio UI elements and sections using content definitions and filtering rules. UI element access can also be managed via a simplified interface.
- Read-only Flows: When a flow contains restricted content, it becomes read-only for users lacking access. Such users can run but not modify or copy the flow. This read-only mode applies to content filtering but not to feature filtering, where restricted features simply do not appear.
Access Behavior and Outcomes
Access to Workflow Studio flow components depends on user roles:
- Visible Content: Users with the appropriate role can select, copy, and modify flows, triggers, subflows, actions, and steps.
- Hidden Content: Users without the required role cannot select or copy the content. Flows containing such restricted content are read-only, preventing modifications.
- Flow and Execution Details: Visibility of flow and subflow execution details is also controlled by filtering rules.
- UI Elements and Transform Functions: UI elements and sections are either visible or hidden based on access rules. Transform functions may be visible and editable or read-only if the user lacks access.
Configuration Guidance
- Define Content: Create content definitions that specify which resources users can access, using conditions and tags for refinement.
- Set Filtering Rules: Link user roles to content definitions to enforce access control throughout Workflow Studio.
This configuration empowers administrators to enforce role-based access, improving security and relevance of Workflow Studio content for different user groups.
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 |
|
|