Dynamic Approver List  + BPEL 10.1.3.3

Hi,
May I know how to write the Xpath(List of Approvers are passed as BPEL variable) for Defining the Dynamic Approvers Assignee list in human task assignment editor?
Any sample example?
Thanks

Hi,
After passing the comma separated approver list,I could see in BPEL instance. But assignment thinks it is single group at runtime. E.g
if comma separated groups are A,B. Assignment service thinks it is single group and complains saying A,B role not exist.
What I noticed that in static comma separated list, i could see individual elements added in source code
<participant name="Assignee1">
<resource isGroup="true" type="STATIC">A</resource>
<resource isGroup="true" type="STATIC">B</resource>
</participant>
But in dynamic approver list do I need to apply any xQuery or XSLT to iterate over list? Please advice
Thanks

Similar Messages

  • Defining Approver list in BPEL -OIM Approval Workflow

    Hi,
    We have a requirement where in we need to retrieve array of users from external resource (not integrated with OIM) and pass them as an approver list during resource provisioning request. As these users are not managed as a role in OIM, how do we achieve this functionality? We are retrieving these approvers as part of Java embedding in BPEL process, but not sure how to pass them as a approver list in BPEL -One of them can approve the request.
    Thanks in advance

    Thanks Kevin,
    So can I assign String DataType to the comma separated OIM Logins (approvers) and BPEL will take care of assigning them as approvers appropriately? If so, then will the request will be approved if one them approves it?
    Thanks again

  • Getting error while trying to get pending approval list from SOA server

    Hi,
    I have followed the steps mentioned in the following post to get the pending approval list from SOA server using java api's :
    Using Java APIs for Oracle Human Workflows | Oracle Technologies Premier
    But when I am running the java program I am getting the following error :
    java.io.InvalidClassException: oracle.bpel.services.common.exception.ServicesException; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = -2263933888849127134
    Please let me know how to solve this issue.
    Thanks

    You would need to spcify the JNDI path in a properties file or the like.
    Suggestions here should help -
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial

  • Dynamic Approval Group with Voting Method  First Responder Wins

    Hi all,
    i create new Approver Group with type: Dynamic, and Voting Method: First Responder Wins. and i write the query to get user_id.
    The query return the correct users, but in the approval list in the wf, it requires approval from all users in my dynamic approver group !!
    i need only one first user to approve (First Responder Wins), then must go to next approver group.
    please help me to solve this problem
    thanks all ..
    hedaya

    With Dynamic approval First Responder wins does not work, We have to use Roles in HR Manager.
    Refer Configuring Parallel Approvers Notification (Doc ID 471125.1)

  • Customization to Add Approver to Requisition Approver List

    Hi
    We use a Position Hierarchy to determine the Approver List for a PO Requisition Approval
    However we also use Project Costing, and would like to dynamically add the Project Managers into the Approver List for Requisition lines coded to their Projects.
    Does anyone have any experience doing this ? Know of any Open API calls that will allow this?
    I have been through the Workflow and have designed the Process flow changes required, but cannot find any documentation on "dynamically" adding an additional approver into the Approver List.
    Thanks

    I have completed work on this and it will require use of the Applications Framework to add in the appropriate user. You will need to work with the Controller for the page as well as the AM for some validation.
    In short you need to complete Applications Framework customisations to get this information.

  • Dynamic Approval

    How can we model dynamic approval in Oracle BPM 11g, such that a task is approved by n number of participants, where n is determined at run time.
    Any help would be highly appreciated.
    Thanks,

    I made a quick test and here's what I got.
    Before the HumanTask, generate a comma separated list of the required approvers (in your examples it would generate "A,B" and "A,B,C,D") and then pass that list as an input to the human task.
    Then on the Participant configuration choose
    - Type: Serial
    - Build a list of participants using: Names and expressions
    - Specify attributes using: Value-based
    And in the participants list use a single line with: User, By Expression, the payload variable containing the user list (something like /task:task/task:payload/task:usersList).
    Expand the Advanced section below the participants list and select the "Specify skip rule" checkbox and put /task:task/task:systemAttributes/task:outcome = "REJECT" in the textbox that appears. This makes the approval terminate as soon as a user sets the outcome to REJECT, otherwise it would still go through all the remaining approvers.
    With this you should get the desired functionality. You'll still need some java to generate the user list (or a database stored procedure, or a web service, or...), but it's, I hope, minimal enough.
    There's (I think) an alternative, in which you don't need to generate the user list beforehand. In the participant configuration, if you chose Specify attributes using: Rule-based, instead of value-based, you can use a business rule to generate the list of users. But I don't have much experience with business rules, so I can't help you there. But the rest should be the same
    Tell me if there's anything that's not clear and I'll try to clarify it.
    Regards,
    Diogo Henriques

  • FM for approver list BEFORE shopping cart is ordered?  DOC_CHECK_BADI

    Is there a function module that can be called from DOC_CHECK_BADI to return the approver list as it shows in the approval preview?  This will be before any workflow is created, since the shopping cart has not been ordered yet.

    Hello,
    Definitly not an easy thing to do.
    You have to consider at least 3 cases:
    - No workflow instance nor buffered (SC creation, approval preview not called)
    - Buffered workflow (approval preview has been called)
    - Wf instance exist (Hold or ordered Shopping cart).
    In all cases the function BBP_PDH_WFL_APPROVAL_SIMULATE will give you the correct information if you call it with the correct parameters.
    I think you already check the form simulate_approval_pbo of fg bbp_pdh_wfl. You should try to reproduce this logic and need to retrieve first some global variable from this program (gv_buffer_wfdkey, gv_check_status, etc.) with memory import/export of dynamic call (if possible).
    Rgds,
    Pierre

  • Requisition Approvals AME errors on Approval List Rebuild When an Employee

    We're using AME for requisition approvals which contains several dynamic approver groups.
    The problem is that the approval list can be large and depending on how long it takes the requisition to be approved a person who has already approved the requisition might be terminated in Oracle. The approval list rebuilds after each subsequent approval and errors at the point where the termed person falls in the list.
    How can we work around this? Is there a way to get AME to NOT rebuild the list once the approval is in process? Or is there a way to have it not look at stages of the approval list where approval has already happened?
    Thanks,
    Suzanne

    Hi All,
    We have found out the Problem for the above issue.
    The PREPARER_ID in the PO_REQUISITION_HEADERS_ALL table is coming as -1 which should not be. The user is linked to HR User and in FND_USER table we can see the employee id.
    Can someone suggest on this if we have miss something.
    Regards
    Aryan

  • Flex Table Add Row Issue with Dynamic Entry Lists in Visual Composer

    All,
    Your help would be kindly appreciated in resolving an 'Add Row'-issue within a Flex Table that uses Dynamic Entry Lists in Visual Composer. The issue here is as follows :
    When I use a [Local Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=O5hrG2aMxWZ84Mu1211193041]to populate a row field, the initial row and all next rows are emptied upon 'insert row', they loose their selected values and also the entry list values ('pull-down menus') are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    The initial row does [show the entry list values |http://www.postyourimage.com/view_image.php?img_id=2HybmEHAuQYs9cg1211192766]from the Local Dynamic Entry List based on the dynamically assigned input value; upon 'insert row' the entry lists are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    When using a [Global Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=m5p2KYuBb442dTq1211193501]to populate the row fields the Flex-table behaves normally as expected. Unfortunately with a Global Entry List it is not possible to dynamically assign a input value. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=U96V0zENCCyO3gA1211193157].
    Please also see the [issue summary image|http://www.postyourimage.com/view_image.php?img_id=06xti08tIEfely1211195178] I made to visualize the issue.  What I basically would like to know is whether this is a 'known issue' or not, or that it is an issue that can be fixed or whether there is an alternative workaround available ... I'm using Visual Composer 7.0 and the Portal is at SP 13.
    Many thanks,
    Freek

    Hi,
    you should be able to assign a dynamic value with global entry lists as well. If you say @myParam as dynamic value. VC will indicate in red letters, that the field @myParam is unknown. However, it will work, as long as @myParam is known in the form or table where you use the entry list.
    I have never heard of the problem that entry lists are emptied after "insert"-event.
    Kindes Regards,
    Benni

  • How to create Exchange dynamic distribution list using multivalue extension custom attribute

    I am trying to create a dynamic distribution list using an ExtensionCustomAttribute.  I am in hybrid mode with Exchange 2013.  The syntax I have is this: 
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {(ExtensionCustomAttribute2 -eq 'NH')} 
    This works correctly on-prem.  But hosted always results in an empty list.  I can see in dirsync the attribute is in the hosted environment, but for whatever reason, the distribution group gets created but always come up null.
    If I create a group looking at the single valued attributes, such as CustomAttribute6 -eq 'Y', it works correctly on-prem and hosted.  
    If anyone has any suggestions I would appreciate it.

    I don't think I provided enough information about the problem.  Let me add some and see if it makes sense.
    I have an Exchange 2013 on-premise configured in hybrid mode with Office365.  For testing purposes, I have 2 users, Joe and Steve, one with the mailbox on-prem, and the other with the mailbox in the cloud.  Each of them has CustomAttribute6 = 'Y'
    and ExtensionCustomAttribute2 = 'NH'. Dirsync shows these users and these attributes are synced between on-prem and cloud.
    Using on-prem Exchange powershell, I run the following command:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')} 
    This correctly finds the 2 users when I query for them as follows:
    $DDG = Get-DynamicDistributionGroup DG_NH
    Get-Recipient -RecipientPreviewFilter $DDG.RecipientFilter | FT alias
    So I then delete this DG, and recreate it this time looking at the multi-value attribute ExtensionCustomAttribute2, as follows:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')} 
    Replaying the query above, I can see this also works fine and finds my two users.
    Next I open a new powershell and connect to Office 365 and repeat the process there.
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')} 
    This correctly finds the 2 users when I query for them.
    And then delete the group and recreate it using the multi-value attribute:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')} 
    When I run the query this time it produces no result.  Every test I try results in an empty group if I am using a multi-valued attribute in the search criteria in the cloud.  If I use single valued attribute, it works fine.
    I really need to be able to get multi-valued DDG's working in the cloud.  If anyone has done this and has any suggestions, I would appreciate seeing what you did.  And if this is the wrong forum to port this, if you can point me to a more suitable
    forum I will report there.
    Thanks,
    Richard

  • How to get all the approver list for a particular transaction in iExpense

    Is there any API to get all the approver list for a particular transaction in iExpense workflow after submitting an expense report?

    Hi All,
    Could anyone please let me know API to get all AME approvers in one go.
    I am currently using below API to get approver list.
    ame_api.getallapprovers (applicationidin => 201 , -- PO
    transactionidin => l_document_id , -- req header id
    transactiontypein => 'PURCHASE_REQ'
    ,approversout => l_appr_list
    But if any of the approver is INACTIVE then API is going into exception and not showing all approvers. Requirement is like to show all approvers with their statuses (ACTIVE / INACTIVE).
    Reply ASAP.

  • Dynamic Select List Allowed Values

    Howdy Folks,
    I am trying to allow end users to select their username. The usernames are generated from a rule library, and displayed in a select form element. I am doing this by having the allowedValues call the rule that generates the possible names directly. The rule returns a list of valid names. The problem I am currently having, is that if the page reloads or refreshes, then the allowedValues calls the rule again. Some of the username choices involve random numbers, so it is possible (and very likely), that separate calls to the rule will generate different potential values. So what is now happening, is that when a user selects the value, the page reloads, and the end user sees an error that looks like this:
    ( ) - Warning: Selected value for field 'Select a Valid User Name' does not match any of the allowed values.
    The reason I am reloading the page, is that I am also trying to show the user what their email address will look like with the new value. So I have a different form element that is loading is value dynamically, and referencing the select form element. This mostly works, but the warning above is unacceptable.
    Is there a way I can load the dynamically created list only once, the first time the form is viewed, and not load it again every time the page refreshes?
    Another thing I tried to do (but didn't have luck with, so I sorta gave up on it) was to use the onChange of the select to change the value of email display field. This way the page never reloads and I don't have to deal with that issue. I'm thinking the onChange might actually work, but I would need to execute javascript or something, and not just use an express <set/> command to set the value of the field name that displays the email text.
    Does anyone have advice on how to make the values only load once? Or how to change the value on the onChange event?
    Thanks!
    Jim

    Mike,
    Thanks for the feedback. I actually did try that eventually. I created a variable in the form, and initialized that variable to the list of possible values. Then I referenced the variable in the 'allowedValues' of the select form item. At that point in time I still had the select box set as an action, so it would reload the page, hoping to reload the value in the email display field. This still did not work. Each time the action fired off, the variable was re-initializing itself. I eventually tried to put in a check, so it would not re-initialize itself if it had already been initialized. That caused a syslog error.
    I ended up solving the problem using javascript. I changed the field that reported the potential email address to an html element. Then for the html attribute I made a div with an ID. I then set a line of javascript into the onChange attribute of the select form element. This worked when ever the select form value changed. I then added the same line of javascript to the onLoad attribute of the jsp pages body element. This worked for loading the page.
    This solved the problem of the page reloading and the select getting new values. That still happens if you actually reload the page, but all the form elements work without the reload now.
    Thanks!
    Jim

  • Application on approved list won't open

    I am running a lab using the Mac OX Server (Leopard) and have had several problems with applications being on the "approved list" but not allowing the user to open them. iPhoto is one of them and the newest is a free program called TextWrangler. Students are logging in to their own hard drive, using the applications that are on the computer. These programs work when logged in to the computer, but not the server. A message always pops up saying the program is not on the approved list to contact the person who set it up. Can anyone help, please?

    Kimberly, there are a couple of things you can try.
    In Workgroup Manager, in your group preferences, under 'Applications' where you're managing what apps they can use, you can try adding the applications in question as if they were folders.
    So by this I mean, where you see the tabs Applications|Folders, select folders and where it says "Allow applications within these folders" click the plus icon and navigate to the application in question as if it were a folder.
    An application is basically a folder (there are a bunch of files inside it) but it doesn't behave like one when you double click it (instead it launches).
    Once you have saved your preferences it would be a good idea to delete the managed preferences on the client machine before testing again.
    These are located /Library/Managed Preferences/
    (note that that is the main "Library" folder at the root of the Macintosh HD not a users Library folder.)
    You can delete the whole "Managed Preferences" folder.
    This folder temporarily stores the settings that are being sent to the client by the server so that they don't have to be downloaded each time a user logs in, and you're deleting it to be sure your new settings are being downloaded.
    I have personally found that I 'do' need to sign my applications under some circumstances. Where are you using WorkGroup Manager? Are you using it on the server or are you using it on one of the client machines? If you're using WGM on the server to add applications, have you checked that the versions of the applications on the server are the same as on the client? Have you tried logging in as admin to one of the client machines, and using Workgroup Manger, adding the application directly from the client machine?
    Sorry for the overly long post.
    Message was edited by: Fridgemagnet

  • Report Viewer Dynamic Parameter List not showing a complete list of values

    Hi, I have installed the crystal report runtime 13.0.1.220 for framework 4.0 in a 64-bit windows 7 professional server.
    I have an aplication that opens crystal reports using the crystal report viewer control for visual studio 2010, also version 13.0.1.220.
    ISSUE: The report opens fine, but it does not shows all the available values in the dynamic parameter list.
    I have tried setting the MaxRowsetRecords registry key to diferent values but it does not work.
    I do not have any crystal report stand alone version installed in my server.
    Please help me?

    Hi Ludek,
    yes i followed the instructions of the KBase you are mentioning, but it isn't working for me.
    I modified the following keys:
    HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    and
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    1) I had to create the LOV key under the DatabaseOptions in both keys.
    2) Inside the LOV keys I created the new string value MaxRowsetRecords and set the value to different values. (Ex: 5000, 10000 and 1000000)
    3) I restarted my server. Still not working.
    4) Then after that i modified the following registry keys: (leaving the first 2 keys modified)
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    and
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports Designer Component\DatabaseOptions\LOV
    5) Also had to create the LOV key under the DatabaseOptions in both keys.
    6) Inside the LOV keys I created the new string value MaxRowsetRecords and set the value to different values. (Ex: 5000, 10000 and 1000000)
    7) Restarted my server. still not working
    8)  Then after that i modified the following registry key: (leaving the first 4 keys modified)
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports Designer Component\ReportView
    Inside this key I created the DWORD PromptingLOVBatchSize and gave it a decimal value of 1000000
    9) Restarted the server. Still not working. For crying out LOUD!!

  • I am trying to set up a child account where websites are restricted unless they are on the approved list, however youtube is still allowed.  How do I block youtube?

    I am trying to set up a child account where websites are restricted unless they are on the approved list, however youtube is still allowed.  How do I block youtube?

    Hello jmkibert,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    OS X Mavericks: Set up parental controls
    http://support.apple.com/kb/PH14414
    Web > try to limit access to adult websites > customize > never allow these websites.
    Have a nice day,
    Mario

Maybe you are looking for