I have a few requirements and would appreciate your suggestions. I need to send a daily email that contains a report summarizing any processes that failed during initialization.
Do you have any recommendations or ideas on how I could achieve this efficiently? Any input would be helpful!
Yes, if bot failed to open application in Init state, it leads to system exception and end state will close the process.
Lets say, I have 50 process running in unattended mode, some of the process might be failed in Init state due to (not opening the application, Password expired to open the website).
taking above scenario, i need to generate report which ever process failed only in Init state
Init state catch block needs a flag init_Fail, that captures the failure in init state, you may take an assign activity as:
init_Fail = exception
the flow should now go to end state, in the end state use an if activity with the condition:
init_Fail isNot nothing then append process information in an excel file at a shared location