on 04-01-2009 2:51 PM
Dear,
Is there a way to stop a process, if we know the GUID, using a webservice?
Regards,
Frederik-Jan
Hi Frederik-Jan Roose,
Yes we can stop the process remotely using web service but for this you require the process id.
Regards
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Write a method and expose it as webservice. The method should have the following code.
IGPRuntimeManager rtm=GPProcessFactory.getRuntimeManager();
IGPProcessInstance processInstance=rtm.getProcessInstance(processId, userContext)
rtm.stopProcess(processInstance, user);
Get the loggin user and hence the userContext and use the above given code for stopping the process.
Hope it helps.
Regards,
Srinivasan Subbiah
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.