How to count how often the process was executed


I`m working on a process which should be executed for a couple times, but at the first execution the process looks different (e.g. logins) than from the second time. How can I design it to execute it properly? Should I create an if or a decision and some kind of variable for counter?

Thank you for your help

Hi balint,

create the counter variable like if ur count is 1 then one flow else if ur count is not 1 another flow

Hi @Balint,

You can keep the counter by using the asset variable in the orchestrator. Or keep the counter in a local file. When the process start you can read it and increase it.

login execution. Please check it that once it finish the process . it has to be logged out.