Skip to Content
0
Former Member
Feb 11, 2009 at 07:36 PM

Picking the processor dynamically

22 Views

Hello All,

I already created an application where the next processor of the action is determined dynamically using the following code and steps

IUserFactory userFactory = UMFactory.getUserFactory();

user = userFactory.getUserByLogonID("*** user login id to whom the next action has to be assigned **" );

wdContext.currentContextElement.setUserId(user.getUniqueID());

create a callable object say -->Assign Users to process Role .

(in the design time select create callable object and select User management--> Assign User to process Role which has Structure User Item as input ).

But now what we want is to store all the likely processors of the Action in a Table only one being active at a time....who will be actually assigned that action ...because we don;t want to modify the code everytime with the login id everytime the processor of the action changes.....is this possible to do in webdynpro or whats the best way to do it...?

Any help would be highly appreciated.

Regards,

Anil