Coder Social home page Coder Social logo

Comments (6)

tbfly avatar tbfly commented on July 21, 2024 2

@tbfly awesome that you want to contribute πŸš€

Now, in 1.x+, we need HazelcastService to read all jobrecord?

No. We can still use the job worker to read the tasks. The formKey is stored as io.camunda.zeebe:formKey in the task headers.

@saig0 Thx, I will check this path. Now, I just use HazelcastService to load the exist taskinfo in jobrecord. By now, #87 this issue: 87 is sloved.

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

Exactly! I found this way too. "UserTaskJobHandler" still useful for import userService job, "taskForm" and "formFields" info.

I just found the Demo.java code useful to test for load taskForm and formFields. #90 (comment)

#88

Some update by using [io.camunda.zeebe:formKey].

from zeebe-simple-tasklist.

tbfly avatar tbfly commented on July 21, 2024 1

Hello, I'm trying to dig this problem.
Now, in 1.x+, we need HazelcastService to read all jobrecord? While in 0.26 we have UserTaskJobHandler to add "taskForm" and "Variables".
Will you please, guide me where to start?@saig0
Now,I can read task/job info from ZeebeHazelcast, but I can't find a method to read "taskForm".
Do I need to check zeebe-simple-monitor path, use ZeebeImportService to get process/instance resource, then get "taskForm" to show?
Thx!

from zeebe-simple-tasklist.

tbfly avatar tbfly commented on July 21, 2024 1

@tbfly awesome that you want to contribute πŸš€

Now, in 1.x+, we need HazelcastService to read all jobrecord?

No. We can still use the job worker to read the tasks. The formKey is stored as io.camunda.zeebe:formKey in the task headers.

@saig0 Thx, I will check this path. Now, I just use HazelcastService to load the exist taskinfo in jobrecord.
By now, #87
this issue: 87 is sloved.

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

Exactly! I found this way too. "UserTaskJobHandler" still useful for import userService job, "taskForm" and "formFields" info.

I just found the Demo.java code useful to test for load taskForm and formFields.
#90 (comment)

from zeebe-simple-tasklist.

tbfly avatar tbfly commented on July 21, 2024

I get some clues from: https://github.com/camunda-community-hub/zeebe-simple-tasklist/blob/master/src/test/resources/custom-task-form.html
and:
https://github.com/camunda-community-hub/zeebe-simple-tasklist/blob/master/src/test/java/io/zeebe/tasklist/Demo.java

Thx.

from zeebe-simple-tasklist.

saig0 avatar saig0 commented on July 21, 2024

@tbfly awesome that you want to contribute πŸš€

Now, in 1.x+, we need HazelcastService to read all jobrecord?

No. We can still use the job worker to read the tasks. The formKey is stored as io.camunda.zeebe:formKey in the task headers.

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

from zeebe-simple-tasklist.

saig0 avatar saig0 commented on July 21, 2024

Done by #91 πŸš€

from zeebe-simple-tasklist.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.