expression for the child attribute

Hello

I am very new to SOA BPEL. I have a query regarding the reading of an attribute in a Switch box. Excerpt from the result of a Web service Input:

-< ns2:DataAttribute Name = "UD_ERPROLE" >

-ns2:ChildRow Action = "Add" >

< ns2:ChildDataAttribute Name = "Name of the role of ERP" Type = "String" Value = "ERPAccountPayable" / >

< / ns2:ChildRow >

< / ns2:DataAttribute >

Now to switch-case, I can have 3 situation:

UD_ERPROLE is not NULL

Action is Add

Equal to ERPAccountPayable role name


Here, what can be the expression for case 3 switch above?

first a I do: bpws:getVariableData('requestDetails_OutputVariable','RequestData','/ns16:RequestData/ns16:BeneficiaryData/ns16:Beneficiary/ns16:Entity/ns16:DataAttribute/@Name')

but it helped... any help appreciated.

Hello

Not sure what you mean here...

UD_ERPROLE is not NULL

It seems that UD_ERPROLE is a value for the Name attribute, so if you try to get the first DataAttribute where Name = "UD_ERPROLE", the expression would be...

/NS16:RequestData/NS16:BeneficiaryData/NS16:beneficiary/NS16:entity/NS16:DataAttribute[@name = "UD_ERPROLE"] [1]

See you soon,.

Vlad

Tags: Fusion Middleware

Similar Questions

  • How can I access the recipient "subordinate" in the expressions for the participant to ApprovalTask generator type "by the expression" value?

    Hello

    How can I access the recipient "subordinate" in the expressions for the participant to ApprovalTask generator type "by the expression" value?

    I can access some details of the beneficiaries of the workload, but how to access direct subordinates?

    TIA

    Leo

    Well, as I said, if you need to get a list of all rollover (for whatever logic you have), making calls to IOM to find the list of users whose Manager is the person in your composite.

    Sorry if I am wrong again.

  • Regular expression for the format: 000-000 - 000000 000000

    Hi guys,.

    I need to validate the columns in a regular expression for the format of 000 000 - 000000 000000.

    For example - if the column contains a value such as "500 110 - 500044 000100" then it should return 'true' otherwise 'false. '

    Your timely help is well appreciated.

    Thanks in advance.

    Hello

    inDiscover wrote:

    Hi guys,.

    I need to validate the columns in a regular expression for the format of 000 000 - 000000 000000.

    For example - if the column contains a value such as "500 110 - 500044 000100" then it should return 'true' otherwise 'false. '

    Your timely help is well appreciated.

    Thanks in advance.

    If you want a regular expression

    REGEXP_LIKE (str

    {{' ^ {\d{3} \d{3}-\d{6} \d{6}$'

    )

    According to your needs.

    You don't need regular expressions for this.  It will be more efficient to use

    TRANSLATE (str

    '012345678'

    '999999999'

    ) = 999 999 - 999999 999999'

  • Different LOVs of af: query and af:form for the same attribute of VO

    Hello

    We need show different LOVs af:query and af:form for the same attribute in VO.

    Is it possible to use LOV Switcher for this?

    Can how we use in the LOV Switcher attribute to check if she is seen Critearia line or VO?

    Please see this post - http://jobinesh.blogspot.com/2011/04/identifying-request-for-lov-from-search.html

  • 'Java' is not a valid parameter for the language attribute

    Got an exception on Weblogic 10.3 after deployment in the JSP as "the 'Java' is not a valid parameter for the language attribute.



    I installed weblogic 10.3 and a deployed application.
    "The JSP containing code such as < % @ page language ="Java"import =" is in error.
    The error message looks like this

    'Java' is not a valid parameter for the language attribute.

    Please let me know if I need to include a few pots or change some settings.


    Thanks and greetings
    Maury

    Seems to be a syntax problem. Have you tried language = "java" instead of language = "Java"?

  • regular expression for the xml tags

    Dear smart people of the labview world.

    I have a question about how to match the names of xml text elements.

    The image that I have some xml, for example:

    Peter

    13

    and I want to match all of the names of elements, that is to say: no, son, grandson, age, regardless of any attribute have these items. There is a regular expression, I can loop, that can do this? (Something like "\<.+\> ". "") It is no good because it matches the entire xml string.) I'd really only two different expressions, one for the match start elements, e.g. and one for the correspondence of the elements, for example.

    Thanks for your help in advance!

    Paul.

    The site Of regular Expressions will be very convenient.

    They have some good tutorials on regexp with a demo of the XML tags:

    Here is a small excerpt:

    The regular expression <\i\c*\s*>matches an opening of the XML without the attributes tag corresponds to a closing tag. <\i\c*(\s+\i\c*\s*=\s*("[^"]*"|'[^']*'))*\s*>corresponds to an opening with a number any attributes. Put all together, <(\i\c*(\s+\i\c*\s*=\s*("[^"]*"|'[^']*'))*| i\c*)\s*="">corresponds to an opening with attributes or a closing tag.  (source)

    If you want advanced XML analysis I suggest JKI XML toolkit.

    Tone

  • Is there a control of the expression for the opening of a string?

    Hello

    Just curious, is there a control of the expression that allows a user to enter a string that could be read by the expression?  I don't see on the submenu Sub "> Effects options for expressions", but thought I would see if anyone has any ideas how to proceed without having to reference an external text file.

    Thank you for your time and help!

    -Laz

    Yes, it's possible, of course, and to make things even less intrusive, I couldn't access comment a layer attribute rather than rename them the current layer.

    But in my situation I am desirous of an AE to select artist in a closed set of channels.  I don't want to enter their own data for fear that there is something wrong with the formatting, etc.  I'd rather have a drop down of sorts for the selection.  Thus, creating null items in the project Panel, naming them with unique names, then dragging in the model and by applying an expression control 'Control of the layer' layer in quesiton, AE artist can choose one of these layers, and then my script can read the value of the control layer name.

  • Update for the child entity Siebel.

    Hello

    Here is the answer of the OPA. Here the overall entity is Action. There is "Time Tracker" entity which is 'actiontime' in relation to the overall entity.

    <? XML version = "1.0" encoding = "UTF-8"? >
    -< SiebelMessage MessageId = "" IntObjectName = 'Strategy of automation Response' MessageType = 'Object' IntObjectFormat = "Hierarchical Siebel" > "
    -< response >
    -< name of the entity 'global' = >
    -name of the entity instance = 'global' row 'global' = >
    -< relationship name = "actionexpense" deducted = 'false' known = "false" >
    < target name = "ExpenseTracker-8SIA-7Z0YG" / >
    < target name = "ExpenseTracker-8SIA-7Z0YH" / >
    < / relationship >
    -< relationship name = "actionsr" deducted = 'false' known = "false" >
    < target name = "SR-2SIA-12FN7" / >
    < / relationship >
    -< relationship name = "actionpart" deducted = 'false' known = "false" >
    < target name = "PartTracker-8SIA-7Z0YJ" / >
    < target name = "PartTracker-8SIA-7Z0YI" / >
    < / relationship >
    -< relationship name = "actiontime" deducted = 'false' known = "false" >
    < target name = "TimeTracker-8SIA-7Z2VR" / >
    < / relationship >
    -< attribute status = 'value' name = "EntitledActivity" type = "boolean" >
    < value > true < / value >
    < / attribute >
    -< attribute status = 'value' name = "Standard_Hours" type = "number" >
    < value > 10.0 < / value >
    < / attribute >
    -< attribute status = 'value' name = "Overtime_Hours" type = "number" >
    < value > 7.0 < / value >
    < / attribute >
    < / entity instance >
    < / entity >
    -< name of the entity 'Right' = >
    -name of the entity instance = row 'right-2SIA-10W58"="10W58">
    -< relationship name = "entitlementservicedetails" deducted = 'false' known = "false" >
    < target name = "ServiceDetails-8SIA-7Z0NS" / >
    < target name = "ServiceDetails-8SIA-7Z0NR" / >
    < / relationship >
    -< relationship name = "contract_contractentitlement_rev" deducted = 'false' known = "false" >
    < target name = "Contract-2SIA-10W4N" / >
    < / relationship >
    -< attribute status = 'value' name = "EntId" type = "text" >
    < value > 2SIA-10W58 < / value >
    < / attribute >
    < / entity instance >
    -name of the entity instance = row 'right-2SIA-10W56"="10W56">
    -< relationship name = "contract_contractentitlement_rev" deducted = 'false' known = "false" >
    < target name = "Contract-2SIA-10W4N" / >
    < / relationship >
    -< attribute status = 'value' name = "EntId" type = "text" >
    < value > 2SIA-10W56 < / value >
    < / attribute >
    < / entity instance >
    -name of the entity instance = row 'right-2SIA-14NLC"="14NLC">
    -< relationship name = "contract_contractentitlement_rev" deducted = 'false' known = "false" >
    < target name = "Contract-2SIA-14NKX" / >
    < / relationship >
    -< attribute status = 'value' name = "EntId" type = "text" >
    < value > 2SIA-14NLC < / value >
    < / attribute >
    < / entity instance >
    < / entity >
    -< name of entity "SR" = >
    -name of the entity instance = row "SR-2SIA-12FN7" = "12FN7" >
    -< relationship name = "global_actionsr_rev" deducted = 'false' known = "false" >
    < name target = 'global' / >
    < / relationship >
    -< relationship name = "srcontract" deducted = 'false' known = "false" >
    < target name = "Contract-2SIA-10W4N" / >
    < target name = "Contract-2SIA-14NKX" / >
    < / relationship >
    -< attribute status = 'value' name = "SRStatus" type = "text" >
    Open < value > < / value >
    < / attribute >
    -< attribute status = 'value' name = 'OpenDate' type = ' date' >
    < value > 17/11/2003 < / value >
    < / attribute >
    < / entity instance >
    < / entity >
    -< name of entity 'ExpenseTracker' = >
    -name of the entity instance = row "ExpenseTracker-8SIA-7Z0YG" = "7Z0YG" >
    -< relationship name = "global_actionexpense_rev" deducted = 'false' known = "false" >
    < name target = 'global' / >
    < / relationship >
    -< attribute status = 'value' name = "ExpenseType" type = "text" >
    < value > airfare < / value >
    < / attribute >
    -< attribute status = 'value' name = 'Amount' type = "number" >
    < value > 33.0 < / value >
    < / attribute >
    < / entity instance >
    -name of the entity instance = row "ExpenseTracker-8SIA-7Z0YH" = "7Z0YH" >
    -< relationship name = "global_actionexpense_rev" deducted = 'false' known = "false" >
    < name target = 'global' / >
    < / relationship >
    -< attribute status = 'value' name = "ExpenseType" type = "text" >
    car rental < value > < / value >
    < / attribute >
    -< attribute status = 'value' name = 'Amount' type = "number" >
    < value > 123,0 < / value >
    < / attribute >
    < / entity instance >
    < / entity >
    -< entity name = "PartTracker" >
    -name of the entity instance = row 'PartTracker-8SIA-7Z0YJ"="7Z0YJ">
    -< relationship name = "global_actionpart_rev" deducted = 'false' known = "false" >
    < name target = 'global' / >
    < / relationship >
    -< attribute status = 'value' name = "PartNumber" type = "text" >
    2250 X < value > < / value >
    < / attribute >
    -< attribute status = 'value' name = "AssetNumber" type = "text" >
    < value > AA2250-001 < / value >
    < / attribute >
    < / entity instance >
    -name of the entity instance = row 'PartTracker-8SIA-7Z0YI"="7Z0YI">
    -< relationship name = "global_actionpart_rev" deducted = 'false' known = "false" >
    < name target = 'global' / >
    < / relationship >
    -< attribute status = 'value' name = "PartNumber" type = "text" >
    2250 X < value > < / value >
    < / attribute >
    -< attribute status = 'value' name = "AssetNumber" type = "text" >
    < value > AA2250-001 < / value >
    < / attribute >
    < / entity instance >
    < / entity >
    -< name of the entity 'Contract' = >
    -name of the entity instance = row "Contract-2SIA-10W4N" = "10W4N" >
    -< relationship name = "contractentitlement" deducted = 'false' known = "false" >
    < target name = "Right-2SIA-10W58" / >
    < target name = "Right-2SIA-10W56" / >
    < / relationship >
    -< relationship name = "sr_srcontract_rev" deducted = 'false' known = "false" >
    < target name = "SR-2SIA-12FN7" / >
    < / relationship >
    -< attribute status = 'value' name = 'ContractId"type ="text">
    < value > 2SIA-10W4N < / value >
    < / attribute >
    < / entity instance >
    -name of the entity instance = row "Contract-2SIA-14NKX" = "14NKX" >
    -< relationship name = "contractentitlement" deducted = 'false' known = "false" >
    < target name = "Right-2SIA-14NLC" / >
    < / relationship >
    -< relationship name = "sr_srcontract_rev" deducted = 'false' known = "false" >
    < target name = "SR-2SIA-12FN7" / >
    < / relationship >
    -< attribute status = 'value' name = 'ContractId"type ="text">
    < value > 2SIA-14NKX < / value >
    < / attribute >
    < / entity instance >
    < / entity >
    -< name of the entity 'TimeTracker' = >
    -name of the entity instance = row "TimeTracker-8SIA-7Z2VR" = "7Z2VR" >
    -< relationship name = "global_actiontime_rev" deducted = 'false' known = "false" >
    < name target = 'global' / >
    < / relationship >
    -< attribute status = 'value' name = "Time_Tracker_Cost" type = "currency" >
    < value > 275,0 < / value >
    < / attribute >
    -< attribute status = 'value' name = "Total_Overtime_Hours" type = "number" >
    < value > 7.0 < / value >
    < / attribute >
    -< attribute status = 'value' name = "BillingRateType" type = "text" >
    < value > Normal < / value >
    < / attribute >
    -< attribute status = 'value' name = "Total_Standard_Hours" type = "number" >
    < value > 10.0 < / value >
    < / attribute >
    -< attribute status = 'value' name = "Time_Tracker_Price" type = "currency" >
    < value > 175,0 < / value >
    < / attribute >
    < / entity instance >
    < / entity >
    -< name of entity 'ServiceDetails' = >
    -name of the entity instance = row "ServiceDetails-8SIA-7Z0NS" = "7Z0NS" >
    -< relationship name = "entitlement_entitlementservicedetails_rev" deducted = 'false' known = "false" >
    < target name = "Right-2SIA-10W58" / >
    < / relationship >
    < / entity instance >
    -name of the entity instance = row "ServiceDetails-8SIA-7Z0NR" = "7Z0NR" >
    -< relationship name = "entitlement_entitlementservicedetails_rev" deducted = 'false' known = "false" >
    < target name = "Right-2SIA-10W58" / >
    < / relationship >
    < / entity instance >
    < / entity >
    < / answer >
    < / SiebelMessage >


    I need to update the Action and Time Tracker BC in the Siebel.

    Action - (attributes: Standard_Hours, Overtime_Hours)

    Time Tracker - (attributes: Time_Tracker_Cost Time_Tracker_Price)

    I use the engine of Transformation of data EAI for transfform data. But the child node is not built.

    Please help me.

    Thank you
    Amol

    Unfortunately we have not all people who are very experienced with Siebel on this forum. It seems to me that it should be possible using the Transformation engine. The other option is to transform the XML into a PropertySet, retrieves the values that you want to update, and then update in the appropriate component of the company.

  • Delete form for the child process data

    Hello

    I have a form of child process for my multivalue attributes. I would like to delete one or more entries from the shape of child process via the API data, but the only API that I found was removeProcessFormChildData. But I guess this method deletes all data in the form of child process. Is there an other API I can use? How to remove the child process form data?

    Thank you
    PETREA

    See this thread for an example of code:

    Re: How to remove the child form data table

    For more examples, just look for the api and you should be able to present to a code example.

    -Kevin

  • Certificate of IOM in the child attribute value form

    In SAP, we have role 'SAP_ALL. And we want to control, that no one in the system doesn't have this role.
    We decided to make it through the certificate in Oracle Identity Manager, but found that it doesn't have this capability, because roles are listed in the form of child resource and Attestation cannot compare something with the value of the attribute on the child form.
    Maybe, I don't know something about certification in Oracle Identity Manager? Can someone help me?

    According to my understanding on the affidavit, it deals with access to the resource, not on the type of access to the resource.

    And your condition is some sort of access to the resource.

    Can you elaborate more on your condition, there will be another solution for the same.

    Like putting the validation at the time of the filing of the application.

    Concerning
    Alabhya Grondin

  • LVOOP: Common accessor for the child classes?

    I am reletively new to LVOOP and OBJECT oriented programming in general. I used very simple classes as a replacement for clusters several times, and now I have an architecture intended to convert most of my code into classes, dynamic distribution screw and similar.

    However, I run in to an issue, which basically boils down to laziness: I really don't want to do a lot of the same dynamic send screws I want to have a VI parent to be able to write a piece of data common to all children. Preference gives an error if the child does not have this data element.

    I guess it's quite similar to dynamic distribution, but without having to write a DD VI for each class.

    Is it possible to have the VI parent to access the data of the child? If so, how?

    Here is an example of my hierarchy:

    Test.lvclass (parent)

    DC_test.lvlcass (data: test number, 2D, time stampresults)

    Transfer_Curve_test.lvlcass (data: results of tests settings, 1 d, timestamp)

    Breakdown_test.lvlcass (data: test number, 3D, timestampresults)

    ... 28 another test

    As you can see, the data type only common between them is the timestamp. I want to be able to use a VI in the parent class to write data in the child class.

    You have it backwards autour.

    The data that is common belongs to the parent class, not the class of the child.

    Data that are not common may not be processed by the parent class and must be transformed by the child class.

    You don't need to CREATE truly dynamic shipping screws for a common data type.  If you just don't set the VI at all, it will be called the parent instance.

    Shane.

  • Difficulty for the file attribute "Update time" a file hive of the registry update on XP and Windows Server 2003

    "Time modified" attribute of a file file the registry hive is updated when you load and then unload the registry hive files without making any changes to the files on a computer that is running Windows Server 2008 or Windows Vista, or Windows 7

    I see a hotfix is provided for Windows Server 2008 or Windows Vista: http://support.microsoft.com/kb/973148/ and for Windows Server 2008 R2 or Windows 7: http://support.microsoft.com/kb/983544

    Question: I want to know if this problem is also present in Windows XP and Windows Server 2003, and if so, we have a solution already for XP and Windows 2003?

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public on the TechNet site. Please post your question in the below link: http://social.technet.microsoft.com/Forums/en/category/windowsserver/

  • Help in regular Expression for the beaches of limitation

    Hi, I'm working on the provision of a text field is limited to dates, it's just a part of the code. I already have the validation of the dates, but I am now limiting what the user enters using a regular expression. This code works a little however, it does not limit me for example I can enter more than 2 digits, but then he limits based on the total amount allowable so for example 8 digits are allowed if I just type. I need to stop after 2 digits then have a - then 2 other numbers then one - and then followed by 4 digits. I tried to limit each section and grouping as well. Any help would be greatly appreciated. Thank you.

    It is in the format code and I am the appellant in the key sequence.

    function DateKS () {}

    var value = AFMergeChange (event);

    If (! event.willCommit) {}

    Allow only characters that match the regular expression

    Event.RC = /^([0]{0,1}[1-9]{0,1}|[_1]{0,1}[012]{0,1}) ([-] {0,1}) ([0] {0,1} [1-9] {0,1} |) [12] {0,1} [0-9] {0,1} | ([3] {0,1} [01] {0,1}) ([-] {0,1}) ([0-9] {0,4}) $/ .test (value);

    }

    }

    I decided that control for 100 and 400 was not necessary because this event does occur that all 400 years. But I'm working on it further and changed even more. Here is my code to work.

    function isLeapYear (year) {}
    year return % 4 = 0;
    }

    function checkDaysInMonth (day, month, year) {}
    daysInMonth var = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];

    If (month = 2) {}
    If (isLeapYear (year)) {}
    daysInMonth [1] += 1;
    }
    }

    return daysInMonth [month - 1] > = day;
    }

    function checkDateFormat (dateStr) {}
    var errorMsg = ",
    maxYear = (new Date()) .getFullYear (),
    minYear = maxYear - 1,.
    match = dateStr.match(/^(\d{2})-(\d{2})-(\d{4})$/),
    months,
    day,
    year;

    If {(matches)
    month = parseInt (matches [1], 10);
    day = parseInt (matches [2], 10);
    year = parseInt (matches [3], 10);

    If (month < 1="" ||="" month=""> 12) {}
    errorMsg = "invalid value for the month: ' + matches [1];"
    } ElseIf (day = 0) {}
    errorMsg = "invalid value for the day:" + match [2];
    } else if (! checkDaysInMonth (day, month, year)) {}
    errorMsg = "number of days for invalid month: ' + match [2];"
    } ElseIf (year < minyear="" ||="" year=""> maxYear) {}
    errorMsg = "invalid value for the year:" + match [3] + "-must be between" + minYear + "and" + maxYear;
    }
    } else {}
    errorMsg = "invalid date format: ' + dateStr + ' \r\nPlease use format: dd-mm-yyyy ';"
    }

    return errorMsg;
    }

    function checkReceivedDate() {}
    var value = AFMergeChange (event),
    errorMsg = ";
       
    ignore control if the value is blank, because this field is not mandatory
    If (! value) {}
    return;
    }

    If {(event.willCommit)
    errorMsg = checkDateFormat (value);

    If (errorMsg) {}
    App.Alert (errorMsg, 0, 0, "error");
    Event.value = ";

    Returns false;
    }
    } else {}
    Allow only characters that match the regular expression
    Event.RC = /^(?:0) [1-9]? 1 [012]?) ? -? ( ? : 0 [1-9] ? | [12] [0-9]? 3 [01]?) ? - ? 2? 0? [0-9] {0,2} $/ .test (value);
    Event.RC = / ^ \d{0,2}-?\d{0,2}-?\d{0,4}$/.test(value);
    }

    Returns true;
    }

  • GREP expression for the last line, followed by the column break

    For all of you who read this, thank you for taking the time to help. I'm a noob to JavaScript and GREP expressions, so thank you for all your time and help with this.

    I wrote a JavaScript script to help my company format some of our work more quickly. We have pre-made models with character Styles all implemented (body, header, BodyItalic) etc.

    My script works almost perfectly to identify patterns and apply the correct character style.

    However, my expressions do not work perfectly and last line of text in the text box (linked), which has a column break, do not get to the format.

    This last line is always different depending on the document. So I can't put in the constants. They are always variable.

    My current GREP expression is. + ~ M which, theoretically, should find any character who repeated one or more times and is followed by a column break. The problem is, he finds that the last two characters on the line which are followed by a column break.

    for example

    Tribute would be tribeTE

    Eulogy would be EuloGY

    etc etc.

    As you can see, they are not always the same words and could even be a short sentence so I can't just look like some words.

    I am trying to establish why the GREP expression does not. Maybe I use GREP evil symbols? I don't know, so any help would be appreciated.

    Thank you in advance.

    Scorpio

    This column break thing seems bugy. I have no idea why only the last two characters are found. If I try to find an entire word with \w+, which does not work. I get results as weird if I try to \b\w+~M. the good news, is that InDesign is no crash, here.

    However: There is no GREP to search a specific line, so I'm looking for a columnbreak and then for the line which belongs to the aware found:

    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = "~M"; 
    var found = app.activeDocument.findGrep();

    if (found.length > 0) {
    for ( var i = 0; i < found.length; i++ ) {
      var curFound = found[i];
      var curLine = curFound.lines[0]; 
      curLine.fillColor = app.activeDocument.swatches[4];
    }
    }

  • Quality element derived from Master Collection Oracle based on Plans for the child?

    As an Oracle, we have a collection Plan and a Plan for the Collection. The child Map Collection contains many instances sample were out.

    Let's Say there were 5 samples for a number of batch (batch number as the Parent in Master Plan of collection). An element of the Collection take for example. Size. a observation of the sample.

    # Sample size.
    1 16
    2 16
    3 16
    4 32
    5 40

    So based on the example of the child, we would like to put the size of the collection in the level item Parent's maximum allowed size of all samples of the child.

    which in this case than the 16.

    Quality > configurations > relationships define/update the Parent child Plan

    Define a relationship that makes parentplan.samplesize = max (childplan.samplesize)

Maybe you are looking for