You configure the Begin block to determine when workflows run. The workflow can be scheduled to run at a specific day and time, or you can add rules that run workflows when specific events occur, such as record updates.
Information
You can also schedule a workflow and add rules.
You can also determine who runs the workflow that you add by enabling user actions.
Content
More actions for triggering workflows
When you add a workflow, the Begin and End blocks are added to the workflow sandbox.
List of Begin block fields
Field Name | Description |
Name | The name of the block, which is the Begin block. |
Description | Enter a description, for example, of how the Begin block will be triggered and its purpose. |
Objects | Automatically populated with the name of the object. For example, if you create an Assets workflow, Assets is displayed in the field. |
Actions |
Actions that you can select to trigger the workflow. For example, if you want to use a schedule to trigger the workflow, you select Schedule. See the table below for descriptions of other actions. |
More actions for triggering workflows
Actions | Descriptions |
New | Workflow is triggered when a new asset record is added. |
Edit | Workflow is triggered when an asset record is edited. |
Delete | Workflow is triggered when an asset record is deleted. |
Linked Child | Workflow is triggered when a child asset is lined. |
Unlinked Child | Workflow is triggered when a child asset is unlinked. |
Linked Parent | Workflow is triggered for the child asset when it is linked to a parent asset. |
Unlinked Parent | Workflow is triggered for the child asset when it is unlinked from a parent asset. |
Add rules
You can add fields manually to create rules. Or, you can import a search that you saved into the Begin block by selecting one from the Custom list.
Scheduled workflows
To ensure data remains consistent and to update external systems regularly, you can create a schedule.
You can run scheduled workflows for active, archived, or all records. When you run workflows for archived asset records, it restores the records to an active state.
Rule criteria
You can add rules to target the records that the workflow affects when an action completes. For example, you can configure workflows for a subset of records , such as asset records, rather than for all asset records. To create complex combinations of rules, you can use And or Or operators and rules.
Examples
To trigger a workflow that modifies computers, you can add the rule:
Manufacturer Equals <manufacturer_name>
You can add two or more rules to modify records:
Or
Manufacturer Equals <manufacturer_name_1>
Manufacturer Equals <manufacturer_name_2>
Tip
To review the records that will be affected by the workflow that you are creating, click SHOW IN LIST VIEW.
You should always complete this action when you create a workflow to ensure that you target the right records and to determine how many records will be affected.
Performance
To avoid adversely affecting performance, workflows that affect large volumes of objects, shouldn't be run multiple times daily.
User actions
When an administrator creates a workflow, they can allow other users, with the appropriate role, to run the workflow on the details page for the object.
Field Name | Description |
Allow user actions | You click the switch to permit users with other roles to run the workflow. |
User action name | You enter a meaningful description of the purpose of the workflow. |
User action order | You can determine the display order of the workflows for users that are permitted to run multiple workflows. Enter a number >0 and <101. |
Roles |
You can select a role, multiple roles, or all roles. The users’ role will determine whether they can run the workflow. The role or roles that you select must have permissions to add and edit workflows for the object. Tip |
Rule criteria |
You can reuse the rules that you added on the INFORMATION tab or you can add new or more rules. |
Result
When the workflow is validated, saved, and launched, users with the appropriate roles and privileges can run the workflow.
Comments
0 comments
Please sign in to leave a comment.