Comment 1 for bug 1751007

Revision history for this message
Moshe Elisha (melisha) wrote :

Will be good to add some field to support both "publish" and "advanced publish" for all scopes so customers can switch to the new field and completely ignore the old one ("advanced_published" as a temporary name).

For example:

wf:
  tasks:
    A:
      action: std.noop
      publish:
        my_var: 1

will have "advanced_published" like:

        advanced_published:
          branch:
            my_var: 1

Another example:

wf:
  tasks:
    A:
      action: std.noop
      on-success:
        publish:
          branch:
            my_var: "branch value"
          global:
            my_var: "global value"
          atomic:
            counter: <% global(counter) + 1 %>

will have "advanced_published" like:

        advanced_published:
          branch:
            my_var: "branch value"
          global:
            my_var: "global value"
          atomic:
            counter: 5