Runtime defined process role

Hello,
Can anybody point me to some help where I can get info on the Runtime Defined roles in GP Process. I am trying to pass some role dynamically during runtime.
Regards,
Madhu

Hi,
So, you (as a process designer) define when the assignment of users to process roles is completed – either at process instantiation, or at process runtime, or the initiator is automatically assigned to the relevant process role. Also, apart from the standard process roles like overseer, owner, etc., there also are customizable ones. Here is a link with thelist of process roles and a short description:
http://help.sap.com/saphelp_nw70/helpdata/en/d9/273a4209a6ae04e10000000a1550b0/content.htm
In addition, here is a link to a document concerning configuration of process roles:
http://help.sap.com/saphelp_nw70/helpdata/en/96/b48c42ee585551e10000000a1550b0/content.htm
Hope this helps
Petra

Similar Messages

  • What's the function of runtime defined setting to process role?

    <h3>*Hi ladies and gentlements,*
    *I am new to guided procedure. I have meet a case that I should runtime allocate the roles or users to process action.*
    *But after I set it to runtime define, It seems nothing activated. I had initialized it and saw it within the UWL. But when I opened it, it message "the action is ready to process by another user or role".* I don't know how to runtime define the role of action. Any body can tell me how to implement that?</h3>
    *Thanks*
    *Eric*

    have you checked this blog, hope it may help you a little bit.
    /people/berndt.woerner/blog/2007/09/19/different-ways-to-model-dynamical-assignment-of-user-to-process-roles-using-composition-tool-guided-procedures--part-1

  • Adding users to a process role at runtime   method :- addRuntimeDefinedUser

    Hi All,
    I have a requester - approver process where I want to assign list of users to Processor for Approval role.
    I am getting list in requester CO and at design-time I have declared Processor for Approval as runtime defined in roles tab of process.
    Can anybody tell me how to add this users to this role programmatically? may b in execute method or in complete() method?
    I came across with one method which looks promising :
    IGPRuntimeManager rtManager = GPProcessFactory.getRuntimeManager();
    rtManager.addRuntimeDefinedUser();
    This method requires IGPProcessInstance and other parameters. Can I get some info abt how to get them?
    Sample code will be most welcome.
    Thanks and regards,
    Amey Mogare

    Oops !!!
    I got it. Actually you are supposed to enter Technical name of the action as role in this method...
    So when I did it, it worked !!!
    IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
    IUser userJames = UMFactory.getUserFactory().getUserByLogonID("James.bond");
    IUser userSuperman = UMFactory.getUserFactory().getUserByLogonID("Super.man");
    IGPUserContext userContext1 = GPContextFactory.getContextManager().createUserContext(userJames);
    IGPUserContext userContext2 = GPContextFactory.getContextManager().createUserContext(userSuperman);
    IGPProcessInstance prInstance = rtm.getProcessInstance(executionContext.getProcessId(),userContext1);
    IGPProcessInstance prInstance = rtm.getProcessInstance(executionContext.getProcessId(),userContext2);
    rtm.addRuntimeDefinedUserToRole(prInstance, "Action_3", userJames, userContext1);
    rtm.addRuntimeDefinedUserToRole(prInstance, "Action_3", userSuperman, userContext2);
    This adds the James.bond and Super.man to role "Processor of ApprovalAction" that is "Action_3" !!!
    Thanks a lot for your replies guys !!! It helped to achieve it.
    Regards,
    Amey Mogare

  • How to assign Users to process roles?

    Hi All,
    I have designed a process and I have consolidated all the roles,
    when I intiate the process from the runtime workset it asks to assign users to these roles(I have consolidated all the roles to three mail roles). The problem that I am facing is that the user should not see this screen, depending upon the user login id the approvers should be automatically assigned to the respective roles.
    Is this possible...
    Kindly guide me
    Thanks in Advance
    Sivaprasath

    Hi Sivaprasath,
    assuming that I've got you wright you could try to model the following using the callable object "business logic" and the callable object "assign user to process role".
    With the help of the first CO you can implement the logic to assign the respective approvers to the users (initiator) and let the processflow go on directing it to the appropriate step where the above mentioned second CO assigns the user to the process role (using the result states of the bussiness logic CO)
    At least you are supposed to need an appropriate Parameter that you can consolidate with the User ID.
    Just a quick idea, hope this will work with you.
    Greetings
    Berndt

  • Business Process Role Design

    Hi all,
      I am infant in SAP world. I am looking for best practices or templates in order to define and document business process roles. Our strategy is to create roles by function. Look at the company organization chart and the various functions and accordingly roles. I am in charge of doing the functional documentation. I wanted to know if anyone has experience in document business function role design or a template that they can share.
    I would appreciate any help in this area. Thanks.
    Regards,
    Sara

    A.General
    1.
    Expression of one's responsibility would not dwell merely on actions but end results!
    2
    Responsibilities may be Technical,Administrative,Functional,Managerial,Financial and so on.
    It is better to classify for better understanding and to assign priority.
    3
    The document describing the Role would serve for reference, for training, for evaluation of performance and many more.
    B.Carrying out the task
    Having realized the significance of designing the Role some of points to be kept in view are as follows:
    1
    A template may contain the following heads:
    - Role title/Designation/Position name
    - Summary of responsibilities
    - Equipment/Budget level/People/Places for which responsible
    - Activities in the Role
    - Out put of the Role's function
    - Internal/external customers
    2
    To design business process roles, one must know the processes in greater detail collected by reading, visiting,discussing, interviewing concerned people.
    3
    Details may be collected by asking simple questions and eliciting simple answers. The answers may relate to Planning, Doing, Checking.
    High order terms must be avoided at this stage.
    4
    When the out come of one level activities is described in higher level abstraction, it becomes the responsibility of the higher level.This way, role description in one level after another is built up.
    5
    The out put of one Role must be input for another role.One must be conscious of this while describing a role.This is helpful to the business.
    Sam Anbazhagan
    Edited by: Anbazhagan Sam Venkatesan on Sep 8, 2008 4:11 PM
    Edited by: Anbazhagan Sam Venkatesan on Sep 9, 2008 4:37 PM

  • USER MANAGEMENT-CO "Assign users to process role"

    HI,How can I assign the CO "Assign users to process role" to one or more users inside of a process?
    Thanks.
    Regards
    David Valenzuela

    Hi David,
    I am not sure whether a callable object can be assigned to more than one user or not, but for assigning one single user to a callable object inside a process, follow the following steps:
    1)Put the callable object in an action.
    2)Put the action in a block.
    3)In the block, under the <b>Roles</b> tab, you will be able to see an item called <b>Processor of <<i>name of action containing this callable object</i>></b>. You don't need to do anything. If you wish, all you can do here that you can consolidate roles of more than one action under a single name such that one user is assigned to all those actions. For the time being, don't do anything.
    4)Put the block in the process.
    5)In the process, under the <b>Roles</b> tab, you would be able to see the same item <b>Processor of <<i>name of action containing this callable object</i>></b> and a drop down in front of it. Choose <b>Initiation Defined</b> from the drop down.
    6)In the process itself, open the <b>Default Roles</b> tab, and now you would be able to see the same item <b>Processor of <<i>name of action containing this callable object</i>></b>. Just click the <b>Add Default</b> button, search for the user, and assign him to this <b>Processor</b>.
    These steps will make sure that when you run the process, the CO <b>Assign users to process role</b> could be opened by only the user you assigned this CO to.
    Bye
    Ankur
    Do reward points if it helps!!

  • How to define process chain in BI 7.0

    HI All
    How can i define process chain in bi 7.0 .Please help me .If any step by step documentation is available please send me.
    Thanks in advance

    Hi,
    For questions related to BI 7 , pls. post in NW2004s section under 'Business Intelligence'.
    For your question, use TCode RSPC to create process chains.
    For mor info : http://help.sap.com/saphelp_nw04s/helpdata/en/67/13843b74f7be0fe10000000a114084/content.htm
    Best Regards

  • Participant Assignment to BPM Process Role

    Hi everyone ;
    I need to custom application for participant assignment to BPM process role. You know, this operation has been made under Business Process Workspace > Administration Areas > Organization > Roles But this page is not useful for Administrator user. I want to develop an application that it makes set Participant to BPM App Role. But, i haven't any API.
    Firstly, is this possible? And than, how can i implement it?
    Thanks.

    Is restart of the engine server on which ProcessP deployed is the only solution since the error messages shows up as 'Process Execution Engine has not re-synchronized with the Directory Service. '

  • Best way to close a Runtime.exec() process and how to handle closing it?

    I have multiple Runtime.exec() Processes running and am wondering what the best way it is to close them and take care of closing the resources. I see that Process.destroy() seems to be the way to terminate the Process - is finalize() the best way to close anything in that Process?
    Thanks

    I was involved with your other thread, so I think I know what you are trying to do.
    All Dr's answers are correct.
    Now you have a program A written by you that does Runtime.exec() of multiple instances
    of another program B written by you. You want A to somehow tell B to exit.
    You must use some kind of Inter Process Communication. If this is the only interraction
    between the two programs I can suggest two options. If you anticipate more
    interraction, you may want to look at other means (RMI, for instance, which was proposed
    by EJP in the other thread for starting B, is also useful in exchanging info).
    Solution 1:
    Start a thread in B and read stdin. A will write to stdin a command, such as QUIT.
    When B reads it, it does System.exit().
    Solution 2:
    Start a SocketServer in B that accepts connections on a separate thread.
    When A wants B to exit, it connects to it and writes a command such as QUIT.
    When B reads it, it does System.exit().
    You may note that QUIT is not the only command you can send from A to B, in case you will need more.
    Edited by: baftos on Nov 5, 2007 2:15 PM

  • How to know the runtime execution process

    Hi ,
    How to view the runtime execution process(steps) of a class. I know how to debug, but i like to view the Assembly language code .
    Please suggest
    Thanks ,
    Raj

    Why on earth are you ignoring your previous topic about the same question where the answer is already given more than once?
    [http://forums.sun.com/thread.jspa?threadID=5355140]

  • How to define user roles

    I am ready to deploy the form, but I want to define user roles.  How do I do that?

    You can't defines roles for the fillers. You can however define roles for the form design, responses data and summary reports by sharing the form. For more information see http://forums.adobe.com/docs/DOC-2462.
    Gen

  • How to retrieve Process Role Name

    Hi @ all,
    can anyone tell me how to retrieve the Name of the actual processing Role in a web dynpro callable object.
    Until now I just found out how to get the technical name in the execute() method. Unfortunately it's not the human readable name.
    e.g.
    String name  = executionContext.getProcessRoleInstance().getProcessRoleTechName();
    Thanks and Regards
    Robert

    Hi Robert,
    After you created a process, block, action, and your WD GP interface callable object and would retrieve this information in custom way you can use the following coding:
    <code>
    String processId = executionContext.getProcessId() ;
    IGPRuntimeManager runtimeManager = GPProcessFactory.getRuntimeManager() ;
    IGPProcessInstance process = runtimeManager.getProcessInstance(processId, getCurrentUser()) ;
    IGPProcess processTemplate = (IGPProcess)process.getTemplate() ;
    int gpRolesSize = processTemplate.getRoleInfoCount() ;
    String roleDisplayName = null ;
    for (int i = 0; i < gpRolesSize; i++)
           IGPRoleInfo role = processTemplate.getRoleInfo(i) ;     if (role.getRoleName().equals(roleTechName))
                roleDisplayName = role.getText()
                break ;
    </code>
    Best regards,
    Aliaskei

  • Assign User for Process Role Callable Object

    Hi,
         I have a doubt in the Callable Object Assign User for Process Role.wat is the use of this callable object.This Callable Object is used to reterive any portal user information?can any one give description about this Callable Object.
    Regards,
    Satheshkumar

    Hi,
    Take a look at the following [wiki page |https://wiki.sdn.sap.com/wiki/display/BPX/GuidedProceduresCallable+Objects] and look for the callable object you need. There is a link to a tutorial.
    Dick

  • Delegating Process Roles

    Hello,
    to delegate process roles (in GP) you can take the control Items, but then you must click on the left toolbar, adn choose "Delegate Roles".
    But in my scenario Delegate Roles should be a process step, and so I want to show it in the Process Window (SAP name it Application Area) as standard, not in the left toolbar.
    When I take the associated web Dynpro I dont get a connection between the web dynpro and the process flow. I cannot choose any process role.
    Thanks for the help
    Steve

    Thanks for that.
    Is there an possibility to give the user only Viewing rights, when he isnt a processor in the whole process?
    When you delegate the action, the user has got execution rights. But the user shouldnt have execution permissions, only viewing permissions (e.g. expert statement)
    This use case is very important for me, because there is no standard functionality for this standard workflow use case.
    Bye Steve
    Message was edited by: Steve Mussdorf

  • Re: Statistics Query for Total runtimes for Process Chain incorrect

    Hi Guys,
    I am building a Query for Total runtimes for Process Chain Statistics. I used the Cube 0TCT_MC21 for Query - 0TCT_MC21_Q0101.
    I dragged in Keyfigure section - startdate, end date, Start time are all correct and fine but the End time (0TCTENDTIM) is coming incorrect. Is something else i should use to get the End time?
    Please let me know if any suggestions?
    Regards

    Just check if the end times are in GMT ?? usually happens with timestamps....

Maybe you are looking for