Skip to main content

Dynamic Data Handling with References

Leverage references to enable dynamic data handling in your workflows, empowering context-aware actions and seamless data flow across modules.

References enable workflow actions to dynamically access and utilize real-time data for conditional logic, record selection, field value assignment, and recipient determination. This is crucial for building complex, interconnected automations that adapt to evolving conditions across modules by using dynamic pointers to retrieve data from previous outputs or existing records.

Where References are Used:

References provide powerful capabilities across various workflow components:

  • Conditional Logic (IF/ELSE and Branch Nodes): Use references to define dynamic conditions that control workflow execution. For example, you can reference the priority of an incoming ticket to route it to different branches.

    • Example Use Case (Condition): The image below demonstrates using a reference (Trigger > priorityId > id) within an IF/ELSE node to dynamically evaluate a condition.

  • Actions (Perform Dynamic Value Assignment): Assign values to fields dynamically by pulling data from previous node outputs or the triggering event. This ensures that actions operate on the most current and relevant information.

    • Use Case Example: If a Major Incident is created with a priority of "High", the workflow should automatically create a Problem record with the same priority, subject, and requester as that of the incident. Also, set the values for the mandatory Problem fields like Known Error, Due By, and Nature of Problem.

  • Reference Selection in Loop Node: Specify which records an action should apply to, typically by referencing records created or retrieved in earlier workflow steps, including within the Loop node.

    • Use Case Example (Loop Node): The image below demonstrates how to select a reference from a Get Requests node (e.g., Get Requests > ccEmailSet) to define the records that will be processed within a Loop node.

Practical Applications:

References enable a wide array of automation scenarios:

  • Cross-Module Automation: Automatically create a Problem record when a high-priority Incident is logged, and then relate the two records using their respective IDs.
  • Dynamic Notifications: Send personalized notifications to the Requester, Assigned Technician, or Department Head based on the context of the incident or service request.
  • Automated Assignments: Implement smart assignment logic that automatically assigns Requests or Problems to technicians or groups based on predefined criteria and dynamic inputs.
  • Data Synchronization: Update fields in one record based on changes or data from another related record.

By understanding and effectively utilizing references, administrators can design sophisticated, adaptable, and highly efficient workflows that significantly enhance IT service delivery and operational efficiency.