cancel
Showing results for 
Search instead for 
Did you mean: 

Remove runtime defined user

Former Member
0 Kudos

Hello,

How can I remove runtime defined user from my task.

I tried it in a BCO with the GP API:

IGPProcessRoleInstance processRoleInstance = executionContext.getProcessRoleInstance();

processRoleInstance.removeUser(myUser);

I also tried the removeRuntimeDefinedUser()-Method, but it doesn’t work either. (had no exceptions). Anyone an idea how to remove one of my users?

Regards Robert

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

if you just need to change task processors, use the changeTaskProcessor() method.

<a href="http://help.sap.com/saphelp_nw70/helpdata/en/43/fcdf77fc6510b3e10000000a11466f/frameset.htm">Starting and Terminating Processes Using the GP API</a> (step 7)

HTH:)

Regards,

Petja

Former Member
0 Kudos

Same Problem here.

I also tried to use setUsers, which is supposed to override all Users assigned to a Processroleinstance, but that doesn't work either...