Scenario
- Process A has a HTML dialog
- Process B has a task switch
- If user click a button in HTML dialog, it will trigger process B. => 1 case of process A and 1 case of process B is created. We do not need the case of process A.
How can we implement without creating the case of process A.
I follow the guideline of Reguel, inside the callable process I have a task switch. It leads to the error like this:
Caused by: java.lang.IllegalStateException: TaskSwitch element (Role Approval <15A82F10A6717E03-U60-f28>) is not permitted inside a sub process that was invoked from a User Dialog process.
at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.TaskSwitchElementExecutorAdapter.checkIllegalTaskSwitchUsage(TaskSwitchElementExecutorAdapter.java:105)
at
ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.TaskSwitchElementExecutorAdapter.execute(TaskSwitchElementExecutorAdapter.java:81)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$0(ProcessElement.java:215)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:286)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:215)
at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:37)
Is there a way to trigger another business process (by using Trigger, Signals, Callable sub,...) from a HTML dialog without persisting the ICase of the current business process?
Thanks and regards,
Tung
answered
28.02.2017 at 10:07
lttung
(suspended)
accept rate:
40%