Ids:getUserProperty

Hi,
I used this xpath extension function in 10g and I find it very useful. Now I'm trying out Jdeveloper 11g Studio Edition Version 11.1.1.1.0 but I can't seem to find it in the expression builder. I looked at the documentation and it's still there, is it just left out when it moved from 10g to 11g or is there a schema or and extension that I need to add in order to see and use this fuction again?
Thanks.

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.

Similar Messages

  • Using ids:getUserProperty in XSLT

    Hi!
    XSLT designer does not let you use IDS functions, so I tried to modify the source directly like this:
    <xsl:value-of select='ids:getUserProperty(/client:process/client:Pratica/ns1:IdentificativoMittente,"mail")'/>
    Compilation is fine but at runtime I get this error:
    <bpelFault><faultType> <message>0</message></faultType><subLanguageExecutionFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:processXSLT('xsl/initPraticaLDAP_nodate.xsl',bpws:getVariableData('inputVariable','payload')). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: &lt;Line 46, Column 136>: XML-22016: (Error) Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary></part><part name="code"><code>XPathExecutionError</code></part></subLanguageExecutionFault></bpelFault>
    Is there any workaround to make IDS functions work in XSLT?
    Thank you for your help.
    Regards,
    Mick

    Hi RVR,
    This sounds like pretty straight-forward array handling, but a bit of clarification please!
    > i have a 2D array (A) with 100 columns and 400 rows, where each cell contains a number from 0 - 300.
    > These numbers are not in order and some will be repeated and some will not be there at all.
    > i have a second 2D array (B) with 300 columns and 400 rows, which contains my data.
    >  For identification, the headers (labels) on the first row are numbered 1 - 300 in order.
    > So I want to use the numbers contained in my first 2D array (A), match them to the headers of my second 2D array (B)...
    What should be dome when the value from array A is 0 ?
    > and subset the corresponding columns.
    It's not hard to pull-out a column of data from array B, but should this be done for every cell in A?  If so, where is this column going once extracted?
    Should the solution build a 3D array of 100 by 400 (array A) by 400 (the depth of the column extracted from B)?
    Cheers.
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

  • Identity service XPath extension ids:getGroupProperty returns empty

    HI All,
    We are using SOA Suite 11.1.6 for the current project and like to configure Active Directory as the identity provider. AD is working fine so far. Also, we use sAMAccountName as the user name attributes. The problem is that ids:getGroupProperty returns empty. For example, ids:getGroupProperty('group1','mail') return ''. Any idea?
    ids:getUserProperty works fine. The provider is configured with the following filters:
    user - (&(sAMAccountName=%u)(objectclass=user))
    group - (&(cn=%g)(objectclass=group))
    I did a LDAP search with the same group name and the search worked fine.
    Thanks in advance.
    Steven
    Edited by: sw12345 on Apr 29, 2012 9:39 AM
    Edited by: sw12345 on Apr 29, 2012 9:41 AM
    Edited by: sw12345 on Apr 29, 2012 9:41 AM

    The error:
    Error in evaluate <from> expression at line "116". The result is empty for the XPath expression : "/ns4:Fornecedor/ns4:Endereco/ns4:Rua"
    normally means that the XPATH query (in this case: /ns4:Fornecedor/ns4:Endereco/ns4:Rua) did not return any XML elements. I would check that BPEL is receiving a response back from the call to the PeopleSoft web service. If you can't see the response in the BPEL console try putting a checkpoint node after the receive but before you try to copy the variables. This will force the process to dehydrate and save the response to the database so you can see it in the console.
    To create a checkpoint node:
    Drag out a Java Embedding node. Put the Java call checkpoint(); in the body of the Java embedding function. I hope that helps.

  • How to read Extended user property in oracle BPM?

    Hi,
    I have tried using the XPATH expression in Data Association to read an Extended User Property defined in Oracle BPM Workspace. Actually I'm using Active Directory for authentication, and as there is limitations for modifying existing AD to accommodate custom fields required for BPM Processes, I created an Extended User  Property called Department Code and mapped it for all users who should be participating in the process. Now I want to read this Department Code and display in ADF Form (Human Task Form).
    I tried something like this using XPATH Expr. in Data Association for Human Task :
    ids:getUserProperty(bpmn:getProcessInstanceAttribute('creator'), 'departmentCode')
    But it appears that using Identity Function exposed for Xpath we can only read some pre-defined set of properties associated with internal LDAP for weblogic. So please suggest what is the approach one should follow in order to read Extended User Properties defined in Oracle BPM Workspace.
    I'm using Oracle SOA 12.1.3 and JDeveloper 11.1.17 deployed on Windows 7
    Regards,
    Shoaib R Khan

    Hi,
    I have tried using the XPATH expression in Data Association to read an Extended User Property defined in Oracle BPM Workspace. Actually I'm using Active Directory for authentication, and as there is limitations for modifying existing AD to accommodate custom fields required for BPM Processes, I created an Extended User  Property called Department Code and mapped it for all users who should be participating in the process. Now I want to read this Department Code and display in ADF Form (Human Task Form).
    I tried something like this using XPATH Expr. in Data Association for Human Task :
    ids:getUserProperty(bpmn:getProcessInstanceAttribute('creator'), 'departmentCode')
    But it appears that using Identity Function exposed for Xpath we can only read some pre-defined set of properties associated with internal LDAP for weblogic. So please suggest what is the approach one should follow in order to read Extended User Properties defined in Oracle BPM Workspace.
    I'm using Oracle SOA 12.1.3 and JDeveloper 11.1.17 deployed on Windows 7
    Regards,
    Shoaib R Khan

  • How to configure dynamic email address for notification

    All,
    I have a problem in assigning dynamic email address for notification activity in a bpel process, I want to assign a user from a user-properties file. How do I achieve this. I tried using the users in System-jazn-data.xml file, but if i add a email attribute to the existing users it doesn't show up. I am sure there should be an easier way of using identity service and adding attributes to the jazn realm user, I might be missing something.
    I cannot have it as part of the payload the only way is to use identity service.
    Thanks,
    Chitra

    Hi James,
    Thanks for the reply. Its solved now. For anybody if interested you can set the dynamic email address either i) having it as part of payload - In this case use the xpath to query the payload varaible ii) use identity service - follow the following steps
    1.Create a user in Application enterprise manager/also you can use a existing account, if u are creating a new one assign the correct role
    2. In either case edit the user-properties.xml(bpel/system/services/config) file for the corresponding user and add an attribute called email
    3. Bounce the server for this changes to take effect
    4. In the notification properties in the to address use ids:getUserProperty and pass the attribute name

  • *** Email sent everytime when Comments are saved in Task List JSP Page ***

    Hi BPEL Gurus,
    I have a very critical production issue.
    Whenever a user enters or updates Comment in Task List JSP Page, an email is sent each & every time
    when he clicks on the update button for Comments.
    I tried removing the <action> sub-tag for 'ASSIGNES' under <notification> tag of SomeName.task file.
    The above works fine, but now this creates a different problem.
    No Email is send to the Assignee when the Human Task is assigned to him.
    As a work-around I created an Email activity just before calling the Human Task.
    In this case, the email is send properly to the Assignee just before the Task is assigned to him.
    But now suppose if that Human Task is a Sequential List of Approvers instead of Single Approver.
    No email is send to all the users belonging to that Sequential List of Approvers.
    Please see my below code for sending email to all users belonging to Sequential List of Approvers :-
    <copy>
    <from expression="ids:getUserProperty(bpws:getVariableData('inputVariable','payload','/ns1:TerminationRequest/ns1:DivisionalApprovals'),'mail')"/>
    <to variable="varNotificationReq" part="EmailPayload" query="/EmailPayload/ns3:To"/>
    </copy>
    The above code fails & no email is send to any users belonging to that Sequential List of Approvers.
    Could you all BPEL GEEKS provide me with a proper solution.
    PLEASE DO HELP.
    Thanks & Regards,
    Gopal D. Kalsekar
    Senior Software Developer
    Business Solutions (eGroup)
    M.H. Alshaya Co. W.L.L.
    www.alshaya.com
    P :- (965) 2224 3598
    F :- (965) 2224 2488
    E :- [email protected]

    The default email solutions in planning are using workflow or task lists, though the task lists are based on due dates.
    If you wanted a solution where an email is sent out when a task list is complete, then one route could be to have a business rule attached to a task list and then the business rule uses a custom CDF to send out email notication.
    If you are interested in sending emails from business rules then I did write a blog on the subject a while back.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to configure Dynamic Data Connection for Business View

    Hi,
    How can we configure Dynamic Data connection that we can save the profile of the connection to somewhere that we do not need to enter it everytime when we refresh the report?
    thanks and regards
    nora

    Hi James,
    Thanks for the reply. Its solved now. For anybody if interested you can set the dynamic email address either i) having it as part of payload - In this case use the xpath to query the payload varaible ii) use identity service - follow the following steps
    1.Create a user in Application enterprise manager/also you can use a existing account, if u are creating a new one assign the correct role
    2. In either case edit the user-properties.xml(bpel/system/services/config) file for the corresponding user and add an attribute called email
    3. Bounce the server for this changes to take effect
    4. In the notification properties in the to address use ids:getUserProperty and pass the attribute name

  • Get Process Initiator email id in a BPEL process to send notificaions

    Hi
    I have a workflow where there 3 different roles and a chain of approvals among them. The final approval leads to the invocation of a BPEL process(Using Service Task) where, depending on a particular invocation in the BPEL process, I need to send emails to the task initiator.
    I've configured email channel in EM, and is working fine.
    My question is, how do I get the initiator details in the BPEL process which is in another role all together.
    I've searched web and got this ids:getUserProperty(ora:getCreator(),'mail') but unfortunately, this doesn't seem to be working, i'm getting selectionFailure exception. Is there a way to get the Process Initiator's mail id?
    Appreciate your help.
    Regards
    RaviKiran

    Are you authenticating against WLS or some other provider? Is the mail attribute populated or is it empty?
    You could create a project variable of type String to hold the username or email. Then, execute a Script task to populate the variable before calling your Service task. You could then pass the variable into your Service task as part of the contract. Obviously, you will need to update the Service contract.

  • Mail & Adress Book: issues sending group mail - Problem solved

    I started writing this discussion because I could not get something to work. As I wrote it, I made many tests to confirm what I was writing and also read several past discussions on the subject. I ended up solving my problem and decided to share my findings. Hope it is useful to other people.
    EMAIL TO A GROUP WITH ALL RECIEPIENTS SHOWING IN THE «TO» HEADER - My problem solved
    SENDING FROM THE MAIL APPLICATION:
    To start do the following:  Mail/Preferences/Composing  check «Show members of a group»
    Then for a group name with two or more words OR wit a one word group name, start writing the group name in the «TO» header of an email wait until the « () » appears highlithed in a color as you slowly write the Address Book group name and then select the group name from the scroling list appearing below which comes from your Adress Book (whether it's open or not). If you choose in a selection list before the « () » appears as you type, you could end up with an empty list and the group email does not work. When the « () » does not yet appear but the group name does below, it most likely will not work but if you scroll down you may find a second one that will.  The whole thing is wear but once you get the hang of it you make it work everytime.
    SENDING FROM THE ADDRESS BOOK APPLICATION:
    If you try to send the email to a group from the application ADRESS BOOK by pressing «ctrl» & right clicking the name of the group and select «Send an email to GROUP-NAME», it will work also. But the group name must not have a space before its name in the Address Book (one could decide to do this to have a group to appear at the top of a list of groups). The latter was my problem and sending from the address book application did not work.
    EMAIL TO A GROUP WITH «UNDISCLOSED RECIPIENTS» SHOWING IN THE «TO» HEADER  - My problem solved
    First one has to uncheck the «Show members of a group» in Mail/Preferences/Composing
    Second strat a new email and proceed as described above in «1.»  in the second and third paragraph.
    As suggested in one discussion, if you still can not get it to work try closing your Mail and Address Book applications and re-open them.
    As suggeted in another discussion by Ernie Stamper on May 15 2009 in the «Can't send an email to a group»:
    «In Mail Preferences/Composing, select to Show members of a group, and then compose a message (no need to send for this test) using the group address -- do the 9 addresses show in the message header? If so, then report the name of the provider of the SMTP you are using. It might be that they do not allow the Group in the To -- when working correctly, the recipient sees only Undesignated Recipients in the header.»
    I'm using Mac OS X 10.7.5 and Mail 5.3 (1283) on an iMac 2009
    Can't send an email to a group.

    Hi Priyanka,
    I can't get it working. I get this error:
    2007/03/25 17:23:00] Error in evaluate <from> expression at line "98". The result is empty for the XPath expression : "ids:getUserProperty('esbMailTo', 'mail', 'jazn.com')".
    [2007/03/25 17:23:00] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.less
    - <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    - <part name="summary">
    <summary>
    empty variable/expression result.
    xpath variable/expression expression "ids:getUserProperty('esbMailTo', 'mail', 'jazn.com')" is empty at line 98, when attempting reading/copying it.
    Please make sure the variable/expression result "ids:getUserProperty('esbMailTo', 'mail', 'jazn.com')" is not empty.
    </summary>
    </part
    In users-properties.xml I have this:
    <userObject>
         <name>esbMailTo</name>
            <description>MailTo</description>
         <mail>[email protected]</mail>           
         <title>Loan Agent 1</title>
         <firstName>James</firstName>
         <lastName>Cooper</lastName>
         <manager>jstein</manager>
            <timeZone>America/Los_Angeles</timeZone>
         <languagePreference>en-US</languagePreference>
         <notificationPreferences>Mail</notificationPreferences>
         </userObject> Any ideas?
    Regards Pete

  • Can there be multiple apple ids on one account?

    I want to share my iTunes account with my daughter so that she can download and update apps on her iphone, but I don't like that she needs to use my apple id and password, which could give her access to my email. She doesn't realize this yet, but it's only a matter of time. Is there any way to give her her own apple id, connected to my account?

    Never mind; I believe I found my answer - in a nutshell, everyone needs their own apple accounts and ids.
    Now, is there any way to delete a previously asked question such as this?

  • Should I have different Apple IDs for different family members or one?

    We are four members in a family, sharing the same iMac computer but each having a separate device (such as an iPod, iPad and iPhone). I'm wondering if it would be best to have separate Apple IDs for each family member to manage things like iMessage, iTunes purchases and so on. I'd appreciate any advice you can provide. Cheers!

    The ideal would be to have different Apple IDs for each member. This will allow them to set up their accounts as they like and be able to use iCloud without worrying about the possibility that other members can see their personal data. However, if you want to purchase an app for all the members, you will have to purchase it for each account

  • One person on one computer adding multiple electronic IDs or signatures to one document

    I recently created a simple form in Adobe LiveCycle Designer 8.  It has several places for signatures.  I sent along with the form the Adobe user guide instructions for creating electronic IDs and signatures.  However, in several instances, our executives have given their administrative assistants permission to sign for them.  The assistants are also required to add their own signatures.  Apparently, when they click on any signature field, their bosses' signatures come up.  Can someone tell me how one person can create multiple electronic signatures and be able to select from among them in order to fill out one of these forms?

    When a user is signing a form, the digital certificates that are installed (in Acrobat) on the computer being used to sign the PDF will be available to be used to create the signature.  If only the "bosses" certificate is on the machine, this will be the only on available.  Make sure all certificate that could be used to sign are installed on the machine being used to sign.
    This screen shot is from the security settings in Acrobat, it shows multiple certifcates are installed.
    And here is the signature dialog with the option to use one of the installed certificates on the machine...
    Hope this helps.
    Steve

  • How can I use 2 Apple IDs in Itunes? I have 2 IOS Devices. They each have there own AppleID. What is the proper way to sync both of them to Itunes?

    How can I use 2 Apple IDs in Itunes? I have 2 IOS Devices. They each have there own AppleID. What is the proper way to sync both of them to Itunes? I wanted my teenager's AppleID to be different from mine so that she couldn't charge stuff to my AppleID, therefore I created me another one. Now when I go to Sync either device, it tells me that this IOS device can only be synced with one AppleID. Then I get a message to erase it, not going to do that, lol. If I logout as one ID and login as the other, will it still retain all synced information on the PC from the first IOS device? If I can just log in out of the AppleID, then I have no problem doing that as long as the synced apps, music, etc stays there for both. I am not trying to copy from one to the other, just want to make sure I have a backup for the UhOh times. If logging in and out on the same PC of multiple AppleIDs is acceptible then I need to be able to authorize the PC for both devices. Thanks for the help. I am new to the iOS world.

    "Method Three
    Create a separate iTunes library for each device. Note:It is important that you make a new iTunes Library file. Do not justmake a copy of your existing iTunes Library file. If iTunes is open,quit it.
    This one may work. I searched and searched on the website for something like this, I guess I just didn't search correctly, lol. I will give this a try later. My daughter is not be back for a few weekends, therefore I will have to try the Method 3 when she comes back for the weekend again. "
    I forgot to mention that she has a PC at her house that she also syncs to. Would this cause a problem. I am already getting that pop up saying that the iPod is synced to another library (even though she is signed in with her Apple ID to iTunes) and gives the pop up to Cancel, Erase & Sync, or Transfer Purchases. My question arose because she clicked on "Erase & Sync" by mistake when she plugged the iPod to her PC the first time. When the iPod was purchased and setup, it was synced to my PC first. When she went home, she hooked it up to her PC and then she erased it by accident. I was able to restore all the missing stuff yesterday using my PC. However, even after doing that it still told me the next time I hooked it up last night that the iPod was currently synced with a different library. Hopefully, you can help me understand all this. She wants to sync her iPod and also backup her iPod at both places. Both PCs have been authorised. Thanks

  • My family has multiple iOS devices, all with 1 Apple ID. With iCloud coming, should I create separate Apple IDs for each member of my family?

    Hello,
    Between my family, we have 2 iPhones, multiple computers, iPads, and an Apple TV ALL tied in to the same Apple ID (the one I created when I got my first device). With iCloud coming, I wanted to know if I need to create separate Apple IDs for each family member (for emails, contacts, calendars, etc.). For instance, I would like to share certain contacts and a calendar with only my wife, all media between all family members, and have home sharing so that I can play/stream content on my Apple TV. Will there be a way to have multiple and distinct me.com accounts and yet share the same Apple ID?
    Apologies for being verbose — just wanted to give ample info/background.
    Thanks,
    Jay.

    I happened to stop at the Apple store yesterday for a separate issue and had a discussion about iCloud. Seems like this is how iCloud works (also, there's another thread on this forum that explains it well).
    Each member of the family can have their own iCloud ID, which will be used for Mail, Calendar, Contacts, Apps, Bookmarks, Media, Photos, etc. and having this content synced automatically with a Mac (computer). The iCloud IDs work in tandem with the associated Apple ID — so while you cannot have multiple Apple IDs, you can certainly have multiple iCloud IDs tagged with a certain Apple ID.
    While all this makes sense from the iOS device standpoint, I'm unclear on how things will sync with a Mac computer, especially if the family uses a single iMac with multiple login IDs for various members. For instance, I currently have an iMac and iTunes content resides in my Public folder, which my wife can still access when she logs in with her login ID. I'm guessing that I'll be able to set up her iCloud ID using her login, set up my iCloud ID using my login, while both our iMac logins will retain the same Apple ID. This would take care of syncing Photos, Contacts, Calendars, etc.
    Another (not sure if unique) problem I face is our Address Book — right now, we have one GIANT address book with different groups set up. Certain groups sync to her iPhone, while others to mine. Some contacts are common between both of us. I'm hoping that if she/I updates a common contact, then the change will be reflected in both our groups of contacts. I hope this makes sense — for instance, I update a contact named Joe, and he's on my group of contacts in my iPhone. Hope iCloud updates the master contact card for Joe on the iMac, which would then automatically trigger the update on my wife's group of contacts—that Joe also belongs to— leading to an update on her iOS device as well.
    Apologies for the lengthy response..

  • I have two apple ids somehow, probably from two mobile and two computers - how do I merge them into one account so they all work with iCloud?

    Somewhere, somehow, between two mobile and two macs, I ended up with two apple ids. I figured that this was the root of my problem to syncing. So, I am syncing Mail, Contacts, etc through the one account that I bought storage on this year in iCloud. I want to merge the two accounts, since many of my apps were purchased with my other id. Apparently, Keynote will not merge files since the app was bought with the second id, not the id I am using for icloud.
    What to do??? I read, in the forums, that I am definitely not alone. I always had the id I used for the Apple Store to buy iTunes items, and then apps. The other id, that I am using for iCloud was based on my iDisk id, and apparently I set up as a separate account. The much failed iDisk account appears to be the one that I wish I never got involved with. Should I feel the same way about iCloud. If I cannot merge the two APPLE accounts from the same person (ME!!!), then many dropbox really is the answer for my file sharing needs.
    Please help me decide.

    To begin with, I would like to try to explain Apple's confusing nomenclature in regard to iCloud.
    Apple have called the whole cloud thing iCloud, there are a number of features under the iCloud umbrella, some of which require their own login. iTunes is one of these, another is what Apple have unfortunately also called iCloud too.
    You can use the same Apple ID (account) to login to both iCloud and iTunes, but you don't need to and often users will login to each service using a different ID.
    The part that you need to remember is that the services available when you log into iCloud are completely different and unrelated to those when you log in to iTunes. Your iCloud login enables mail, contacts, calendars, find my phone, Back to My Mac, Documents & Data sharing and photostream, it does not affect any of your iTunes services.
    To avoid confusion when discussing your problem, when I mention iCloud, I am referring to the services under the iCloud login, Whereas I will refer to the whole cloud thing as The Cloud.
    To go back to your question; you cannot merge accounts, but perhaps using one account for iCloud and the other for iTunes will resolve the majority of the reasons you needed to merge to begin with.

Maybe you are looking for