A community member developed a logon script designed to identify outdated devices by comparing hardware models against an approved list. This script successfully alerts users via a pop-up and records the device status in a ControlUp data index if the device is deemed outdated. The member then sought advice on automating a workflow that would create Jira tickets for these outdated devices, including Dell warranty information, rather than running the workflow manually as currently configured.
The key challenge was triggering the workflow automatically following detection of an outdated device. The existing script writes to a data index to flag such devices, and the member wanted the workflow to start as soon as this condition arises without manual intervention. Various ideas were proposed, such as directly starting the workflow every time the script writes to the data index or scheduling periodic checks against the data index for new entries.
The recommended solution leverages ControlUp alerts and workflows integration. By creating an alert that monitors the relevant data index field—such as “outdated”—you can have the alert trigger automatically when out-of-compliance devices are detected. This alert then acts as a listener to start the workflow immediately. Linking the alert to the workflow ensures it runs dynamically and only when triggered by actual events, avoiding the need for scheduled polling or manual starts.
This approach uses native ControlUp alert capabilities to watch custom data index fields and invoke workflows automatically on alert triggering, enabling seamless integration for processes like Jira ticket creation and data enrichment (e.g., warranty pulls from Dell). For further information on configuring alerts and workflows in ControlUp, the official documentation at https://docs.controlup.com can provide comprehensive guidance.
Read the entire ‘Automating Workflow Triggers in ControlUp Using Alerts on Data Index Fields for Device Compliance Monitoring’ thread below:
I’m working on a new workflow, but I’m a bit stuck: I created a script that runs on a computer at logon, checking if the device is outdated (based on a list of allowed HW models in the script). The script runs fine: it shows a pop-up to the user and writes to a data index if the device is no longer allowed. I want to add an extra step using a workflow: every time a script has detected an outdated device: I want to create a ticket in Jira with the basic device info (there is a check for duplicate tickets). I also want to add the warranty information (we are using Dell devices). Creating the ticket and getting the Dell warranty is no problem, but I’m struggling to get the workflow starting. For now it is set to manual, but I want it to start automatically. What would be the best way to go?
• Start the workflow every time the script writes to the data index? => How can I do that?
• Run the workflow once every hour/day/… and check for new entries in the data index?
• Other options…
All ideas are welcome!
You can create a alert, that looks at that dataindex
and for the field “outdated” as an eg
then in worklows, you can then select listener as the start and point it to the alert
so if the alert is triggered the workflow will run
Continue reading and comment on the thread ‘Automating Workflow Triggers in ControlUp Using Alerts on Data Index Fields for Device Compliance Monitoring’. Not a member? Join Here!
Categories: All Archives, ControlUp Scripts & Triggers, ControlUp Workflows
