Add options to Central /executions API to get PENDING executions

Idea ID 1682033

Add options to Central /executions API to get PENDING executions

Hello team,

It would be great to add more possible values to "status" attribute of /executions REST API call:

  • PENDING
  • PENDING_PAUSE
  • PENDING_CANCEL


None of current possible status values (i.e. described on https://docs.microfocus.com/itom/Operations_Orchestration:2018.09/Develop/Working_with_API/REST_APIs/Export_exe_summaries_to_CSV) allows to get PENDING executions.

Scenario
As soon as a flow has a long-running step (say 30-minute SSH operation or 10-minute sleep) and user hits Cancel or Pause in Central UI, then such a flow gets missing in API calls with status filter = RUNNING or PAUSED untill it really gets paused.

Workaround
Only workaround now is to query all executions an look in big paged JSONs for executions with PENDING... status. If OO has a lot of runs in different states, then querying all executions will require to request multiple pages, so more effort in implementation.

Regards,
Oleg

 

3 Comments
Outstanding Contributor.
Outstanding Contributor.
Status changed to: Waiting for Votes
 
Outstanding Contributor.
Outstanding Contributor.
Status changed to: Accepted
 
Micro Focus Contributor
Micro Focus Contributor
Status changed to: Delivered

This idea was delivered starting with the release of OO 2019.02, part of HCM 2019.02 and is available also in the classical release of OO 2019.07.

The documentation was updated here: https://docs.microfocus.com/itom/Operations_Orchestration:2019.02.NG/ExportExecutionSummariesCSV

and here: https://docs.microfocus.com/itom/Operations_Orchestration:2019.07/ExportExecutionSummariesCSV

Besides the API enhancement, we updated also the UI filters: https://docs.microfocus.com/itom/Operations_Orchestration:2019.02.NG/FilterFlows

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.