Workflow and Connect Server Connect Resources non-synchronous

Workflow and Connect Server Connect Resources non-synchronous

http://localhost:9340/serverengine/html/cookbook/index.html

I update connect resource with PRes Connect Server rest API,
It successfully create pdf in All-In-One Service pages

but when I using Workflow to debug,
the connect resource datamapper and template does not exist!

What can make it sync using PRes Connect Server rest API?
Or my settings was wrong?

You need to send the resources to Workflow. From the Designer, go to File > Send to Workflow and select all the resources you use in your process.

There is no need for you to send them to the OL Connect Server beforehand because Workflow will take care of that automatically.

1 Like

Hi @Phil

But I consider that my project will use PReS Workflow or not !

First, I definitely install PRes Connect Server to test real time flow (using rest API),
and then I also update connect resoure by PRes Connect Server rest API.

When add great amount flow throught SFTP input by Workflow, because It can’t sync connect resources.

Therefore update connect resourecs have two step

  1. use PRes Connect Server rest API to update ( For real time flow by Workflow)
  2. open Designer File > Send to Workflow ( For great amount flow by Workflow)

May Workflow can sync all connect resourece from PRes Connect Server?

No, Workflow uses its own resources. So if you want to perform operations on OL Connect from Workflow, you have to send the resources to Workflow. Workflow will hen take care of uploading them to the OL Connect Server if necessary.

If you don’t use Workflow (for instance, when you use the REST API), then you have to send the resources directly to the OL Connect Server.

1 Like

Hi @Phil,
Thanks, I got it!