VMware Cloud Community
schiguru
Contributor
Contributor

Deleting WorkFlow Executing Run

Hi,

How do I delete work flow execution runs in an automated manner? I see a flow called 'Delete al finished workflow runs' under Remote Management folder. But this will work against a vCO Server in the multi-node setup. I want to delete execution runs of a flow that reside on the Server that I am logged in.

Thanks,

Sri

0 Kudos
3 Replies
cdecanini_
VMware Employee
VMware Employee

I do not think you can directly from the scripting. A work around would be to use the REST plug-in and do it throught the API if possible.

In the vCO configuration you can set the number of max workflow runs per workflow. In the server.log you can see there is often a purge running to remove the excess of workflow runs.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
Burke-
VMware Employee
VMware Employee

Why not just re-configure your vCO servers to have a lower number of workflow runs kept? The default is 100, which can be a bit much for many so reducing to 5 or 10 will be more manageable.

  1. Login to vCO Configuration Web interface
  2. Click "Advanced Configuration" tab in the right pane
  3. Change the value of "Maximum number of runs:" to the desired number you wish to keep (IE: 10)
If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
schiguru
Contributor
Contributor

Thanks Burke, We are going to set it up to 10 as we have the Server.log for future reference.

0 Kudos