2015-06-09 06:21 PM - edited 2015-06-09 06:52 PM
Experts, where can I get a definitive list of different WFA job status. As we are doing some rest call and checking the job stauts need the exact list so that condition checking can be done for differen status. Able to see, planning,executing,completed,failed, but for the other states ? like pending ? approval etc ?
I can see it in the execution tab, but need exact string that is returned via rest.
Thanks In Advance
Solved! SEE THE SOLUTION
2015-06-10 01:00 AM
There are no REST apis to get the list of workflow execution jobs. But you can still get it. Use the logic I've use in the below doc :
You can get all information you are looking for.
2015-06-10 01:14 AM
The list of valid job statuses that WFA can return are:
SCHEDULED, PENDING, EXECUTING, COMPLETED, FAILED, ABORTING, CANCELED, OBSOLETE, PAUSED, PLANNING
In case the job is waiting for approval as shown in UI, it is PAUSED.
2015-06-10 01:13 PM - edited 2015-06-10 11:01 PM
Thanks Shailaja, exactly what I wanted. Is this documented in any guides or in REST documentaion ?
Often being questioned, what is the source of status. Can you show it in official documentaions.
So having the same documented would be really helpful for us in field.
2015-06-12 02:28 AM
There is no api or proragmatic interface available which can tell who executed the workflow as of WFA3.0. I'll log a feature bug for provide this info inAPI result in future WFA releases. Till then your inconvinience is regretted.
You can get the list of workflows executed in the last 10 days or any X days using my solution mentioned above.
But due to the WFA limitation mentioned , it will not be able to tell who has executed which workflow.