Hey 
we are currently migrating a process with a few subprocesses (call activities) and like verify the correct process executions.
Is it possible (like in Camunda 7) to mock the completion (or incident failure) of call activities instead of resolving them and completing each nested Service Task manually?
Kind regards,
Florian
Hello @floricdev ,
depending on the test setup, you could provide a mock process that is called instead of the original one.
I hope this helps
Jonathan
Hey 
thanks for your reply. Unfortunately, I don’t understand how I could provide a mock in a Camunda 8 based ProcessTest setup. Do you have any example code how to achieve this?
Kind regards, Florian
Hello @floricdev ,
you can create a process with the same id (programmatically or as BPMN XML file) and deploy it at start of the test.
I currently have no example, sorry… 
Jonathan
Hey 
no problem, this already helped us to understand the idea. Thanks
We will give it a try.
1 Like