on 09-30-2008 6:18 AM
HI,
I have created Web service CO for starting a predefined process (let call it Process2).
I am using this Web Service CO in another process i.e. Process1 (Main Process).
When execution of Process1 reaches to action where Web service CO is Attached. It's Initiating the Process2.
My Problem Is Process2 is initiated by some "Guest" User instead of processor of that action.
Plz help ASAP.
Hi,
Is there something like below written in your WS?
IUser loggedUser = WDClientUser.getCurrentUser().getSAPUser();
IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(loggedUser);
IGPProcess processTemplate
= GPProcessFactory.getDesigntimeManager().getActiveTemplate(
"........................", userContext);
-Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you start a process via gp api you pass an intiator user as an input parameter. Are you sure that you get it right from UME?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.