Workflow Scenario #68
-
|
Getting to grips with Workflows and so far it's pretty smooth. But I am trying to workout the best way to approach a scenario I have, we will be having people starting processes, which for now I am hard coding, eventually they will be dynamic user created flows. But I need something now. So the process starts after someone submits a form, based on the values selected will determine which activities are triggered. But how should we implement a view for the initiators to see the state of their running workflows, for example, waiting for approval or waiting for activity X. Since ->running() returns a generic status. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
https://laravel-workflow.com/docs/features/queries Queries are meant for this. They enable you to pull information out of the workflow. Then outside of your workflow you can get the current step like this. |
Beta Was this translation helpful? Give feedback.
https://laravel-workflow.com/docs/features/queries
Queries are meant for this. They enable you to pull information out of the workflow.
Then outside of your workflow you can get the current step like this.