Recreate/start user task after exclusive gateway

Hi,
I have a simple model as follow:

The problem is the User task’s form Propose project is not occur when the proposed project is should be revised. I try with JavaScript Task Listener’s start but still fail. Following error message if I reject/unchecked on Review Form (2nd form).

An error happened while submitting the task form : Cannot submit task form 04f63775-370d-11ec-ac7e-4a5f998d25ed: Unknown property used in expression: ${!revised}. Cause: Cannot resolve identifier ‘revised’

How to make the proposed project task is restarted/recreated when it’s rejected/should be revised after reviewing process? What’s the clue?

Thank you,
[bayu]
usulanproyek.bpmn (5.3 KB)
persetujuanproyekForm.form (1.1 KB)
usulanproyekForm.form (932 Bytes)

Hello @bwidyasanyata ,

this is a known bug (Checkbox should submit "false" if it is required and not changed · Issue #190 · bpmn-io/form-js · GitHub), please excuse if this affects your experience. For a workaround, you could use radio buttons and evaluate the returned Strings.

Jonathan

2 Likes

@jonathan.lukas Thank you for info about this bug. Hope it solve soon.

1 Like

Hi, I want to update for workaround solution using radio buttons is works (attached).
Thank you!

usulanproyek.bpmn (5.0 KB)
persetujuanproyekForm.form (1.2 KB)
usulanproyekForm.form (888 Bytes)

2 Likes