Workflow used by many devices

I have a workflow that is being triggered by several devices and the workflow adds a result value to the payload.
Do I need to add the deviceID to those names so they can’t be mixed up between all devices using this flow?
Or are each value only “available” within the payload triggered by each device?

@Lars_Andersson,

Each device will trigger its own instance of the workflow. If the state report of three devices triggered a workflow at the same time. That workflow will run three times – once for each device.

This topic and other workflow mechanics are covered in Course 5 of Losant University. I’d recommend you check that out. If you have already, the videos could be a nice refresher.