FlexiRule Docs
Automatically Assign Documents
Visual step-by-step tutorial on routing documents to specific team members based on field selections.
Tutorial: Automatically Assign Documents#
In this tutorial, you will visually build a rule that automatically assigns high-priority Support Tickets to a Senior Engineer and updates ticket status.
Scenario Overview#
Business Goal: Instantly assign critical support tickets to senior staff without manual triage.
- Target DocType:
Support Ticket - Trigger Event:
DocType Event->Before Save - Visual Nodes:
Start->Check->Update Record->Set Value
Step-by-Step UI Instructions#
Step 1: Create the Rule#
- Go to FlexiRule -> Rule List -> New.
- Set Rule Name to
Auto-Assign Critical Tickets. - Set Document Type to
Support Ticket. - Set Trigger Event to
Before Save. - Click Save and open the Rule Builder.
Step 2: Configure the Check Node for Ticket Priority#
- Connect a Check (Condition) node from the Start node.
- In the Check configuration panel:
- Set Group Logic to ANY.
- Click the first value field, type
@to open the Smart Value Selector, and select Support Ticket → Priority. - Set Operator to Equals, enter
High. - Click Add Condition.
- Select Support Ticket → Priority, set Operator to Equals, enter
Critical.
Step 3: Add Update Record Node (Create Assignment)#
- From the True outbound port of the Check node, connect an Update Record action node.
- In the Update Record configuration panel:
- Set Target Operation to
Create ToDo / Assignment. - In the Assigned To field, enter
senior_engineer@yourcompany.comor use@to select a user field. - Click the Description field, type
Critical issue requires attention for ticket, type@to open the Smart Value Selector, and select Support Ticket → Name.
- Set Target Operation to
Step 4: Update Ticket Status using Set Value#
- From the outbound port of the Update Record node, connect a Set Value node.
- In the Set Value configuration panel:
- Click Target Path, type
@, and select Support Ticket → Status. - Set Operator to
Set. - In the Value field, enter
Assigned.
- Click Target Path, type
Step 5: Test and Enable#
- Click Test Run, select a High priority ticket, and click Run Test.
- Verify the visual path highlights in green, creating a ToDo and setting ticket status to Assigned.
- Close the builder, enable the rule, and save.
Was this page helpful?