Closed tlawrie closed 2 years ago
For team workflows, the dropdown is just the workflows associated with particular team returned from GET /workflow/teams
. However, for user workflows, the workflows are not associated with a particular team but with a user. Therefore, the UI will need to populate the dropdown from GET /workflow/workflows/user
. and exclude the workflow that is currently being edited.
Thanks for the analysis.
GET /workflow/workflows/system
and GET /workflow/workflows/template
, respectively. Run Workflow
dropdown, perhaps to keep the workflow from executing itself. Thanks @amhudson. In discussing (2), i think we remove the limitation for excluding the current workflow. The user can decide, and I am not even sure what benefit excluding it would provide, in that a user could always use two workflows to go in a loop back and forth, so there are ways to do it anyway.
Opened a PR for this and pushed tag 3.5.8 to dev and qa to test things https://github.com/boomerang-io/flow.client.web/pull/111
Describe the bug
When creating a user workflow and using the Run Workflow system task, no workflows show up in the drop down of workflows to choose from.
This may be a UI bug as it could be building the drop up based on data already held of the workflows loaded.
What project does this issue relate to?
Boomerang Flow
To Reproduce
Environment
Flow 3.5.0
Additional Contenxt
No response