Wednesday
Hi all,
I have create a workflow to query some switches and add the output to a file, in the next script of the flow I convert the file to a readable format.
only if selected multiple switches than the convert script block runs multiple times.
is the away in a workflow to run a script without the devices? Like the email part of the flow only runs once.
so the cirkelt part needs to run after and only once
kind regards
Mark
Solved! Go to Solution.
Wednesday
Just for clarification, the device's variable applies to the entire workflow. TO let run a single activity, only one of many devices used you have to use another approach
use emc_vars['deviceIP'] to know the current device IP and emc_vars['devices'] where the list of all device IPs are contained. You can than check if the emc_vars['deviceIP'] in the first position of emc_vars['devices'] for let it run and all other have to stop the activity execution.
yesterday
Thx Markus !!!!
Ideed made a check if its the first device in list if so run the convert if not than skip convert.
kind regards Mark
Wednesday