Skip to content

Allow configurating on which submission states handlers should run - #333

Open
jekuaitk wants to merge 3 commits into
OS2Forms:developfrom
itk-dev:feature/add-states-configuration-to-handlers
Open

Allow configurating on which submission states handlers should run#333
jekuaitk wants to merge 3 commits into
OS2Forms:developfrom
itk-dev:feature/add-states-configuration-to-handlers

Conversation

@jekuaitk

@jekuaitk jekuaitk commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Closes #334

When using digital signature other handlers should be modified to run on "locked" submission state.

This PR adds configuration to handlers that allow stating on which states the handler should run, akin to the e-mail handler.

The default state on which handlers run are "completed".

@ds-bellcom

Copy link
Copy Markdown
Contributor

333: @OS2Forms/koordinationsgruppe vi estimerer 2,5 timer til review af denne. Vil I godkende?

@jekuaitk

jekuaitk commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Handler states does not make sense under the context of Digital Signature - therefore it has been removed.

However, signature doesn't make sense on draft, so this has been added to the states in which the signature flow should not run!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

States on which handlers should run

3 participants