Question about Action Center Form status code from GET /forms/TaskForms/GetTaskFormById

Hi everyone! I am using the orchestrator API to get informations about a certain form from its ID, through the UiPath.WebApi with endpoint in subject. In particular, I am interested into the status of the form: the response example in swagger just shows options as “[ Unassigned, Pending, Completed]”, while the response I get shows possible results as “[0, 1, 2]” for now. I just need to be sure that 0=Unassigned, 1=Pending, 2=Completed and no other possibilities could show up. Is there someone who can provide me a link to UiPath official documentation that justifies this? I wasn’t able to find it on my own!
Thanks!
Riccardo

Hello @RickyMasa

I am not sure if there’s a documentation on this. However, swagger acts as a source of truth for the APIs as they are exposed directly for the Orchestrator in the context.

Also, from the official docs:

Navigating to https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/$metadata returns the list of possible values for the enums

Hope this helps!

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