Add an option to reuse successful 'with-items' actions if a task failed

Registered by Renat Akhmerov on 2016-12-23

Now if we run a 'with-items' task and it fails then all of its actions get ignored if we run this task again (e.g. with 'retry' policy).

We can add an option to reuse successful actions in the next iteration of 'with-items' task.

Example:

my_wf:
  tasks:
    task1:
      with-items: i in <% range(0, 100) %>
      action: some_action param=<% $.i %>
      reuse-actions: true

A simple scenario when this behavior would be useful is when we need to create a lot of heavy resources (VMs, storages, etc.) and most of them are created successfully and some are not. It doesn't make sense to ignore successfully created resources and start creating them all again from scratch.

Blueprint information

Status:
Not started
Approver:
Renat Akhmerov
Priority:
Medium
Drafter:
Renat Akhmerov
Direction:
Approved
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.