Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify workflow step functionality #439

Open
jrhender opened this issue Jan 7, 2025 · 1 comment
Open

Clarify workflow step functionality #439

jrhender opened this issue Jan 7, 2025 · 1 comment
Assignees
Labels
ready for PR Issue ready to be resolved via a Pull Request

Comments

@jrhender
Copy link
Contributor

jrhender commented Jan 7, 2025

Workflows currently include step functionality (https://w3c-ccg.github.io/vc-api/#create-workflow). The Create Workflow request body includes a nextStep property which provides a clear property to define a linear sequence of steps. However, the intent of workflow steps is to support more complex workflows such as ones that include branching logic. The spec doesn't clearly explain this intent or how branching logic could be configured.

Note that this was discussed in the 2025-01-07 call. @dlongley mentioned that one way that branching could be configured is using the step templates functionality.

I propose that the following be added to the spec:

  • Text that describes that the intent of the steps feature is to support branching and repeated steps.
  • Text that describes how templates could be used to implement branching
    • Note that I'm unsure if this text should be normative
@msporny msporny added the ready for PR Issue ready to be resolved via a Pull Request label Jan 14, 2025
@msporny
Copy link
Contributor

msporny commented Jan 14, 2025

The group discussed this on 2025-01-14 and agreed that it was ready for PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for PR Issue ready to be resolved via a Pull Request
Projects
None yet
Development

No branches or pull requests

2 participants