오류가 났을때 글로벌 핸들러로 넘어 간 후, 처음부터 재시작하고 싶은데 액티비티 혹은 좋은 방법이 있을까요?
Yes, you can restart from the beginning when an error occurs in UiPath. There are a few ways to do this:
- Use the “Terminate Workflow” activity followed by a “Call Workflow File” activity. You can place these activities in the Global Exception Handler, and when an error occurs, the workflow will be terminated and then immediately restarted from the beginning.
- Use a “Sequence” activity to encapsulate your main workflow and use the “Throw” activity to raise an error when you want to restart the workflow. In the Global Exception Handler, catch the error and use the “Call” activity to call the Sequence again.
- Use a “Do While” loop and a flag variable to control when to restart the workflow. When an error occurs, set the flag variable to true, and in the “Do While” loop, check the flag variable. If it’s set to true, restart the workflow from the beginning.
These are a few of the options available to restart a UiPath workflow from the beginning when an error occurs. You can choose the method that works best for your use case and requirements.
Screentshot plz…!!