Highlighted

How to Cancel a process using Process manager

Avatar

05-08-2008

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

Replies

Avatar

Avatar

HowardTreisman

Avatar

HowardTreisman

HowardTreisman

05-05-2009

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