How do I create a workflow execution cleanup policy?

Steps
 

Open Workflows, Policies.


Click png5.pngPOLICY. The Create Policy form opens.


Enter a policy name.


Define the workflow executions to be cleaned up by the policy:

  1. Update the Older Than (Days) parameter as needed. By default, executions are retained for 30 days.

  2. Select a tag to filter on if needed.

  3. Select an execution state.

For example, if you enter 30, test, and SUCCESS, when the policy executes it will delete successful executions with the test tag that are older than 30 days.


Configure the schedule:

  1. Click Schedule and configure the schedule parameters.

  2. Click Custom and configure a cron expression in the format minute hour day-of-month month day-of-week.

    Cron expression wildcards are supported. For example, the cron expression 0 0 1 * ? indicates midnight on the first day of the month.

Note: Nokia recommends that schedules not be set to run more than once a day.


Click CREATE.

End of steps