How to add a process into a folder using Orchestrator API?

Need help in linking processes to folders…
Is seems to be no linkegde between the two.

Thank in advance

Hi @Lior_Ben_Naim ,

Welcome to the community !

1st Publish your process to Orchestrator.
2nd go to Packages and select the respective one and Create process.

Hope this helps.

Thanks.

Here you can find an example of adding a Process to an Orchestrator folder. We assume that you already published the packgage/process to your Orchestrator tenant.

URL: https://cloud.uipath.com/ORGANIZATION_NAME/TENANT_NAME/orchestrator_/odata/Releases
Method: POST
Authorization: "Bearer " + “access_token”
Headers:
Content-Type: application/json
X-UIPATH-OrganizationUnitId: FOLDER_ID
Body of type JSON:

{"Name":"AddProcessToFolder","Description":"Description sample","ProcessKey":"ActionsExample","ProcessVersion":"1.0.9","EntryPointId":1333474,"InputArguments":"{}","SpecificPriorityValue":45,"JobPriority":null,"RobotSize":null,"ResourceOverwrites":[],"Tags":[],"ProcessSettings":{"ErrorRecordingEnabled":false,"Duration":40,"Frequency":500,"Quality":100,"AutoStartProcess":false,"AlwaysRunning":false}}

Example:

Headers:

Authorization:

Body:

Results in the Orchestrator folder:

Let us know if this helped you.