Skip to content

still in discussion: add a workflow "state" #290

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

Open
lsteinmann opened this issue Mar 13, 2025 · 1 comment
Open

still in discussion: add a workflow "state" #290

lsteinmann opened this issue Mar 13, 2025 · 1 comment
Labels
enhancement field_desktop Issue concerning the Desktop client typescript Tickets concerning TypeScript Code, https://www.typescriptlang.org

Comments

@lsteinmann
Copy link
Member

lsteinmann commented Mar 13, 2025

A Workflow-Step can be:

  • planned (?)
  • started / inProgress
  • finished / completed
  • canceled?
  • ???

And this could be displayed in the list of workflow-steps in the form of colored labels for easy identification?

But is this really a good idea? (It seems so, since they asked about such a thing and it is somewhat implied by people implementing their own "workflow" fields in categories; but still, I think we should discuss first.

@lsteinmann lsteinmann added enhancement field_desktop Issue concerning the Desktop client typescript Tickets concerning TypeScript Code, https://www.typescriptlang.org labels Mar 13, 2025
@lsteinmann lsteinmann added this to the Field Desktop 3.6.0 milestone Mar 13, 2025
@lsteinmann lsteinmann moved this to Ready in Field Roadmap Mar 13, 2025
@lsteinmann
Copy link
Member Author

summary of chat discussion:

  • if may be convenient to display the state of the workflowstep automatically depending on the current date vs. beginning/end date.
  • workflow state could be validated against beginningDate/endDate (see add beginningDate and endDate to default workflow step instead of execution date #288 )
  • if assigning automatically, this may be incorrect, since we only guess from the dates and have no way of knowing whether this is correct
  • so: conflicting information (e.g. missing endDate but step marked finished; step marked inProgress but endDate is in the past) could be used to display warnings about possible faulty workflow data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement field_desktop Issue concerning the Desktop client typescript Tickets concerning TypeScript Code, https://www.typescriptlang.org
Projects
Status: Ready
Development

No branches or pull requests

1 participant