Skip to content

alter microflow: content-addressed target resolver (output variable, caption, statement pattern) #713

Description

@ako

Plan item 4.2a in PROPOSAL_mdl_beta_syntax_freeze.md §8.3. Implements ADR-0012, decision 2. First step of alter microflow, which is on the beta gate.

Goal

Microflow activities have no names, so targets are addressed by content, in this order:

  1. Output variable: after $Lines.
  2. Caption: before 'Email is valid?', for splits, loops and activities with a custom caption.
  3. Statement pattern with * wildcards: after commit $Order, drop log * node 'Debug' *.

If an address matches more than one activity, that is an error listing the matches with an ordinal (@2). The resolver never guesses.

Scope

  • The resolver, as the start of an mfmutator alongside pagemutator and wfmutator, working on the stored object collection (mdl/microflowgraph).
  • describe microflow … with handles, which shows the address of each activity.
  • Tests on a Studio Pro-authored flow from the PedApp fixture, e.g. VAL_Feedback.

Not in scope

The graph splice and placement (4.2b and 4.2c), which come next.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions