Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

How to Cancel a process using Process manager

Avatar

Former Community Member
Can anyone help us on how to cancel a process.

We tried using Process manager



ProcessManager processMngr = new ProcessManager(clientFactory);



The completeProcess() method is not getting displayed in the processMngr.



But It is given that

processMngr.completeProcess(invocationId) - will complete the process.



The jar file is imported properly. We double/triple checked it.



Why is this problem coming. Or is there any work around to complete the process.



Thanks,

Sara
1 Reply

Avatar

Level 9

Hi Sara

Sorry about the late reply.

Are you looking to complete the process, or cancel it.

If you're looking to cancel it, you should use the terminate() method rather than complete().

Howard

http://www.avoka.com