Handle to order context variable in Orchestration sequence

hi,
is there any way to get handle to order context object in orchestration sequence (order item selector xquery).
Regards,
Rutvej

Hi Jordan,
       There is a best practice when using the variables in a the queries...Make the most used ones in"Personalise variables" option available in the pop up screen for the variable selection....
     Also,in order to have a correct sequence of variables ,,just arrange them in order u want using "query properties"....
    Hope this helps you..and assign the points if ts needful
Regards,
Venkat.

Similar Messages

  • Mapping labview variables to teststand sequence context variables

    hi,
    how can i map variables from a vi (which is loaded in a test sequence in teststand) to teststand sequence context variables ?
    if my question is not clear enough then plz let me know.

    Sure I can help!
    You can use either method:
    Rodéric L
    Certified LabVIEW Architect

  • Session Context Variable and Order by clause

    Hi All,
    Im using Oracle 11g R2.
    Is it somehow possible to use Context variable (to store column name) in ORDER BY clause? My ultimate aim is to construct Order by at runtime without using concatenation.
    e.g. i created context as my_ctx for some pkg and its variable as v_ctx having value set as "TABLE_NAME"
    so is it possible to use it as
    select * from all_tables
    order by sys_context('my_ctx', 'v_ctx');
    if no, is there any work around??
    Thanks,
    Vivek

    its better to post here
    Oracle Discussion Forums » Oracle Database » SQL and PL/SQL

  • How to use one Assign action to create multiple context variables

    Hello, everyone.
    I read some tips from Oracle documentation that said:
    Avoid creating many OSB context variables that are used just once within another XQuery
    Context variables created using an Assign action are converted to XmlBeans and then reverted to the native XQuery format for the next XQuery. Multiple "Assign" actions can be collapsed into a single Assign action using a FLWOR expression. Intermediate values can be created using "let" statements. Avoiding redundant context variable creation eliminates overheads associated with internal data format conversions. This benefit has to be balanced against visibility of the code and reuse of the variables.
    Oracle® Fusion Middleware Performance and Tuning Guide
    +11g Release 1 (11.1.1)+
    Part Number E10108-03
    But I don't know how to do that. Can you show me ?
    Thank in advance
    Edited by: Doubt_Man on Aug 17, 2011 3:30 PM

    if you return sequences, you can declare the return type of your xquery as xs:double*
    (notice the asterix at the end)
    but I have the impression that in the assign action only the first element will be assigned to the context variable
    (correct me if I am wrong)
    So in fact you might indeed have to transform the sequence into a element()*, or concatenate it into a CVS string - for instance using string-join
    http://www.xqueryfunctions.com/xq/fn_string-join.html

  • Order of variables in calculation manager 11.1.2.2 rulesets

    Hi,
    We are in the process of migrating all our 11.1.2.1 HBR Sequences to 11.1.2.2 Rulesets. While migrating the sequences to rule sets I came across an issue where the order of the variables displayed in the Ruleset designer "Variables" tab doesn't match the order of the rules in the rulesets. This is not the case with the HBR sequences in EAS where the variables are associated with rules with valid Index.
    Eg:
    EAS
    Order of rules in the Sequence: RuleA, RuleB, RuleC
    Order of variable in the Launch Variables Tab: VarA1,VarA2,VarB1,VarB2,VarC1 ( Assuming that VarA1,VarA2 and VarB1,VarB2 and VarC1 are variables associated to rules A,B and C respectively.
    Calc Manager
    Order of rules in the Sequence: RuleA, RuleB, RuleC
    Order of Variables in the Variables tab: VarC1,VarA1,VarA2,VarB1,VarB2 ( Random)
    My case is more complex because I'm running the same rule for different values for a particular runtime prompt 38 times and they have to run in a order. Now I couldn't associate the rule with the variable that I'm changing.
    I tried creating the sequence from scratch rather than importing it from 11.1.2.1 but no luck. Please help!

    Raj,
    I opened up the .xml file from the Ruleset export and the "Seq_index"( which specifies the rule to which the variable belongs) and "seq" number (which specifies the variable order) are in the correct order as the rules order in the ruleset. But still the variables are not displayed in correct order in the "Variables" tab of the ruleset.
    Eg.
    Rule order in the rule set: R1,R2,R3
    <variable_references>
    <variable_reference id="3772" name="*R1v1*">
    <property name="seq"> *2* </property>
    <property name="seq_index"> *1* </property>
    </variable_reference>
    <variable_reference id="3770" name="*R1v2*">
    <property name="seq"> *3* </property>
    <property name="seq_index"> *1* </property>
    </variable_reference>
    <variable_reference id="3771" name="*R2v1*">
    <property name="seq"> *4* </property>
    <property name="seq_index"> *2* </property>
    </variable_reference>
    <variable_reference id="3773" name="*R2v2*">
    <property name="seq"> *5* </property>
    <property name="seq_index"> *2* </property>
    </variable_reference>
    <variable_reference id="3774" name="*R3v1*">
    <property name="seq"> *6* </property>
    <property name="seq_index"> *3* </property>
    </variable_reference>
    Displayed order of variables in calcmanager: R2v1,R2v2,R1v1,R1v2,R3v1 (Note that the variables belonging to the same rule are showing up in correct order).
    It will be very difficult to me to modify the seq# and index in the xml file as I have 40 rulesets with each having 20 rules and around 5 variables for each rule.
    Thanks,
    Swaraj.

  • How to order the variable screen if some variables are in differnet Queries

    Hi,
    i have a workbook in Bex Analyzer (BI 7.0) which contains 4 Queries (A,B,C,D). In the variable selection screen are 15 variables. One variable is used only in one Query (C). 6 variables are used in 2 Queries(1xA,B; 2xB,C; 3xA,D) and 8 variables are used in 3 Queries(A,B,C).
    If I open the variable screen in the workbook the 15 variables are in a confusing order.
    How can I change the order of these variables?
    I tried to order the variables in the Query Designer (Variable Sequence) for every Query but it didn't work.
    Best Regards.

    Hi Jordan,
           There is a best practice when using the variables in a the queries...Make the most used ones in"Personalise variables" option available in the pop up screen for the variable selection....
         Also,in order to have a correct sequence of variables ,,just arrange them in order u want using "query properties"....
        Hope this helps you..and assign the points if ts needful
    Regards,
    Venkat.

  • Help: ORDER BY variable does not work in CS3

    I have a variable in my recordset query for the ORDER BY
    clause which is set by the URL variable, 'order'. With CS2 the
    recordset worked fine with the variable. CS3 shows N/A for the
    variable type in the Recordset dialog, and when I click Test to
    test my recordset, it says I need to specify a variable type. So I
    set it to 'Text' and suddenly the variable doesn't even work. It
    just orders the records by ID. Am I going to have to use CS2 to
    create recordsets with an ORDER BY variable in the future or is
    there some other way around this?

    AngryCloud wrote:
    > In CS2, Dreamweaver does not ask for a data type.
    There is no such thing as Dreamweaver CS2. You are presumably
    talking
    about the version of Dreamweaver that was bundled with Adobe
    Creative
    Suite 2 after Macromedia was acquired by Adobe. That was
    Dreamweaver 8.
    From the sound of it, you have the original Dreamweaver 8,
    which didn't
    use data types for variables. Everything changed when the
    8.0.2 updater
    was released. The updater made important changes to the way
    Dreamweaver
    handles variables in SQL queries. These are designed to
    prevent
    malicious attacks through SQL injection. Dreamweaver CS3 uses
    the same
    code as Dreamweaver 8.0.2.
    If I remember correctly, Dreamweaver will automatically
    update all the
    code if you open the Recordset dialog box, make any changes,
    and then
    click OK. If that doesn't work, the safest approach is to
    select the
    Recordset in the Server Behaviors panel, and click the minus
    button to
    remove it cleanly. Then build the recordset again: a
    nuisance, I know,
    but it makes your code more secure.
    When using LIKE in a SQL query, you must always choose Text
    as the data
    type, even if you're using numbers in the variable field.
    This is
    because the SQL specification says that LIKE is for comparing
    strings.
    Dreamweaver 8.0.2 and above now follows the SQL
    specification, whereas
    it didn't before.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Accessing user-defined context variables when chaining Proxies

    We have a Proxy Service, A, which routes to a ProxyService B, which does some routing and XML transformation.
    When an error is raised, the error text is assigned to a variable and the Error Handler for Proxy Servce B assigns soap fault XML to the body using this variable then does a Reply with Failure.
    However, Proxy Service A returns a generic BEA fault as below:
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-380000</con:errorCode>
         <con:location>
         <con:node>ESB-DefaultRoute</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
    We don't appear to be able to access the context variable which we defined in Proxy Service B when we are in the Error Handler of Proxy Service A. How are we able to return a soap fault from Proxy Service A with all of the details set in B.
    Thanks in advance

    Hi,
    Yes we;re using Raise Error. I don't think my post was as clear as it could have been :-)
    In Proxy B when an error is found, then the text we want to appear in the soap fault's faultstring is assigned to a varaible, errorDetail and then Raise Error is invoked.
    We're able to access errorDetail iin the error handlers of Proxy B but not in Proxy A and it's this which is causing us the issue.
    Thanks

  • Web app context variables?

    Hello all, I have another question. In my app I want all *.jsp pages to report how many currently active users are on my site. It could do this one of two ways (that i can think of),
    1) Run a count of how many sessions are in the 'sessions' table in my mysql db
    2) Read some sort of global context variable that is set everytime someone logs in
    Obviously 1) will be a smidgin more accurate but more labor intensive than 2. Can anyone think of a better way to do this? Also if i were to go the global variable route would there be a better way to do it than
    this.getServletContext().setAttribute("com.thesite.loggedin", 11)and then reading this int in the *.jsp(s), is something like this able to handle concurrent set & get (is it thread safe?)
    Thanks for any help!

    You can make use of attributeAdded() method of HttpSessionAttributeListener. Whenever any attribute is set in session, attributeAdded() method will be called and you can increment a counter in that method. Eg:
    public class SessionAttributeListener implements HttpSessionAttributeListener
    int count=0;
    public void attributeAdded(HttpSessionBindingEvent e)
         System.out.println("session attribute added");
                     count++;
    public int getCount()
    return count;
    }You can call SessionAttributeListener.getCount() method to count the number of active users.

  • TestStand Handles parameters' order in seqs

    Hi, Guys, I'm new to TestStand and I'm using LabVIEW for years.
    I want to know if TestStand can do the job below.
    Some background:
    1, Various Test parameters are to be adjusted or measured, and some of them should run first.
    2, User might define some test sequence including some or all test parameters, and their order might be very different.
    3, Parameters belong to some Classes.
    e.g, Set Temp@-10, Set Temp@25 are Class Set_Temp
    4, Test conditions and seqs are stored in database. Some conditions exist in Parameters, like Class Set_Temp.
    5, To reduce instrument idle time, we separate test parameters to different tester, so my boss has to hire more operators and handing time with DUT would increase.
    We install/uninstall DUT to EVB manually.
    For example,
    1) A runs first
    2) C runs before E,F.
    3) H runs after A, and it doesn't mater if it runs after H. Let's assume Parameter C is for acquiring wfms/data, etc. The following E, F are for analysis.
    4) CD, CB,CG can't run in parallel.
    Seq1:
    Parameter A
    Parameter D
    Parameter C
    Parameter E
    Parameter F
    Parameter H
    Seq2:
    Parameter A
    Parameter B
    Parameter G
    Parameter C
    Parameter E
    Parameter F
    Parameter H
    My question is
    Can TestStand arrange them automatically based on the present seq? So we can merge 2+ testers to one?
    I don't want to alter database tables too much. I'd like to use the present UI. 
    Thanks.
    Solved!
    Go to Solution.

    labc,
    Your use of the word Parameter makes absolutely no sense regarding TestStand.  I'm assuming you mean Step????
    In TestStand there are two uses of the word parameter:
    Use A: a parameter is a variable that is passed to a code module (i.e. LabVIEW).  Since you've been doing LabVIEW for years then think of a parameter as a connector on the connector pane.  For a subVI you can have multiple connectors.  They are all passed at the same time.  When TestStand calls a code module, whether it's a dll, VI, COM or other, they all go at the same time.  Order is irrelevant.
    Use B:  a Parameter (and I capitalize it on purpose) is a section for variables in a sequence.  It is used to pass information back and forth between calling sequences and sub sequence (just like subVIs).  Think of it as the "connector pane" of sequences.
    Ok stepping down from my soapbox now......
    In order to find you the right solution I would need to understand your application and use better.   Let me know if my understanding is correct:
    You have 2 sequence files with various steps that run in order.  They both have some of the same steps in them?  You are worried that if both Sequence Files are executed at the same time then they could conflict with each other?  The simplest solution is to just not run them at the same time.  Otherwise you will have to use locks and synchronization so they don't tromp on each other.
    Also, where are your Classes stored?  Are they .NET assemblies?  Where are you storing your "parameters"?  Are they in the Sequences or in some code module?
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • OSB: Context variable changes for 'Reply' action

    HI,
    What are the differences between changes done by OSB to any of the context variables(body, inbound, outbound etc) when Reply with Success is used and Reply with failure is used.
    I have a Proxy service A consuming another proxy service B by RouteTo.
    When B has Reply with Success, A gets the response and fault does not get the generated within A.
    But when B has Reply with Error, fault gets generated within A.
    In both the cases,response xml that B is sending is same. So, what is that which makes fault generation within A. How would A know that fault is to be generated.
    Please help in understanding.
    TIA.
    Edited by: Ashish Rane on Dec 21, 2012 6:01 AM

    A Reply action will always return the content of $body variable as it is. The different between Reply with Success and Reply with failure lies in the content of transport headers being returned. In case of HTTP Service, if you do a reply with success, the calling service/application will received HTTP status code 200 or 0, which is a success status code for HTTP. In case of Reply with Failure, calling service/application will receive HTTP status code 500, which will enable the error handling in calling service/application to trigger. The best practice for SOAP based services is to always replace content of $body with a SOAP Fault when doing a Reply With Failure so that the calling application received details of fault (otherwise it just gets transport status code for failure but content of reply will still be original content of $body which might not indicate what the error was)

  • Context variable DRIXMD (namespace DR$APPCTX) shows up in v$context

    We have recently upgraded our database to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production.
    Now we occasionally get the error in one of our APEX applications
    ORA-01031: insufficiënt privileges
    The apex application is using a user connection pool.
    When an Apex page is submitted we clear the context variables so the user won’t use each other’s settings.
    The context variables to be cleared are selected from V$CONTEXT.
    For some reason the context variable DRIXMD (namespace DR$APPCTX) is now (since the upgrade to 11.2) also shown in v$context.
    The package used in our code is not allowed to set variables in namespace DR$APPCTX and is raising the error.
    My question is:
    Is it a normal feature to see these context variables in V$CONTEX and if not is there a fix available?
    And if yes, can anyone clarify this?
    Thanks in advance.

    Success!!!
    I had to grant this permissions:
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar', '' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'setFactory', '' )
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.util.PropertyPermission', 'HTTPClient.socket.idleTimeout', 'write' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', 'localhost', 'resolve' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', '127.0.0.1:8084', 'connect,resolve' );
    As I wrote earlier, WS_TEST is my user into which I load JAX-RPC client. Note that, if you load JAX-RPC client into user another than SYS, you have NOT to use -s -grant public option (wassam wrote about this too). Another thing is that I (finally) didn't load OC4J. To consume WebService I use utl_dbws.invoke(call_Handle CALL, request SYS.XMLTYPE) function.
    voytec001

  • How to Parse XML data directly from context variables in webdynpro

    Hello,
       I have two requirements:
    1) I have a context variable which has string value.
       I want to write the this value into a flat file.
       How do I do this in WebDynpro.
       Any sample code for this.
    2) In Webdynpro, I want to parse and process the XML data directly from a string context variable which
       has the value in XML format.
       How do I achieve this. Any pointers or sample codes for this.
    Thanks and Regards,
    Anupama.

    Anupama,
    Here is some link which talks about unpacking xml and converting to HTML.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/eb/3dfb402eb5f76fe10000000a1550b0/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/eb/3dfb402eb5f76fe10000000a1550b0/content.htm</a>
    I have done something like this in portal development and not in webdynpro.But in principle it should work very where.

  • 5 Ways to Handle Sales Orders in IC WebClient: Which is Best for You?

    Hello Interaction Center community!
    If your IC project includes CRM Sales, or if you are considering adding support for sales processes, check out the following article which has been posted by permission of CRM Expert
    (crmexpertonline.com) and Wellesley Information Services.
    [5 Ways to Handle Sales Orders in IC WebClient: Which is Best for You?|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3040e1d3-da06-2b10-afa3-e0952aac10a1]
    We want your feedback. Which sales option are you using in your project? What were the main decision criteria? Please reply with your input. At least two points will be rewarded

    Over 90% of our orders come in via CRM ISA or EDI.
    B/c of the reasons mentioned in the article we use R/3 for entry of the remaining orders as well as order management.  Since R/3 was live years before CRM, there are custom exits and fields required that would be an investment to replicate.  Changing the plant on the line item is a common occurance for our business.  Of the CRM scenarios X,Y,Z we use scenario X where once the order is touched in R/3, R/3 becomes the owner of the order.
    Our CRM version just upgraded to 5.0 and our R/3 system is now being upgraded to ECC 6.0.  As our do use the IC web client, we are investigating trying to move to the ERP Sales order.  The upgrade architecture will also open scenario A where either CRM or ECC could change an order even though X should still support our requirements.
    Glenn

  • Context Variables related

    Hello,
    In context file we have context variables rite..so kindly tell me the table in which all these context variables will be stored in database.The table name which stores all the context variables.
    Thanks,
    928714.

    Hi;
    Pelase see:
    Oracle EBS R12 Context Variables [ID 458282.1]
    Explanation of Context Variables for Shared Application File System in R12 and 11i [ID 1070152.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

Maybe you are looking for

  • Changing the default mail sender name in Application server

    Hi, how do I change default mail sender name in application server. It is administrator@application by default.

  • P13n.ddl probs with UDB: field "value" too long to index

    We're trying to deploy the p13n.ddl on a UDB DB2 6.1. However, we encountered some problems: In UDB 6.1, an indexed column can be max 255 bytes long. So, the index WEBLOGIC_USER_ID_INDEX cannot be created, as the column "value" is one byte too long.

  • Function module to modify fields in an interactive report

    use fm POPUP_GET_VALUES. data : itabt like sval occurs 0 with header line. itabt-TABNAME = 'MARA'. itabt-FIELDNAME = 'MATNR'. append itabt. itabt-TABNAME = 'MARD'. itabt-FIELDNAME = 'LGORT'. append itabt. CALL FUNCTION 'POPUP_GET_VALUES'   EXPORTING

  • Possible to insert array into db without looping?

    Hi there, I'm working on a Flex project that uses cfc's and MySQL. I have an ArrayCollection that I want to store in my db. I was thinking that I could store it as a BLOB. I'm taking a stab at it now but I thought I'd put the feelers out to see if an

  • My Dock icons aren't showing

    Just upgraded to Mavericks did the the whole shebang basically but now my application icons with in my dock aren't showing.  The ones that are would be Finder, Calender, Cyberduck and two other folders i have in there.  I don't know why my programs t