Hi everyone. May you help me. I designed a simple leave request process. but every time I deploy and start the diagram, this message pops up: An error happened while submitting the task form : Cannot submit task form 1fd8be13-a64f-11ef-94de-080027f6658a:

rejectreason.form (677 Bytes)
leavereqreply.form (4.2 KB)
leavereq.form (3.7 KB)
process.bpmn (5.9 KB)

Hi @Sariszoom
Could you please share the full error? You should be able to retrieve it from the logs.

Regards,
Alex

Hi @Alex_Voloshyn
Is this one is the logs that you said ?
An error happened while submitting the task form : Cannot submit task form 1fd8be13-a64f-11ef-94de-080027f6658a: ENGINE-02004 No outgoing sequence flow for the element with id ‘Gateway_1fib39s’ could be selected for continuing the process.

Regards,
Saris

This issue typically occurs when the outgoing sequence condition from the gateway is not satisfied.

In your case, it seems the Camunda variable approveorreject should hold values of either approve or reject.

To debug this, try the following steps:

  1. Add a default flow to the gateway to handle unexpected cases.
  2. Check the value of the approveorreject variable in the Camunda Cockpit.

This should help you identify where the process is going wrong and allow you to correct it.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.