2019.10 - Invoke Workflow error

@nicholas.wein, if you are using the REFramework, how do you integrate the Orchestration Process into REFramework?

1 Like

@Fer Unfortunately, we only support starting new projects from the Orchestration Process template because of the different settings/dependencies involved. In this release, you cannot edit old projects that use REFramework and turn them into Orchestration projects.

2 Likes

:frowning:

Try running the design of the workflow from Mail.xaml file. in that case it should work fine.

In support of what sankar.kuna has said above: In my tests, I was able to use the ‘Resume After Delay’ activity from within an orchestration template, so long as the activity was not called within an invoked workflow. I would guess that workflows containing Persistence activities cannot be invoked.

In my case, I had to break my workflow consisting of a flowchart into two workflows and remove the ‘Resume After Delay’ activity. I then invoked the first activity within Main, followed by the ‘Resume After Delay’ activity, followed by the second workflow.

It would be nice to be able to choose to call Persistence activities from wherever Developers choose inside the project, not just in Main. This may not suit UiPath’s best-practices. If it is supposed to be able to be called anywhere, it may be a bug.

3 Likes

Change following properties from project.json file.
“requiresUserInteraction”: false
“supportsPersistence”: true

4 Likes

image

8 Likes

I had the same issue while creating this from the empty process. Thanks @nicholas.wein!

I am also facing the same issue .is any one find any solution .

Hi @Gopal_Tewari

What is your Studio version? Does any of the hints provided in this topic by other UiPathers help you out?

Hi

I am using UiPath Studio Pro 2020.06.0-beta.93 .

In My process i have created a separate workflow for Creating the action to the Orchestrator, when i run the Process i am getting error as “Invoke CreateActionToOrchestrator workflow: An extension of type ‘UiPath.Activities.Contracts.Persistence.IPersistenceBookmarks’ must be configured in order to run this workflow.”

when i am using the create action activity in my main workflow .it is working fine .
I have created this Process as Orchestration Process .But still getting the same error .

Please suggest @loginerror

Thanks & Regards
Gopal Tewari

I looked around a bit and it looks like

Long-running activities part of the UiPath.Persistence.Activities package can only be used in an Orchestration Process entry point, the file marked as Main.xaml .

See here, the Best Practices part:
https://docs.uipath.com/studio/v2019.0.0/docs/orchestration-process#section-best-practices

From what I’ve found out, this is the cause of the error.

1 Like

Thanks @loginerror for your suggestion ,so it means it always be inside the main workflow .we cant not segregate the Action creation in separate workflow.

2 Likes

Action creation can be placed in other workflow but post action activity “Wait for ***” should be in main, (as per my observation).

2 Likes

yes @megharajky i found the same .Thanks

This worked for me. Thank you so much

did but still getting same error

How you got it worked



Fixed my Persistence Error

ok thank you