Cannot use bpws:getVariableData in dynamic assignment using xpath

Hello,
I'm trying to use dynamic task assignment using xpath expression. I have a BPEL variable (collection) that holds a list of users.
Under task assignment I set the following expression (data type- by expression):
bpws:getVariableData('Invoke1_get_usersSelect_OutputVariable','TestApprovalCollection','/ns5:TestApprovalCollection/ns5:TestApproval')
But when i run the process i get this error :
Function 'getVariableData' not found
Your help is appreciated.
Regards,

Make sure you have this entry in your bpel.
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"

Similar Messages

  • Can I use bpws:getVariableData() within oraext:format-string() ?

    I have problem in using the following expression in my "Assign" activity:
    oraext:format-string('|{0}|',bpws:getVariableData('inputVariable','payload','/client:process/client:name_param))
    I get the following error
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is oraext:format-string(‘|{0}|',bpws:getVariableData('inputVariable','payload','/client:process/client: name_param')).
    The XPath expression failed to execute; the reason was: internal xpath error.
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    </faultstring><faultactor/><detail><exception/></detail></env:Fault></env:Body></env:Envelope>
    Strangely, I can use the following expressions:
    1. concat('|', bpws:getVariableData('inputVariable','payload','/client:process/client:name_param))
    2. oraext:format-string('|{0}|', 'A value')
    Hence, it seemed to me that oraext:format-string() can't take the return value of bpmw:getVariableData() for some unknown reason.
    As I need to use the "format-string" function to create a complicated value based on a number of input values , I need to find a way to work around this.
    Otherwise, I am force to use the "concat" function which make it extra ugly to build the value I need.
    Please help!

    You need to wrap each parameter with striing().
    Something like this: oraext:format-string(*string*($inputVariable.payload/client:inputBase), string($inputVariable.payload/client:inputVal0))
    This way the oraext:format-string will work fine from bpel assign activity as well.
    Racheli.

  • How to use one dataTable to dynamically assign different values?

    For example, there is only one popup window that contains one dataTable. For every commandButton that calls this popup window will result in different dataTables.
    How to do that?
    Thank you.

    I wanna reuse the same popup window page to display different dataTables with values based on which button(on father window) is clicked...
    I use an html to include the popup window like this:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <frameset>
    <frame src="popupMediaType.jsf" />
    </frameset>
    </html>
    So there will be two pages for one popup window...and I call this html by javascript in the father window...
    I wanna use just two pages to do all the work for other similar popup windows...

  • How to do the internal batch no. assignment using SAPLV01

    what is the use of internal batch no assignment using the exit mentioned above? where we use it?

    Hi,
    QI am working on make to order scenario .For delivery of order may I see the batch no.of esch order.
    A. Yes you can see batch number for each order
    QHow system will get the internal number batch.
    A. there are two possiblities assign you batch number at production order before release or assign batch or each GR at the time of executing GR transaction.
    QI have config. batch management.
    A.In Material master you also have to tick for batch managemnt relevency
    QWhat should be the next process.
    A. Consult again if any thing missing
    Regards,
    Syed

  • BPM 11.1.1.5 Dynamic assignment of task to user

    Hi,
    I'm working with BPM 11.1.1.5 (without feature pack). I have a requirement to assign a task to a user dynamically, based on data that I pull from a DB query. If the task expires, I will assign it to another user once again based on a DB query.
    I have not been able to find a way to do this. I have tried creating the Participant List "By Expression", where the expression is: /task:task/task:systemAttributes/task:assignees/task:id, where I have previously assigned a LDAP user id to a TaskExecutionData input variable. This does not work!
    I've read a number of forum posts where people are trying to do this, but they are either not answered or answered inadequately.
    I've read a number of posts where people talk about doing this using bpws:getVariableData() where the dynamic user list is stored in a variable. This would be great, if it worked for BPM as this is exactly what I'd like to do. However, this is a BPEL solution as far as I can see! I haven't been able to find a way to access a declared variable from the Expression Builder form in BPM.
    Does anyone have a solution for this, please?
    Any help would be greatly appreciated. Is this something that is easier to do in PS5?
    Many thanks,
    Brian.

    Hi Brian,
    Not sure if this is what you need, but to assign the BPM work item instance to a participant based on information read from a database table, one approach is to:
    1. Read the table and return the userId to a process data object variable upstream of the Interactive activity.
    2. Pass the variable with the user id into the Interactive activity's human task.
    3. Open the human task, click the Assignment tab -> double click the performer icon in the center -> change the "Build a list of participants using" dropdown to "Names and Expressions" -> click the plus icon -> click "Add a User" -> under "Data Type" change the dropdown selection to "By Expression" -> click the "..." button under "Value" -> expand "task" -> expand "task:payload" -> select the variable that you set the user id to.
    I think there is probably more to your question than this, but hopefully it's a start.
    Dan

  • Dynamic Assignment

    Hi all,
    I have created a BPEL process, using User Task Activity, via Sequential Workflow Pattern.
    I have used the wizard as desired and at assignment policy i have chosen to use "dynamic assignment using xpath expression". Although this seems like dynamic assignment it pushes me to choose even if the assignees will be users or groups. What I need here is to assign task to both users and groups together a mixture of both. when i look from BPEL process manager Audit Tab I should be observing (element of <RoutingVar1>)
    <approvers>groups("Aaa"),user("Mmm"),users("bbb")</approvers>
    how can manipulate "setRoutingPolicy" Assign activity.
    I am a new bee with XPath expression.
    Thanks for all.

    Your question is a bit difficult to understand. Please elaborate.

  • Getting root element twice using ora:parseEscapedXML(bpws:getVariableData(

    Bpel reads a normalised message as an input but when try parsing the normalised message to take the xml data from its payload using BPEL function
    ora:parseEscapedXML(bpws:getVariableData('NormMsg','payload','/ns3:NormalizedMessage/ns3:Payload/ns3:CharacterData'))
    the xml generated as an output has root element occuring twice
    <Transaction-101 xmlns="urn:oracle:integration:b2b:643F5D34AAD44B18A36DD19E798FD085">
    <Transaction-101 xmlns="urn:oracle:integration:b2b:643F5D34AAD44B18A36DD19E798FD085" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="1.0" Standard="X12" Version="V4010" CreatedDate="" CreatedBy="" GUID="">
    <Internal-Properties>
    <Data-Structure Name="Interchange">
    kindly reply as soon as possible
    Edited by: user10264394 on Apr 9, 2009 5:58 AM
    Edited by: user10264394 on Apr 9, 2009 6:02 AM

    Hello,
    I have the same problem - parseEscapedXML creates double headers if used after getContentAsString (if my payload has special characters parseEscapedXML fails). I used parseXML - it didn't work. And assigning TO level higher didn't work either. I used substring-before(substring-after,..),..) on a payload before applying parseEscapedXML and it solves the problem. But it doesn't seem like a very clean solution. I am new to BPEL. Could somebody advise, please?
    Here is my assignment:
    <assign name="AssignCustomerEmailEnqueueInput">
    <copy>
    <from expression="substring-before(substring-after(bpws:getVariableData('QueryRestartOutput','RestartCollection','/ns5:RestartCollection/ns5:Restart/ns5:payload'), '&lt;CUSTOMEREMAILMSG xmlns=&quot;http://xmlns.oracle.com/xdb/FIS&quot;>'), '&lt;/CUSTOMEREMAILMSG>')"/>
    <to variable="QueryRestartOutput"
    part="RestartCollection"
    query="/ns5:RestartCollection/ns5:Restart/ns5:payload"/>
    </copy>
    <copy>
    <from expression="ora:parseEscapedXML(ora:getContentAsString(bpws:getVariableData('QueryRestartOutput','RestartCollection','/ns5:RestartCollection/ns5:Restart/ns5:payload')))"/>
    <to variable="CustomerEmailQueueInput"
    part="CUSTOMEREMAILMSG"
    query="/ns8:CUSTOMEREMAILMSG"/>
    </copy>
    <copy>
    <from expression="substring-before(substring-after(ora:getContentAsString(bpws:getVariableData('CustomerEmailQueueInput','CUSTOMEREMAILMSG','/ns8:CUSTOMEREMAILMSG/DOCUMENT')), '&lt;DOCUMENT xmlns=&quot;&quot;>'), '&lt;/DOCUMENT>')"/>
    <to variable="CustomerEmailQueueInput"
    part="CUSTOMEREMAILMSG"
    query="/ns8:CUSTOMEREMAILMSG/DOCUMENT"/>
    </copy>
    </assign>
    The third copy is there because on ocasion I get double headers on <DOCUMENT..> which is inside payload variable. Does anybody know why it's doing it? Does it depend on XML itself (double header is not always created)?
    Thanks,
    Yulia

  • How to dynamically assign Display Pattern using FormCalc in Adobe PDF Form

    I am using Adobe PDF Form Designer. I am trying to dynamically assign a display pattern like MM/DD/YYYY to the Field tab - Display Pattern property. May I know how to do that?
    I am using FormCalc scripting.

    hi,
    After placing the date field in layout from data view, u will get tabs like field,layout,border etc..
    In field tab under the edit pattern specify the pattern in which you want to display the date field.
    hope this works.
    Reward points if helpful.

  • 802.1X for wired environments using Radius/ACS for Dynamic Vlan Assignment

    Currently Being Moderated
    802.1X for wired environments  using Radius/ACS for Dynamic Vlan Assignment
    Could someone please provide me with a simplest set of configuration steps to fire up Radius in ACS and 802.1X for dynamic vlan assignment. The objective is to roll out NAC L2 OOB using the 802.1X method for dymamic vlan assignments.
    If possible show:
    1. ACS/Radius Configurations.
    2. End User Switch Configurations
    Variables:
    Switch A
    MAC Address aaaa.bbbb.cccc     Vlan 10
                bbbb.cccc.dddd     Vlan 20
    Also, if someone posts the Pros and Cons of using Radius/ACS/802.1X for Dynamic Vlan Assignments.
    Other technology sets that can be used for Dynamic Vlan assignment EXCEPT from deprecated/obsolete VMPS.
    Thanks in advance. .

    Hi Guys,
        Hmmm, well if your just looking for Mac based authentication the good news is that is very easy.  Just set create your Radius server, ACS, FreeRadius, Steelbelted radius etc.  Then create user with the name of the Mac address, in other words if the mac address is 0012.0021.1122 the the name would be 001200211122 and the password would be the mac address.  Then you set the vlan and tunnel stuff, like so tunnel-Type would be vlan, Tunnel-medium would be 802 and Tunnel-Private-Group-ID is the name of the vlan(not the vlan number)
       So for the Cisco ACS 4.x you would create a user as specified above, fill in all the password boxes with MAC address, I believe the mac has to be all lower case in the name and the password.  Then check the Separate(Chap/MS-Chap/ARAP) box.  Then you pick the group the machine belongs to, the group is the part that defines what vlan it is on.
       Before you create the user, create the group with info I wrote above and in addition specify the Service-Type as Authenticate Only.
        Freeradius is a bit harder to configure the specifics and I am just now testing a freeradius server so I do not know the process for Machine authentication.
        If, however, you are trying to authenticate a user that gets a bit trickier and is not so straight forward.

  • 802.1x dynamic vlan assignment using ACS 4.2

    Hi
    we have 10 switches 2960 configured with 802.1x authentication against ACS server 4.2.
    we have 2 vlans configured on the switches for administrator and endusers. the end user vlan id is 10 and the administartor vlan is is 100.
    we need to apply the following scenario, if the enduser PC - that is connected to vlan 10 - has an issue and the administrator will login to the PC with the administrator account to fix that issue, the switch should dynamically reconfigure the port with the administrator vlan ( 100 ) .
    is the above scenario doable using dot1x with the ACS server?
    waiting your replies
    Mohamed

    Hi,
    I have the following scenario
    2 bulidings with multiple floor
    Each floor should be in different VLAN.
    The network should be authenticated with 802.1x and each switch port should be assigned with dynamic VLAN from ACS.
    Each
    user should be able to connect and roam around between any building.
    when ever a user is connecting his laptop to any floor, he should be
    made part of that respective vlan. It is not requred to have the same
    IP rage to be allocated, but the dynamic VLAN should be based on the
    switch port location.
    Can
    I configure ACS in such a way that, the ACS will allocate dynamic VLAN
    for every 802.1x authentication  based on the Network Device Group.
    Please refer the attached diagram
    Hi,
    Check out the below link for your requirement for dynamic vlan assignement using ACS
    http://www.ciscosystems.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008076317c.shtml
    Hope to Help !!
    Ganesh.H
    Remember to rate the helpful post

  • 802.1x Dynamic Vlan assignment using ACS

    Hi,
    I have the following scenario
    2 bulidings with multiple floor
    Each floor should be in different VLAN.
    The network should be authenticated with 802.1x and each switch port should be assigned with dynamic VLAN from ACS.
    Each user should be able to connect and roam around between any building. when ever a user is connecting his laptop to any floor, he should be made part of that respective vlan. It is not requred to have the same IP rage to be allocated, but the dynamic VLAN should be based on the switch port location.
    Can I configure ACS in such a way that, the ACS will allocate dynamic VLAN for every 802.1x authentication  based on the Network Device Group. Please refer the attached diagram

    Hi,
    I have the following scenario
    2 bulidings with multiple floor
    Each floor should be in different VLAN.
    The network should be authenticated with 802.1x and each switch port should be assigned with dynamic VLAN from ACS.
    Each
    user should be able to connect and roam around between any building.
    when ever a user is connecting his laptop to any floor, he should be
    made part of that respective vlan. It is not requred to have the same
    IP rage to be allocated, but the dynamic VLAN should be based on the
    switch port location.
    Can
    I configure ACS in such a way that, the ACS will allocate dynamic VLAN
    for every 802.1x authentication  based on the Network Device Group.
    Please refer the attached diagram
    Hi,
    Check out the below link for your requirement for dynamic vlan assignement using ACS
    http://www.ciscosystems.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008076317c.shtml
    Hope to Help !!
    Ganesh.H
    Remember to rate the helpful post

  • Dynamic routing/assignment using IAssignmentService - External Routing

    I'm trying to use external routing to dynamically calculate the approval stages and the participants. I'm trying to control the N number of stages and who the participants should be all dynamically depending on some conditions.
    I can't find any documentation on Oracle site except for this: http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bp_workflow.htm#BABICJIJ but it doesn't go into details.

    Thanks for your reply, but i guess i have not been successful in explaining my requirement clearly.
    I am not interested in changing the routing pattern at the AQ level using Alter propogation.
    My requirement is at one step above this while posting a message to the source AQ queue.
    For eg: My Multi consumer table name: Publisher_Table
    queues in my Publisher_Table: 1.Pub1
    2.Pub 2
    3.Pub 3 and so on
    I need to post messages on pub1,pub2 etc...however while configuring the AQ adapter for enqueue opertaion i had to hardcode my queue name to Pub1(One among multiple queues created).
    My query is whether i can have this queuename as a variable,so that at runtime i can change the target, instead of having to configure multiple aq adapters one for each pub queue.
    Thanks
    Gayatri

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • Dynamic site using Paypal

    Can anyone recommend a tutorial which will help me set up a dynamic site using Paypal?
    I have some - although not a lot - of experience with php and mySql, and have set up simple sites using Paypal buttons - I really want to learn to combine the two.  I'm having trouble finding anything I can understand on the Paypal site, and googling it brings up such a lot of (mostly out of date) tutorials I don't know where to start.
    Thanks,

    BCDoherty wrote -
    All the PayPal button does is to take the data that's already on the
    page for that item and send it to be processed, in this case by PayPal.
    There is no magic here and no extra DB on that end of things.
    On a database driven site where everything is generated dynamically for the page, you cannot use a generic code as items such as - product name, price and product code will be different for every item, this means storing that info in the database.
    However, one does need a DB set up to handle the customer data - name,
    address, etc. BUT NOT credit card info, as well as the details of the
    order itself. Also, a single order may consist of a number of items.
    Not required, all this is handled by paypal, and one can set-up a shopping cart if required using paypal, (especially useful for beginners). Storing such things as name and address also requires the site to comply with data protection legislation, (I know most do not, but that is no excuse).
    PZ

  • About how to build dynamic maps using jdeveloper 10g and mapviewer

    i follow the guidance (about how to build dynamic maps using jdeveloper 10g and oracle application server mapviewer) to write a jsp file,but error take palce ,i get information "Project: D:\jdev1012\jdev\mywork\WebMap\ViewController\ViewController.jpr
    D:\jdev1012\jdev\mywork\WebMap\ViewController\public_html\WebMap.jsp
    Error(12,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,190): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,102): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,28): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(12,40): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(13,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,198): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,106): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(14,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,188): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,101): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(15,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,200): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,107): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found"
    can you help?
    greetings

    I found a lot of information in document 133682.1 on metalink.
    step by step example how to deploy a JSP business component application.

Maybe you are looking for

  • Unable to collect Product Return History using legacy collection

    Hi, I am facing issue in collecting product return history using legacy collection, File Upload (User File Upload) & Loader Worker erroring out as below. As I observe, its inserting space after .ctl, .dis & .bad file path. Can some one guide me how t

  • Help!!!!! iPhoto 11 has ruined my photos stored on an external drive!

    I have been having numerous problems since upgrade to iPhoto 11.  I moved my library to an external SeaGate GoFlex Network drive for more space.  But I just added 22 pictures, got the wheel of death for every one. and then when I tried to find the li

  • How to add One Button to the Table Header.

    Hi, I would like to have few Table Header columns as Button and Other Table Header Columns as String. And each Button should have separate action. Please let me know, how can i implement this one. Thanks Mohan

  • Monitor Non-Paged Pool Usage SCOM 2012 R2

    Has anyone figured out an effective method of monitoring non-paged memory pools. My hope is to build a monitor that can determine max pool size and alert when non-paged pool usage is >= 90% of that maximum. I've done some research on the subject, wit

  • A very odd VLAN question -please help

    Hi, We have two subnets 10.1.1.0 and 10.1.2.0 and these subnets are phisically separated. we also have two VLANS, VLAN 2 and 3, please think of the VLAN 2 as the default VLAN 1. strenge, it has been like this when I took over. there is no trunking be