How to get the process details under the Specific folder?

Hi ,

Here i am trying to get the details of the process which are under the Shared/FINANCE Folder in orchestrator how to get it through an API, at present i am using the orchestrator Http Request, but it is giving me all processes list.

Hi @adarsh_kotagiri

Please check the below thread

Regards
PS Parvathy

1 Like

Hi @adarsh_kotagiri

The Processes API returns all folders by default. First get the FolderId (OrganizationUnitId) for the FINANCE folder, then pass it in the request header as X-UiPath-OrganizationUnitId. After that, the API will return only the processes from the Shared/FINANCE folder.

1 Like

You can use the following endpoint:

https://<orchestrator_url>/odata/Processes?$filter=Folder eq '<folder_path>

Note that the Folder property of the processes in Orchestrator API is case-sensitive, so make sure to use the exact case of the folder name when filtering.

1 Like

Hi @adarsh_kotagiri

You must pass the Folder (Organization Unit) ID in the request.
Otherwise, Orchestrator returns processes from all folders.

Get Folder ID for FINANCE

GET /odata/Folders

Find the Id for folder = FINANCE

Use that Folder ID in header

In your HTTP Request activity, add this header:

X-UIPATH-OrganizationUnitId : <FINANCE_FOLDER_ID>

Then call:

GET /odata/Processes

This will return only processes under Shared/FINANCE

Regards
Gokul

1 Like

@adarsh_kotagiri

in Orchestrator http request activity you have folder field where if you select the folder you need or give the folder details it would request and get details only from those folders

cheers

1 Like

@Monali_Vekariya gave the right solution! Just adding quick steps:

Step 1: First get your folder ID

GET /odata/Folders?$filter=DisplayName eq ‘FINANCE’

Copy the Id value you get.

Step 2: In your HTTP Request activity, add this header:

Header name: X-UiPath-OrganizationUnitId
Value: paste the folder ID from step 1

That’s it! Now you’ll get only FINANCE folder processes.

Small tip: Save that folder ID somewhere - you can reuse it instead of calling the Folders API every time.

Hope this helps!

1 Like

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