Hello all,
I have a scenario in orchestrator looking for your suggestions .
Scenario:
I have 10 process packages in my orchestrator
Ex: Testbot1
Testbot2
Testbot3
Etc
I have folder structure like
Country → state–> City
I have 4 country folders
Under country folder have 40 sub folders as state names
Each state is having 5 city sub folders
Now my scenario is
I want to create my process under 1 country and 8 state and 3 city folders it means 24 process i need to create with Package Testbot1
@sanjay210no & @Anil_G can you please help me how to the credentials and token to make API. I have some restrictions in my client id. If it’s accessible with our community version. Can you please help me in detailed steps how to get the token to make API calls. I will test once in local
@Anil_G am i doing this correctly. I’m trying to get the folder based on its id but it’s not working giving 400 error
Endpoint: "/odata/folders({123456})
When i post only this it’s working
Endpoint: “/odata/folders”
And also can you please share me the endpoint how can I update single process in multiple folders and also the json body how can I feed my package and process names details and folder names
Hi @Anil_G I’m able to get folders and process details but when i try to create the process in folder it’s throwing errors. Attaching here what I’m using to create process
Hi @Anil_G I’m using like this 1 is body and another is header with folder id. When i hit api it gives 201 code and when i re run it again it shows process already exists but it doesn’t create any process in folder.
I tried like this also “Generate dispute:1.0.6” it shows like package is not exist
yes org id is same as folder id…also 201 is returned when its created can you check in right folder..fid would be in the url when you are on that folder
201 should have created ..can you recheck once
Also may I know where are you giving the header details as I dont think it has header input and folder in orchestrator http request need to be passed in orchestrator folder path field
may be you are running request from different folder path without selecting so it would have created in that folder