[BPM Dynamic Parametric Role] How to Implement DPR?

Hi Guys,
Here again, can someone provide me a link for sample codes on implementing Dynamic Parametric Roles?
Thanks!

Hi Dan,
Yup I'm talking about Parametric roles in oracle BPM. I need to find a way where in the system can generate parameters without any human intervention. This needs to be done by an external application. So basically what I need is a sample implementation of how it is done in BPM.
Regards,
Mr. Clutch

Similar Messages

  • [Dynamic Parametric Role]

    Hi Guys,
    I'm currently trying to implement updating of parameters for a particular participant. I tried to follow the oracle reference code found on this link :
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/standard_components/index.html?t=Fuego/Fdi/DirHumanParticipant/DirHumanParticipant_component.html
    However I get this error message:
    Caused by: java.lang.UnsupportedOperationException
         at fuego.directory.provider.UnsupportedParticipantAccessor.updateHumanParticipant(UnsupportedParticipantAccessor.java:190)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:739)
         at $Proxy3.updateHumanParticipant(Unknown Source)
         at fuego.directory.DirHumanParticipant.update(DirHumanParticipant.java:1770)
         at fuegoblock.fdi.DirHumanParticipant.update(DirHumanParticipant.java:1951)
         at POSM_3_0_Order_Approval.ParametricRole.Default_1_0.Instance.CIL_createParametricRole(Instance.xcdl:31)
         at POSM_3_0_Order_Approval.ParametricRole.Default_1_0.Instance.CIL_createParametricRole(Instance.xcdl)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:499)
    Can someone help me out?
    Thanks!

    Hi Dan,
    Yup I'm talking about Parametric roles in oracle BPM. I need to find a way where in the system can generate parameters without any human intervention. This needs to be done by an external application. So basically what I need is a sample implementation of how it is done in BPM.
    Regards,
    Mr. Clutch

  • 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?

  • 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

  • BPM Dynamic Roles

    Hi All,
    I am trying to figure out how I can dynamically assign roles within BPM. So I want to be able to route the BPM process to the manager of the user that the process was assigned. I am just not sure how to dynamically do this within BPM.
    Any thoughts? Any documentation on dynamic roles would be greatly appreciated.
    We are using BPM 11g.
    --S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    So is it the call CreateResourceList that lets you actually set the user / approle for a flow?
    It looks like that might be on the right track.
    --S                                                                                                                                                                                                                                                                                                               

  • How to implement Sync-Sync scenario in BPM? Please help!

    Hi Experts,
       I have a Sync-Sync scenario (SOAP - RFC) where both sender as well as receiver are synchronous.
       I have created outbound sender sync interface, abstract sender sync interface, Receiver abstract sync interface and Receiver inbound sync interface.
      In BPM I have started with Receive step.
      But in receive step I can give either Async Abstract interface or Open Sync-Async bridge. I am confused!
      How to implement my scenario in BPM?
      It will be really great if somebody can send me the step by step info or doc.
    Thanks & Regards,
    Gopal

    Hi,
    Refer this link
    use synchronous send step in your BPM - http://help.sap.com/saphelp_nw04/helpdata/en/43/6211331c895f6ce10000000a1553f6/content.htm
    RFC Scenario using BPM --Starter Kit
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    regards
    Aashish Sinha
    PS : reward points if helpful

  • How to implement dynamic sql in owb

    Hi everybody,
    I am new to OWB and hence i want to know how i can implement the following dynamic sql statement in owb...
    Declare
    Cursor C_tab_col is
    Select cat from tbl_cat_edesc_1 ;
    Vcat varchar2(240);
    Cursor C_edesc_col is
    Select edesc from tbl_cat_edesc_1 ;
    Vedesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_Tab_col;
    Fetch C_tab_col into vcat;
    Open C_edesc_col;
    Fetch C_edesc_col into vedesc;
    loop
    V_Command := 'update upd_catseg_1 c set c.'||vcat||'=';
    V_Command := V_Command||'(select d.sales from TEST_catseg d' ;
    V_Command := V_Command||' where edesc = '||''''||vedesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_tab_col into vcat;
    Exit when c_tab_col%notfound;
    Fetch C_edesc_col into vedesc;
    Exit when c_edesc_col%notfound;
    end loop;
    commit;
    end;
    Thanks a many

    Hi,
    first i have created a procedure witht he following code in the code editor...
    BEGIN
    Declare
    Cursor C_brand_col is
    Select cat from TBL_CAT_EDESC_BRAND ;
    Vbrand varchar2(240);
    Cursor C_bredesc_col is
    Select EDESC_BRAND from TBL_CAT_EDESC_BRAND;
    Vbredesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_brand_col;
    Fetch C_brand_col into vbrand;
    Open C_bredesc_col;
    Fetch C_bredesc_col into vbredesc;
    loop
    V_Command := 'update sav_fc_sa_pc c set c.'||vbrand||'=';
    V_Command := V_Command||'(select d.fc_brands_sa from TEST_brand d' ;
    V_Command := V_Command||' where d.brand_edesc = '||''''||vbredesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_brand_col into vbrand;
    Exit when c_brand_col%notfound;
    Fetch C_bredesc_col into vbredesc;
    Exit when c_bredesc_col%notfound;
    end loop;
    commit;
    end;
    END;
    then i validate it and deply it..
    after that i create a mapping and in that mapping i first import the table TBL_CAT_EDESC_BRAND and drag and drop it into the mapping and again the i put the procedure into a transformation operator and connect the inoutgrp of the table to the transformation operator ingrp deploy it and run it...this is taking a lot of time .... so i am not sure whether i am doing the right thing...for this dynamic sql i dont need to pass any parameters. can i juz execute this procedure or should i create a mapping ???? i am totally confused... could you please help me.....how to proceed........
    if i juz execute the dynamic sql it takes only 5 min in sql but i am not sure how ti implement it in owb... can you please help...
    Thanks a many

  • How to implement Dynamic lookup in OWB mappings(10g)

    Hi,
    Iam using OWB 10g version for developing the mappings.
    Now I need to implement the Dynamic lookup in the mapping.Is there any transformations available in OWB to achieve this.
    Please give me some information about the same.
    Thanks in advance...

    Hi,
    first i have created a procedure witht he following code in the code editor...
    BEGIN
    Declare
    Cursor C_brand_col is
    Select cat from TBL_CAT_EDESC_BRAND ;
    Vbrand varchar2(240);
    Cursor C_bredesc_col is
    Select EDESC_BRAND from TBL_CAT_EDESC_BRAND;
    Vbredesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_brand_col;
    Fetch C_brand_col into vbrand;
    Open C_bredesc_col;
    Fetch C_bredesc_col into vbredesc;
    loop
    V_Command := 'update sav_fc_sa_pc c set c.'||vbrand||'=';
    V_Command := V_Command||'(select d.fc_brands_sa from TEST_brand d' ;
    V_Command := V_Command||' where d.brand_edesc = '||''''||vbredesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_brand_col into vbrand;
    Exit when c_brand_col%notfound;
    Fetch C_bredesc_col into vbredesc;
    Exit when c_bredesc_col%notfound;
    end loop;
    commit;
    end;
    END;
    then i validate it and deply it..
    after that i create a mapping and in that mapping i first import the table TBL_CAT_EDESC_BRAND and drag and drop it into the mapping and again the i put the procedure into a transformation operator and connect the inoutgrp of the table to the transformation operator ingrp deploy it and run it...this is taking a lot of time .... so i am not sure whether i am doing the right thing...for this dynamic sql i dont need to pass any parameters. can i juz execute this procedure or should i create a mapping ???? i am totally confused... could you please help me.....how to proceed........
    if i juz execute the dynamic sql it takes only 5 min in sql but i am not sure how ti implement it in owb... can you please help...
    Thanks a many

  • BPM Parametric Role

    Dear all,
    I try to lookup parametric role from JDev and I get this exception.
    effectively the ejb.bpm.services/BPMOrganizationServiceBean context doesn't exists in Foreign JNDI provider list ....
    Error during ejb lookup from bpm services client.
    Error during lookup of remote ejb BPMOrganizationService .
    Contact Oracle support if exception can not be fixed.
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'ejb.bpm.services/BPMOrganizationServiceBean' didn't find subcontext 'bpm'. Resolved 'ejb' [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'ejb.bpm.services/BPMOrganizationServiceBean' didn't find subcontext 'bpm'. Resolved 'ejb']; remaining name 'bpm/services/BPMOrganizationServiceBean'
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at weblogic.jndi.internal.ServerNamingNode_1035_WLStub.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.bpm.client.impl.BPMServiceRemoteClient.getBPMOrganizationService(BPMServiceRemoteClient.java:190)
         at oracle.tip.tools.ide.workflow.editor.controls.lpg.LPGLookup.fetchLPG(LPGLookup.java:200)
         at oracle.tip.tools.ide.workflow.editor.controls.lpg.LPGDetailPanel.searchLPG(LPGDetailPanel.java:160)
         at oracle.tip.tools.ide.workflow.editor.controls.lpg.LPGDetailPanel._populateApprovalGroups(LPGDetailPanel.java:234)
         at oracle.tip.tools.ide.workflow.editor.controls.lpg.LPGDetailPanel.access$100(LPGDetailPanel.java:36)
         at oracle.tip.tools.ide.workflow.editor.controls.lpg.LPGDetailPanel$2.run(LPGDetailPanel.java:214)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'ejb.bpm.services/BPMOrganizationServiceBean' didn't find subcontext 'bpm'. Resolved 'ejb'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
         at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Dec 12, 2012 10:10:53 AM oracle.bpm.services.instanceManagement
    SEVERE: Exception
    BPM-70203

    oups ....
    Fixed server was shut down

  • How to implement moving (linear) averaging in a subVI with dynamic data?

    I was wondering how to implement a moving or rolling linear averaging using a subVI on a set of dynamic data coming from the DAQ Assistant or a counter input channel that will be written using the Write to Measurement File VI?  Below is an example of what I mean.
    Solved!
    Go to Solution.

    You could use the MeanPtbyPt vi to give the running average.  Assuming your code snippet is inside a loop, wire an =0? comparison of the iteration number to the initialize input to reset the value and put 25 (or whatever you want) as the sample length.

  • How to Implement Dynamic Modification Rule for Material & multiple vendor Combination

    Hi Team,
         In dynamic modification rule for Material &  vendor combination, i have maintained material & vendor in Inspection plan at Material Assignments
    1.If i purchase same material from different vendors then how to implement ?

    Hi Balaji,
    I am not sure if i have followed your requirement.
    What do you want to do with Vendor Z? Do you want to inspect each lot from Z?
    If yes:
    Then Create 2 Inspection plans with same Operations and Same MICs, In Material Assignment, mention Vendor as Z so that 1st inspection plan will only be for Vendor Z. Do not enter DMR in Header.
    In 2nd inspection plan Enter DMR and do not mention any vendor so this plan will be applicable for all vendors except Z.
    If No:
    Then create Qm info record for vendor Z with "No inspection" set in QI06.
    Amol.

  • How to implement Dynamic Context Node Mapping between Components

    Hey genuis:
               I am looking for how to implement context mapping bwteen two components. I read some threads, and try to use external context mapping. The example works fine. However, my requirement is more than that.
    I have a context node in Component B, and the attributes in it are dynamically generated. Component A is the main component which use Component B's function. Both A and B work fine by theirselves. 
    When I assemble A and B (external mapping), the system gives me a exception:com.sap.tc.webdynpro.progmodel.context.ContextException: MappedNodeInfo(T8UploadCompInterface.data): cannot create nodes, no mapping defined yet.
    Please give me some suggestion?
    Any responses are appreciated.

    I miss this thread.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459cb44
    This is almost the right solution for my problem.

  • Problems when creating a new parameter for a parametric role

    I'm trying to create a new parameter for a parametric role, but it seems that it is never updated, because the BPM engine does not return any error.
    The scenario is: I have a process that has the role "Brands_Admin", the brands are populated by Web Service dynamically, then the parameters of the role would be those brands. In this case, if a new brand is registered (WS returns a new brand), I simply create a new parameter for the role through the "process administrator" of the BPM Enterprise.
    I'm trying to create the new parameter as follows:
    dirSession                 = DirectorySession.currentEngineSession;
    dirOrganizationalRole       = DirOrganizationalRole.fetch(session : dirSession, id : "Brands_Admin");
    String[] parametricRoles       = dirOrganizationalRole.parametricValues;
    parametricRolesCount      = parametricRoles.length();
    parametricRoles[parametricRolesCount]      = "NEW_BRAND";
    dirOrganizationalRole.parametricValues      = parametricRoles;
    dirOrganizationalRole.update();
    dirOrganizationalRole.refresh();
    for (int i=0; i<dirOrganizationalRole.parametricValues.length(); i++) {
         logMessage(dirOrganizationalRole.parametricValues);
    In the code above, the BPM Studio will print the new parameter correctly, but in next activity (like a Screenflow) when I try to get the parameters of that role again, there are only the parameters that were registered using the BPM Studio, the parameters that are created programmatically not appear.
    Anyone know the reason?
    An user with the same problem: http://forums.tangosol.com/forums/thread.jspa?threadID=839253&tstart=1

    When a project that contains this logic to create a new parameter for a parametric role programmatically is deployed in BPM Enterprise, some strange behaviours occurs.
    The first is that I cannot see through the process administrator the new parameter that was created for the parametric role.
    The second is that if I create this new parameter through process administrator and associate an user to the role that contains the new parameter I cannot access the deployment process. In workspace (authenticated with user that is associated with the role that contains the new parameter) I cannot see anything about the process.

  • Parametric role and organization

    Hi,
    I´ve read BPM Studio helps and some threads in this forum and I still can't figure out this dynamic role thing.
    As I understand a participant can not normally particapate to process instance which have been started by a participant from different organisational Unit even if role is valid.
    Is it possible to change in which organization Unit's Role is doing the task, I am very sceptic that parametric role will solve this ?
    Is there some where a good presentation of this dynamic role and organization thing ?
    thanks

    You get it perfectly.
    1.- Yes it is different Studio and Enterprise in this thing, in Studio the deployment is equivalent to "the root OU" in Enterprise.
    2.- In Studio you do not manage the OUs.
    3.- In enterprise the OUs are managed in the deployment.
    Things that deals to the directory are usually in the Enterprise side, participants are not exported from studio and the rest of things (OUs, roles, groups...) usually are mapped when you publish. And of course when you publish in Enterprise yo have more options that when you deploy in Studio (for example deploy to specific OUs, you can select the engine qhere you deploy (in studio you only have one engine), and so on...
    Hope it helps
    Edited by: ruben.vidaurre on 03-abr-2009 12:24
    Edited by: ruben.vidaurre on 03-abr-2009 12:25
    Edited by: ruben.vidaurre on 03-abr-2009 12:26

  • Parametric Role ReAssignment

    Hi,
    We are having one parametric role: Agent which is having 2 values: TS1, TS2.
    We have some users assigned to each of the parametric values say to 5 users to TS1 and 2 users to TS2.
    Now, we want the users who have assigned parametric value "TS1" to move to "TS2" so that BPM Server will now have 7 users to "TS2" and removing them from "TS1".
    Can anyone tell me how we can achieve this case through PBL code.
    Thanks,
    Abhishek

    Here is some code, to add a role to a participant... I haven't done it with a parametric role, but you should be able to figure it out...
    roleName as String = "Admin"
    userId as String = "jsmith"
    session as DirectorySession = DirectorySession.currentEngineSession
    theRole as RoleAssignment = RoleAssignment.create(role : DirOrganizationalRole.fetch(session : session, id : roleName), permissions : 95)
    dirHum as Fuego.Fdi.DirHumanParticipant = DirHumanParticipant.fetch(session : session, id : userId)
    curRoles as RoleAssignment[]
    curRoles = dirHum.rolesAssignment
    if indexOf(curRoles, element : theRole) == -1 then
         curRoles[] = theRole
         dirHum.rolesAssignment = curRoles
         update dirHum
    end HTH
    -Kevin

Maybe you are looking for

  • Ipod Nano won't start - folder w/exclamation point error message!

    My Ipod Nano won't start! I got it about a year ago and whenever I try to turn it on, a folder with an exclamation point and the words, "www.apple.com/support/ipod" come up. I've tried to get it to work but it's not. I even tried looking in the help

  • E61i Installing Applications on Start-up

    Everytime I switch off and then switch on my Nokia E61i, it will try and install applications on start-up and then display an error message saying that it can't install applications from the memory card and that I should use the application manager i

  • Ok, ok, I give up since no one can solve

    my second database connection problem. I am thinking about worst case. How to remove a database from system completely and cleanly?? Thanks for any help...

  • SCCM 2007 Won't remove Distribution Points in Site Status

    I'm working SCCM 2007 and have removed  some orphaned Distribution Points by going through and removing any application assigned to them and then removing the roles under the Site Systems Folder. The Systems then disappeared from under Site Systems b

  • Art work will not show

    I laoded iOS5 on my iPod Touch.  Now art work will not display on teh iPod.  It is still in the library and still there when I "get info".  Help?