79358208

Date: 2025-01-15 12:33:07
Score: 1.5
Natty:
Report link

Your first approach looks decent but may be improved. Rendering a UI for a corresponding user task is the way to go.

However, "completing" a UserTask via a Message Event is unnecessarily complex. Never Versions of the ZeeBeeClient allow the completion of UserTasks directly. See https://javadoc.io/doc/io.camunda/zeebe-client-java/8.6.6/io/camunda/zeebe/client/ZeebeClient.html#newUserTaskCompleteCommand(long)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: BFR