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

Support Zeebe's user task forms #88

Open
saig0 opened this issue May 18, 2021 · 4 comments
Open

Support Zeebe's user task forms #88

saig0 opened this issue May 18, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@saig0
Copy link
Contributor

saig0 commented May 18, 2021

Since Zeebe 1.0.0, user tasks and task forms are supported: https://docs.camunda.io/docs/reference/bpmn-processes/user-tasks/user-tasks#user-task-forms

The task forms are a new part of the Camunda stack and can be modeled directly in the modeler: https://docs.camunda.io/docs/product-manuals/tasklist/userguide/camunda-forms

Replace the previous task forms and form fields with the official Camunda forms. The form viewer can be integrated as described here: https://github.com/bpmn-io/form-js/tree/master/packages/form-js-viewer

@saig0 saig0 added the enhancement New feature or request label May 18, 2021
@tbfly
Copy link

tbfly commented Nov 30, 2021

@saig0 Hi, will you please guide me, where to get "userTaskForm"? Now I can get "userTaskForm_id" from "customHeaders" by "io.camunda.zeebe:formKey".
But where to get "userTaskForm" content json string by "userTaskForm_id"?
Do I need to add "addProcessListener“ to get the all "process" xml content? Because the userTaskFrom content lay on:
<process ... >
...

xml node.

While in orig serverTask path, the "taskform" or "formFields" 's key and value are all lay on "customHeaders", and can handle one time by read job meta info.

This was referenced Nov 30, 2021
@tbfly
Copy link

tbfly commented Nov 30, 2021

"But it order to read the form, we need to import the process record. The form is stored in the process extension zeebe:userTaskForm."

I will check this path, thx.
@saig0

@LingXin0
Copy link

Custom form logic can be associated with the userTaskForm_id, and the corresponding permissions can be verified, but can not be stored in the userTaskForm

@saig0
Copy link
Contributor Author

saig0 commented Jan 19, 2023

A similar feature was implemented in the Zeebe-Play project. A contributor could adopt the relevant changes from the following PRs:

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

No branches or pull requests

3 participants