Create your first automation in just a few minutes.Try Studio Web →
by Internal Labs
0
Activity
<100
Are resilient workflows able to be placed in an invokable xaml (let's take InitAllApplications.xaml from RE_Framework, for example) or can only be used in an Orchestration Process entry point (main.xaml)?
Great question! The persistent retries and escalation via action center task won't work in invoked workflows because persistence is not supported there. The resilient activity can still be used in an invoked workflow to do transient retries. It will detect the lack of persistence. The fallback when unable to persist is currently to throw an exception.
For next version, I'm adding an option for what do after the retries are exhausted. The current version escalates if possible. But other options would be to immediately restart from the beginning of the container, terminate, throw, skip, etc.
When it comes to solving the problem of persistence outside of the main xaml, I see two potential options. One is to address the problem from the robot and persistence activities. There is some complexity here as the robot is starting a new workflow on the invoke. What to do when parent or child or multiple parallel children decide to persist is complex. Another approach is an alternative to invoke workflow that embeds the sub workflow xaml. That may require changes in studio to work.
Technical
Version
1.1.0Updated
December 11, 2023Works with
Studio: 22.10+
Certification
Silver Certified
Support
UiPath Community Support