Expand my Community achievements bar.

script QPAC: how to get a process manager instance?

Avatar

Former Community Member
Hi,



I was desperately fiddling about the scripting QPAC, trying to get an instance of process manager.

Since PATAbstractServiceEx is an abstract class, I cannot instantiate it and call its getContext().getProcessManager() methods.

I also tried to access a session using QLCSessionFactory.createSession("...") and then calling the session's getProcessManager() method. But no sessions were found.



Does anyone know, which classes/methods to use in order to get a process manager instance?



Regards,

Steve
1 Reply

Avatar

Level 9
import com.adobe.workflow.manager.ProcessManager;

ProcessManager _pm = patServiceContext.getProcessManager();



Page 36 of "Creating workflows".



Howard

http://www.avoka.com