Retrieve Members of Role in BPM 11g

Hi All
is there a way to retrieve users/groups assigned to a BPM process role?
Does getUsersInAppRole retrieves both users and group?
How can we convert the result of above function into a delimited string?
Pls help.....

Look for postings/replies of user "steve_adler"
In one of his posts about paging and range Ldap Queries he explains how to find all members of a group.

Similar Messages

  • How to use Parametric Roles in BPM 11g ?

    Hi Experts,
    How do I use the "parametric roles" in the Oracle BPM 11g?
    I want to use this concept of subroles but could not do this in the BPM 11g.
    Has anyone used and can help me or pass me an example?
    Thanks.
    Leo.
    Edited by: user13269730 on 07/06/2010 13:21

    Ditto here too... looking for an example of how to set this up.
    Here is a scenario:
    I have multiple application roles setup:
    PM - city a (bunch of users)
    PM - city b (bunch of users)
    PM - city c (bunch of users)
    PM - all (has all 3 PM roles and is used as the security to the swimlane).
    I have a business requirement where the PMs (Project managers) should only be able to see and do work ONLY for their city. I have a metadata of 'city' but don't know how to setup an assignment based on this in the human task.
    How does one setup a complex task?

  • How to get the assignees for a specific role in process in BPM 11g

    Hi, Gurus,
    I am using BPM 11g. I am trying to retrieve all the assignees for a a specific role in process. It will be a parameter for a business rule to do further routing rule. But it seems there is no way to get the information. I found that there are Identity Service Functions in Human Task Assignment. But Identity Service Functions are not listed in Business Rule Activity, neither listed in other activities except Human Task Assignment. I cannot get the assignees in my process.
    Is there any way to get all the assignees for a role? I also tried to retrieve the assignees out engine with Worklist API, but it cannot get either. Actually we can get all the assignees information in automatic activity in OBPM 10g. Maybe I am still not familiar with 11g. Any advice is appreciated.
    FYI:
    My scenario:
    Suppose we have a role named ApprovalTeam. In this role, there will be several different department manager (BPM User) added in the role through Workspace. At run time, a request (With department info) with go through the approval by ApprovalTeam. A Business Rule Activity with decide which department manager will approve this request. Different department request will be dispatched dedicate managers, not all the managers in the role. I have an external JavaBean to get the department information from LDAP. To do the routing, I also need know all the department managers (BPM User) in the ApprovalTeam role. Then I can compare which department manager is matched with the request and assign the task to him.
    Thanks a lot,
    James
    Edited by: James Piao on May 31, 2010 6:25 PM

    or this?
    SQL> select text from ALL_VIEWS
      2  where VIEW_NAME
      3  ='EMP_VIEW';
    TEXT
    SELECT empno,ename FROM EMP
    WHERE empno=10

  • BPM 11g Role Assignment not Reflected on BPM Workspace

    Hi,
    I'm having trouble with role maping in JDeveloper for my BPM 11g project, where the server groups mapped against a particular applcation role is not reflected in BPM workspace.
    I'm mapping application roles with server groups in the Organization section of my BPM project in JDeveloper, but when I open the Administration section of the BPM workspace, I see that the appropriate section is blank where there should be the server group assigned.
    I have confirmed that the server groups are in place, and have users associated with them. I even tried ti with the Administrators groups of WebLogic, with the same results.
    However, when I deployed this same project on an Oracle On Demand server, the JDeveloper role maapping was successfully deployed along with my process. Could anyone please provide some insight in this matter?
    I'm working on JDeveloper and SOA 11.1.1.5
    Thanks,
    Debojit

    HI,
    In 11g you have the concept of Global Links. You can refer to http://docs.oracle.com/cd/E23943_01/user.1111/e15175/bpmug_ext_apps.htm#BACCACGI fro example of how this can be acheived
    I think there are also some samples on java.net for Oracle BPM Suite however this appears to be down at the time of posting so I can not validate this.
    Hope this helps
    Regards Dave

  • Parametric roles in Oracle BPM 11g

    Hi all!,
    For all of us that was asking how to do the parametric roles in Oracle BPM 11g, here´s how to do it, hope it helps.
    Regards!!
    Z3uV4k
    https://docs.google.com/file/d/0B7YrnfO7h717M2U1MTlmMmEtZjI3Mi00ZTNhLWFhNTQtYzkyZjc5OGI5Y2I4/edit?pli=1

    Might also want to look at a blog post I wrote based on an idea Arun Pareek came up with.  (click here)
    The differences are (1) that this lets you assign parametric roles to groups or application roles instead of individual users making them simpler to maintain and (2) IMO it's a lot easier to do using this technique.
    Dan

  • Mapping LDAP Role in Building Your First Process with Oracle BPM 11g

    I'm working on "Building Your First Process with Oracle BPM 11g" I'm at the end of step where assigns user for the requester. The problem is in identity lookup, "Realm" is empty for Remote_WLServer.
    Servers are up and running. Demo user community has been loaded - I can see the list of users and groups in the administration server under myrealm. We haven't done much since SOA suite 11g installation. I'm probably the first one who uses this. I wonder we have a missing set up? Can you me what's missing? Appreciate your help in advance.

    I get this error message when I clicked gear icon.
    "Server exception is : Connection refused from server"
    Here is the result of testing Remove_WLServer connection. Does this cause the issue?
    Testing JSR-160 Runtime ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime ... skipped.
    Testing JSR-88 ... skipped.
    Testing JSR-88-LOCAL ... skipped.
    Testing JNDI ... skipped.
    Testing JSR-160 Edit ... skipped.
    Testing HTTP ... success.
    Testing Server MBeans Model ... skipped.
    Testing HTTP Authentication ... success.
    2 of 9 tests successful.
    I have installed JDeveloper 9i, 10g, and 11g in my laptop. SOA is installed on linux.

  • BPM 11g  ids:getUsersInAppRole  function

    Hello,
    I'm working on BPM 11g, and I'm trying to use the getUsersInAppRole function but it returns multiple nodes since there are more than one user in the role, then while trying to assign it to a XML list of strings it throws an exception. I think I should use a transformation to achieve the assignment, but what do I use as a source element since it is the result of a function and I don't know what type it returns?
    thanks

    Hi Josué,
    Let me preface this by saying I'm not especially proud of this solution. It's a workaround to a bug (at least I think it is a bug) in 11.1.1.5.
    Here are the steps I did. Let me know if one or more of these do not make sense.
    1. Before entering the subprocess, I populate a 'parts' variable (a component variable that is a Types.Participants) from my method call (know you're using 'getUsersInAppRole' - I'm using a different method that returns this type). This stores the array of userObject (a Types.UserObjects type component).
    2. Create the subprocess using the 'MultiInstance' loop characteristic and uncheck the 'Is Sequential' checkbox. For the subprocess's Loop Cardiality I used the XPath Expression
    count(bpmn:getDataObject('parts')/ns:userObject)In the Completion Condition box, check the Use Expression checkbox and enter the XPath Expression
    bpmn:getActivityInstanceAttribute('subprocess0', 'loopCounter')  <= count(bpmn:getDataObject('parts')/ns:userObject)3. In the Arguments Definition tab, the incoming needs to be (in my case anyway) a variable of the type 'Types.UserObjects'. This means that you're passing in the whole array of users instead of a single userObject. The reason I had to do this is because when you click the arguments 'Use Associations' checkbox and edit it and click the Expression Builder icon, the loopCounter is not present in the list of available variables (the loopCounter variable is used by the subprocess to keep track of the loop count that you're currently on). Because it is not in the list, you cannot just pass in the single UserObject.
    4. You can work around this problem by retrieving it using a Script activity (or using the incoming associations to any activity) and setting a 'part' variable (a variable of the type Types.UserObject) to
    parts.userObject[loopCounter]It's odd that you can get the loopCounter variable everywhere inside the subprocess activity you need it except for inside the incoming Arguments Definition tab.
    Hope this helps,
    Dan

  • Getting user name of person logged into workspace in BPM 11g.

    What API and method calls can we use to determine who is logged into BPM 11g? Since many people can be assigned a role or human task (using dynamic task assignments) how can we determine who the actual user is?
    The use case is a user logs into the workspace and executes human tasks assigned to him/her. In the ADF UI, we are using database controls to view, update and create records in database associated with this task. The tables have audit information like, LAST_MODIFIED_BY and MODIFIED_DATE. These fields or columns need to be updated with the user ID and current system date when data changes in the tables.
    The problem is that I know how to get the user who the task is assigned to, but if the user is a delegate or process owner, how do we know? Also if many people are assigned to the human task, how do we find which one is actually working on the human task? In other words the current logged in user?
    In the ADF task flow, I have access to an object SystemAttributesType that contains a lot of useful information, like the list of assignees. The problem is it doesn't seem to give me information about who is actually working on it (logged in user). Here's a code snippet for how I got this object. It is a method in a managed bean associated with the task flow.
    public List getAssignees() throws IOException {
    FacesContext context = FacesContext.getCurrentInstance();
    String ctx = (String) context.getApplication().evaluateExpressionGet(context,
    "#{pageFlowScope.bpmWorklistContext}", String.class);
    String tskId = (String)context.getApplication().evaluateExpressionGet(context,
    "#{pageFlowScope.bpmWorklistTaskId}", String.class);
    IWorkflowServiceClient workflowSvcClient = WorkflowService.getWorkflowServiceClient();
    ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService();
    IWorkflowContext wfContext;
    List assignees= "";
    try {
    wfContext = wfQueryService.getWorkflowContext(ctx);
    Task myTask = wfQueryService.getTaskDetailsById(wfContext, tskId);
    Element xmlPayload = (Element) myTask.getPayloadAsElement();
    SystemAttributesType systemAttributes = myTask.getSystemAttributes();
    assignees = systemAttributes.getAssignees();
    return aissignees;
    Thanks in advance for your help.

    Hi.
    Plz find the link below, it might hep you.
    11g how to get participant information
    Bibhu

  • BPM 11g Process Administrator functions: Where are they now??

    Good morning,
    I've got some decent ALBPM6.0.5 experience, and now I've just started in a new project that uses BPM 11g. I've attended to an Oracle "Hands On" so I know 11g is VERY different from 10g/ALBPM.
    My main problem is that I cannot find anywhere where are Roles and Users managed in the server. From where do I administer Roles, Users, Groups, Organizational Units. All that used to be in the Process Administrator. How is that done now? I swear I've gone through all the documentation at http://download.oracle.com/docs/cd/E14571_01/soa.htm and still found nothing :(
    Also, is now using an LDAP mandatory? Or can something like ALBPM Directory still be used??
    Thanks in advance.

    User/Role management is now done through the workspace itself. You must login as an administrative user (like weblogic) and you will see an Admin link in the upper right of the workspace.
    Authentication and user lookup is now handled directly by Weblogic - so you setup authentication Providers in the WLS security realm through the admin console.
    By default Weblogic is configured to use an internal LDAP that stores local users (this is where the "weblogic" user itself is defined).
    General steps are provided here:
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10226/hwf_config.htm#BHCJGBFJ
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/secmanage/atn.html#wp1198953
    Edited by: Mike Rokitka on Jul 2, 2010 11:17 AM

  • Setting directory dynamically in File adapter in BPM 11g

    Hi,
    I am using file adapter in BPM 11g for writing perpose. While configuring, it is required to provide the directory location, which can be either physical path or logical. The location where the new file will be stored/saved is written in a text file. I want to fetch the location from that text file and want to store the new file in that particular location at run time. Please help !!!!

    Hi,
    You can dynamically set -among others- the outbound directory and outbound file name for a File Adapter. See: http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#CIACICFD. If you need to retrieve the information beforehand from another file, you could use a synchronous read. See: http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#BABDCEBE.
    Ronald

  • Instatiating BPM process through BPM 11g workspace

    Hi ,
    I am working on OPBM Sales Quote lab.
    I installed Oracle SOA 11g and set up the BPM SalesQuote demo. I followed the demo setup instructions to add the roles and match them to demo users. I was able to deploy the demo successfully using Jdeveloper. Since the start task for the demo is a none start, I am not sure how to initiate a new instance. I loged in to the workspace as jcopper who's role is the SalesRep (which is the swimlane for the non start task). However, I didn't see any application listed for jcopper. I also loged in as the process owner and didn't see any application listed for him either.
    I even referred to this thread
    How to initiate an instance of the BPM 11g SalesQuote demo?
    When I implemented the "Enter quote details" task, I even set its pattern as "Initiator"?
    Even then Under applications it is empty.
    Any Suggestions is appreciated.

    Hello All,
    Deployment of the "SalesQuoteDemo' demo is over. Logged in to BPM WorkSpace with user “jcooper” but I am not able to see application in the user's BPM Workspace. Verified all the users (and jcooper) and their role in Weblogic Default Realm and everything seems to be OK.
    I have deployed SalesQuoteDemo from this official link of Oracle and have followed all steps. Users/Groups have been created by running a demo seeding program given along with demo.
    http://www.oracle.com/technetwork/middleware/soasuite/samples-demos-084065.html
    I did these steps for verification.
    •     RAM/PermGenSpace seems to be OK and there is no error/exception related to memory.
    •     As per the demo, jcooper is part SalesRep role and it has been verified that both jcooper and SalesRep exists. Mapping also exists. Attaching few screenshots from Oracle Enterprise manager/BPM Workspace/Weblogic Console.
    •     As per the Baig, mentioned that this issue was resolved when new domain was created without webcenter. For me, new domain is somehow not working and deployment are getting failed/suspended/prepared status but I had taken out Webcenter related Managed Server from this Weblogic domain.
    •     Few have mentioned to login to Enterprise manager, select application, select security, role and map the user for every roles. I verified that this already exists.
    Any help/pointers in this regards would be highly appreciated.
    Thanks
    Sachin G

  • How to add new users to BPM 11g

    In BPM 10g, I can add new users and roles in administrator console. How to login to BPM 11g administrator console and add new users?

    While creating Human Task did you selected "Initiator" in the Pattern?
    Login as administartor(weblogic) go to Administration the you will find all the processes and corresponding roles. There you can add/modify the users to the processes.
    Let me know if you have any questions.
    Thanks
    MC

  • BPM 11g support process archive

    Hi,
    Is BPM 11g suppots process archive?
    Can anyone help me on that?
    Regards,
    Anandh P

    Hi Raj
    1. Terminate means you want to End that Process no matter where it is at any instance of time. Say if I have BPM Process with 10 SwimLanes it can be at any of the Lanes with any User. I am taking simple Example with Human Tasks, but you can apply for other component like Timer servces etc.
    2. I hope you are aware of 2 things specially for Human Tasks: Action named "Withdraw" and a role named "Process Owner". For any human task, under Actions menu you should See a Withdraw option. You can code your application to capture this output using XOR gateway and if outcome is "WITHDRAW" directly end the process and go to End Node. If you have many places like this, there is easy way instead of running wires eveywhere. Create a simple throw even that goes to End Node. And after each human task check outcome if Withdraw, that that error, which will end the process. I hope you got the point.
    b) The reason I mentioned Process Owner is, generally I do NOT give Withdraw control to each User who can work on any Task. If accidentally that User do this action, thats it. The process ENDS and you can never retriive it back. So under .TASK file, I preven Withdraw action to Asssignee and Instead give this action only to OWNER (Process Owner). Process owner is like admin who can pretty much see any tasks and I would give him all the permissions like these Withdraw, Reassing, Suspend etc etc. This gives more controlled power to your application. Anyhow, in bpm workspace, login as process owner and search for any Task aged for long time and jus Withdraw it.
    You can do all the above using APIs also as far as you have Withdraw action going to the End Node.
    If your requirement is something else, ignore above notes. But still you can think along the above lines, if all you want is to Kill a Running Process anytime.
    Thanks
    Ravi Jegga

  • BPM 11g Worklist Replace User Selector

    Does anyone know of a way to use the BPM 11g Worklist Application but replace the User/Group selector for the assignment actions? We are looking for more of a tree type selector based on Organizations/Roles rather than a flat search.
    Thoughts?

    Hi,
    You add a subprocess. In the subprocess you could loop (like while in BPEL) , according to the loop condition, if the count is 2 or smt. else, you could send the task to other people. You can use a skip rule if the count is 2, skip this human, go to the other one. Whatever you want exactly.
    Don't forget to add a deadline to the Human Task. When the task expires, the process will move on to other task in the process.
    Edit: Forget expire, expiring the task won't work. I am looking for a better solution now.
    Edit2: This shall work. Again use a subprocess. Use a loop condition. Set condition like userActed = 1. First use a script, do something like loopNumber++ . And use a Timer this time, which will start the user task in 1 hour + 1 min. And expire the user task in 1 hour. If the user acts in 1 hour, set userActed = 1, so the subprocess won't loop again. But when it does, you can set your human tasks to act like how you want them to. In the first run, user1 should get the job. In the second run, skip the first and user2 should get the job.
    HTH.
    Edited by: cenkozan on Jun 7, 2011 7:51 AM
    Edited by: cenkozan on Jun 7, 2011 8:20 AM

  • BPM 11g - FYI task to send a copy to each member of a group

    In BPM 11g I am trying to send an FYI task to each member of a group. They should each get their own copy of the task so that it does not get removed from their inbox when the first person dismisses it.
    I was not successful in getting multiple copies of the task using FYI type even when multiple users were defined in the participant list. So, I changed the participant type to parallel. This was successful in sending mulitiple copies when I defined a participant list of hard coded users, but the process stopped and waited until at least one of the users dismissed it (so the FYI only behavior changed, but I can get around that with a parallel process flow).
    Still using parallel participant type, I have been trying to change from my hard coded list of users to a security group of users. If I set assignment to the group, only one task is created for the group. So, I have been trying to assign to users and use the expression ids:getUsersInGroup('LoanAnalyticGroup') to get the users in this group. I have tried several approaches to this expression but can't get it to work.
    Has anyone else successfully implemented sending tasks to all members of a group in 11g? Any advice?

    Hi all,
    We are also facing same issue.
    The function ids:getUsersInGroup doesnt return value.
    Even i imported identityservice.xsd and is_config .xsd and created variable using the *"users"* element of identityservice.xsd schema and assigned the value to this variable.
    But Audit always says
    *"XPath query string returns multiple nodes.*
    *According to BPEL4WS spec 1.1 section 14.3, The assign activity part and query should not return multipe nodes.*
    *Please check the BPEL source at line number "72" and verify the part and xpath query "*
    Help me to resolve this issue.

Maybe you are looking for

  • Why does it say my event is already open with the same identifier so the second document cannot be opened?

    I have been working for 7 hours today on a major 3-month project. Everything was okay until I closed it and tried to open it. I received this error: "/Volumes/MediaSAN4/Workbench/HRL /Final Cut Events/Move-In is already open with the same identifier

  • How to track changes in table

    hi, I have a table on server with some columns. After few days i added some more columns to it. Now i don't know which columns were added by me. We use common log in so it is also not possible to track by name. Please tell me how could i get the colu

  • Migration from sun/solaris to windows

    While performing a migration of SAP from solaris to windows OS what are the implications, issues and things to keep in mind. Also which database would give the best performance (Oracle or MS SQL) and what are the specific requirements if latest relea

  • Import data Question

    Can you please give me step by step  stages how to import Data from an Excel Sheet into Items Master data where: a. I want to import Bar Code numbers in to the existing Bar Code Field for individual items b. How do I Map which field in Excel correspo

  • To list the current users

    In my place there are 10 users created but at given point of time only an average of 5 users working. Anyone please tell me the "select" statement to list the users who are all currently connected with oracle database.