Persistence Activities

Hi All,

Since UiPath persistence activities can’t be used inside For Each to send data in form of Tasks to Action Centre, what is the alternative approach to this?

Your automation should just be a top-down that runs one item. For example…

Dispatcher - loops and creates queue items
Persistence - picks up queue item, creates in Action Center, waits for Action Center to be completed and then does the rest of the steps

The persistence automation would be triggered by a Queue Trigger and you’d have one job for every queue item

1 Like

Using persistence activities has some constraints. One of them is that the persistence Activities have to be used only in the XAML set as Main XAML

We suggest to check more on this on the docus / UiPath Academy
Also have a look at the Long running Workflow / Orchestration Process Pattern

One of more modelling techniques is about
Loop over all QueueItems (e.g. Parallel For each)
Create the task
Wait for For the task
Contiunue when task is submit

And will result that up to certain Limit different Jobs will be started and get individually suspended when waiting for the task

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.