Skip to Content
avatar image
Former Member

Starting Process by Using Web Service callable object

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 30, 2008 at 07:31 AM

    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?

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 30, 2008 at 09:30 AM

    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

    Add comment
    10|10000 characters needed characters exceeded