Hello,
I list all pending jobs with get jobs activity. Then i want to check if there is a pending job with priority level high or above. As i see, there is no available attribute for this property how can i get priority level of a job.
Hello,
I list all pending jobs with get jobs activity. Then i want to check if there is a pending job with priority level high or above. As i see, there is no available attribute for this property how can i get priority level of a job.
it can depend on the referenced Package Version of UiPath.System.Activites and maybe will be offeren in newer / future versions.
Priority is offered as a filter
as a workaround also have a look at Swagger if maybe this way allows you the custom retrievable
in orhestrator we can set more specific priority levels like Very high medium-high etc. However both in filter mode and this json response there are only three levels of priority included. Is there a reason for it?
setting more granuarly priorities (as shown in the screenshot and or mentioned in the docu)
can maybe used for technical internal job list calculations
However, we can only use what is offered (e.g. Rest API, OrchestratotJob Class). And here we do see that only these 3 levels are offered.
However, we suggest to try and do the RnD as mentioned above (Filter, Rest API)
P.S. To learn how Orchestrator interface actions translate to API call is good to inspect it in browser developer tools (F12)
E.g. below you can see that “Critical” priority translates to SpecificPriorityValue = 95
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.