Nesting Activities

Hello, for the Working With Multiple Templates Exercise, I nested the Use Word File in the IF Action, and I notice in the solution file that it was not nested into it, but my automation works fine. Should it be not nested or does it not make a difference?

Hello @Shyam_Patel

In the context of the task being automated, it doesn’t really matter if the Use Word File activity is inside or outside the If activity, this is because of the presence of the Skip Current activity, which for each time the IF condition evaluates to FALSE, doesn’t allow the bot to execute any other step within the Excel For Each Row envelope.

In practice though, and to cover all scenarios, it is much safer to place the actions to be taken inside the IF block.

Happy Automation!!!