16 hours ago
Hello,
i'm currently building a workflow, that checks some config parameters on a switch and pastes them into the body of an email.
The script itself works, but when i run this workflow on multiple devices at once, the email activity only sends one email.
I'm not sure whether the variable gets overwritten, whether only one of the runs is allowed to send the email or it gets detected as spam by some intermediate device.
I would appreciate if anyone is familiar with this problem.
15 hours ago
The workflow will treat the email activity as one, it will not get instantiated against every device you run the workflow against.
You probably need to store and consolidate the data retrieved from all the instances of the config activities, you would do that in a separate activity, then feed the results into the email activity.
Feeding data between the different workflow activities is not that easy as the workflow does not cater for it.
You can re-use my libraries if you like: https://github.com/extremetme/XMC-LudoLib/blob/main/functions/lock.py
You can see how it's used in workfows like "Onboard VSP"