A user asked about the format used for Device ID. Another user suggested using the "associated_id" field and provided instructions on how to use it in subsequent nodes. They also mentioned using "{{Start.event.associated_id}}" in the Device ID field and mentioned it can be applied to any field that uses a Device ID. Another user tested this with Device Performance and confirmed it works. There was some confusion about the input array not showing the value, but others confirmed it works with associated_id.
Read the entire ‘Using Device ID in ControlUp Workflows’ thread below:
Hi all, what format does Device ID use? I have a workflow with a Listener trigger type that looks for a specific alert. The alert output includes the computer name as “associated_name”. How can I use that in the Device ID field to retrieve Memory Available?
Another screenshot
Hey Arthur, we are still refining some of this, but you first need to put the “event” input variable in your Start node, like this:
And then in subsequent nodes, you can call {{Start.event.}} where field is one of these:
associated_id is the device id I think, but let me double check
I already have the “associated_name” data, I just don’t know how to apply it in the Device ID field.
Yes
You will need to enter {{Start.event.associated_id}} in that field
I thought I already tried that and it just ended up repeating it back in the output.
That does however work in the JSON for HTTP POST
Let me test that device performance node on my end
I used Device Performance as an example, but this applies to anything that uses a Device ID field.
That says associated_name
You need associated_id
ugh…..
lol
sorry. Let me try again.
hm
It’s not showing me the value in the “actual” array
Let me check with a colleague because I’m pretty sure she had this working with JIRA integration yesterday
Sounds good. Thanks.
Yeah works
Not sure why the input array -> actual doesn’t show the actual value in the UI, but it works with associate_id
Works for me also!
There goes my evening…..
Now to create the ultimate HTTP Post
Wait until you see my “create a shipping label with UPS API” HTTP Post
Continue reading and comment on the thread ‘Using Device ID in ControlUp Workflows’. Not a member? Join Here!
Categories: All Archives, ControlUp Scripts & Triggers