I’m trying to invoke 2 workflows inside an for each loop but the invoked file won’t run.
Hi, does an error occur when you are trying to run it?
Mightbe the dtResult variable doesnot have value, so the bot will not get inside the loop
If dtResult s value is coming from the above invoke workflow, make sure you have given the argument direction as “out” inside the workflow
In the Invoked work file. It doesn’t execute the actions inside it.
dtResult does have a value and it successfully extracts the data needed and the argument direction was also “out”.
can you debug it and check the value of dtResult on immediate panel
Is the bot not able to get into the First invoke flow ? or the second invoke flow which is present inside the loop?
Can you check if the execution reaches the Do activity inside your for each row? You can run it in debug mode with break point on the invoked workflow (Tab_B Create Order).
The bot is able to get into the first invoke workflow which is not inside the loop. The second and third invoke workflow is on the loop. The bot is able to go to the 2nd invoke workflow whoever it doesn’t execute the actions inside of it.
@mark.mavin.andales
can you share the screenshot of error.
It doesn’t have an error. It’s just the bot doesn’t execute the actions inside the invoke workflow inside the loop.
Can you just show inside of 2nd work flow? it might have some if conditions or loop i guess
@mark.mavin.andales
use the step into debug method to check it and check it the bot is entered in the invoke workflow or not.