Hi All,
I’ve a List in For Each, I have to call workflow Dynamically according to the currentitem in the List, How can I achieve this, pls help anyone
Hi All,
I’ve a List in For Each, I have to call workflow Dynamically according to the currentitem in the List, How can I achieve this, pls help anyone
Hi @NathanSK
Welcome to the Community !
Try this way
Assign the Currentitem value into string, then pass string into the workflow file name field
Or You can add the multiple if condition based on the for each value, then you can add workflow for each value
Regards,
Gowtham K
How many workflows(assuming one per each scenario) are you expecting to be invoked?
if there are only 2 scenarios, simple “If-else” inside your For/foreach loop works,
if its more than 2 scenarios, then a “switch case” inside your For/foreach loop would work.
regards
SG.
Welcome to the community
variables are supported in workflow name field in invoke workflow file activity…can use those as needed
cheers