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

feat: view and complete user task forms #61

Merged
merged 1 commit into from
Dec 20, 2022
Merged

feat: view and complete user task forms #61

merged 1 commit into from
Dec 20, 2022

Conversation

SebastianStamm
Copy link
Collaborator

Description

This PR adds support for user task forms. It shows the form in a modal and allows the user to fill it out and submit it.

This first increment uses the element registry to figure out whether the element is a user task that has a form attached. A future iteration might make use of camunda-community-hub/zeeqs#284 instead

I decided to initialize the user task form with the variables of the process. Keeping the task form empty did not make sense for processes like the absence request template. The scope is not considered for now, but it should work for a lot of cases already. A more correct iteration could be done once the GraphQL API supports it.

Related issues

related to #10

- display user task forms in modal
- show variables in form (scope is not considered)
@CLAassistant
Copy link

CLAassistant commented Dec 14, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@saig0 saig0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SebastianStamm awesome. 🎉 Looks great. 🤩

Note: It doesn't open the task form if I click on "complete" in the jobs list. It works only in the diagram. But this is fine. With the new version of ZeeQS, user tasks are not listed as jobs anymore. Instead, user tasks are separated and have their own properties.

@saig0 saig0 merged commit 3fc54c0 into main Dec 20, 2022
@saig0 saig0 deleted the 10-user-task-forms branch December 20, 2022 05:32
@datakurre
Copy link

😍

@saig0 Any chance to to get a holiday release with this?

@saig0
Copy link
Collaborator

saig0 commented Dec 20, 2022

@datakurre not a full release. But maybe, I could build an alpha release.

However, we will continue with this and other topics next year. 🚀

@datakurre
Copy link

@saig0 if "alpha" release means downloadable pre-built jar file somewhere (like in those GitHub release assets), it would be all I need ❤️

@datakurre
Copy link

Thanks! 😍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants