The example booking workflow's operator-decision flows compare the bare result variable against a scalar (validation == approved), but a comment/review task stores its outcome as a structured {result, comment} value, so the outcome lives under result. The orchestra example workflows use the dotted form (decision.result); this workflow should follow the same convention.

Seven conditions are affected: n_validate (validation), n_refund_review (refund_review) and n_attendance (attendance), which now read validation.result, refund_review.result and attendance.result.

Note: orchestra now resolves a bare result variable to its result element too (a comment/review outcome routes the same whether you write the variable or its .result path), so this is not a functional break, it aligns the example with the documented convention and reads clearly.

Issue fork yoyaku-3610525

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

  • mably committed cb8ea1b4 on 1.x
    fix: #3610525 Example booking workflow: route decision conditions on the...
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.