**Scenario**<br>
- Process A has a HTML dialog <br>
- Process B has a task switch<br>
- 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. <br>
How can we implement without creating the case of process A.<br>
I follow the guideline of Reguel, but inside the callable process I have a task switch. It leads to this error:the error like this:<br>
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)
Are Is there any ways a way to start a process that has task switches trigger another business process (by using Trigger, Signals, Callable sub,...) from a HTML dialog without creating additional tasks/cases when starting ? (start from HTML dialog)persisting the ICase of the current business process?
Thanks and regards,<br>
Tung