How to pass process flow input parameter to unix script external process

Hi,
I'm trying to pass a process flow input paramter (string) to an external process which is a unix script. I've been working on this for the last 2 days but can't get it to work. Here is the design. I have a process flow with 3 maps that create a file in the unix file system. I have a suffix, which is an input parameter to the process flow, that will need to be passed to the unix script to rename the file appending the suffix to the filename. I've tried different things and nothing works for me. Has anyone done something similar in OWB?
Thanks much!

I tried using useBean inside the Jsp for this.
But following error comes:
OracleJSP error: oracle.jsp.parse.JavaCodeException: Line # 13, oracle.jsp.parse.JspParseTagExpression@102e37e
Error: Java code in jsp source files is not allowed in ojsp.next mode.
Please explain why?
How can set POST request params when calling to an external servlet?

Similar Messages

  • How to pass refcursor as input parameter to a procedure in a package

    Hi there
    Please can anybody explain me with an small example for
    passing a procedure output(output should be a refcursor) and pass that refcursor values into a procedure in a package as input parameter and this value i want to use as join condition in my procedure ie. ename=refcursor.ename like this).That my exact question is how to pass refcursor values as in parameter
    Pls suggest me with some example statements
    thanks in advance
    prasanth a.s.

    I am giving you a generic example.
    SQL> variable v_out REFCURSOR
    SQL> r
      1  DECLARE
      2  PROCEDURE TEST1(p_out OUT SYS_REFCURSOR) IS
      3  BEGIN
      4  OPEN p_out FOR SELECT EMPNO,ENAME FROM SCOTT.EMP;
      5  END;
      6  PROCEDURE TEST2(p_in IN SYS_REFCURSOR) IS
      7  v_empno NUMBER(10);
      8  v_ename VARCHAR2(30);
      9  BEGIN
    10  LOOP
    11  FETCH p_in INTO v_empno,v_ename;
    12  EXIT WHEN p_in%NOTFOUND;
    13  DBMS_OUTPUT.PUT_LINE(v_ename);
    14  END LOOP;
    15  NULL;
    16  END;
    17  BEGIN
    18     TEST1(:v_out);
    19     TEST2(:v_out);
    20* END;
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    PL/SQL procedure successfully completed.

  • SQLPLUS Acitivity in process flow Input parameters to the script

    I have a sqlplus Activity in the process flow. In the script section I have a update statement which has a where clause where I need to pass a date field as input paramter to this script to compare and update the records.
    Is there a way to pass Input Parameters to the script.
    update test
    set last_name = 'TEST'
    where trunc(begin_date) = :begin_date;
    Begin_date is a variable in my process flow which I need to pass to this script.
    Any ideas as to how I can accomplish this.
    Thanks in advance.

    You can Create a procedure of the Update statement with one input paramenter like
    Create Or replace procedure Update_test ( p_begin_date date )
    IS
    update test
    set last_name = 'TEST'
    where trunc(begin_date) = p_begin_date;
    End;Then call this Procedure in the Process Flow and give input parameter from PF variable.
    Cheers
    Nawneet

  • How to pass multi-value input parameter to SQL command

    I'm having trouble following the threads related to passing multi-value parameters to a SQL command.
    I need more details on the work-around that exists for using a dummy main report to GET the input parameters and pass them to a subreport parameter that uses the input parameters in its sql command WHERE clause.
    So far the main report prompts user to enter badge numbers into a multi-value string type parameter field called badgeNumber.
    The main report getRequesters command executes the following SQL:
    SELECT requester FROM lawprod.requester WHERE lawprod.requester.requester IN  '{?badgeNumber}'
    order by requester
    The main report also contains a formula called requesterList that concatenates the input parameters and separates the values with commas:  (Join ({?badgeNumber}, ", ")  
    So if user enters badge numbers 1 and 2 and 3 the value of requesterList is 1, 2, 3
    From the main report I've used the Insert Subreport command to choose an existing report, and used the link tab to link @requesterList to ?requester; where ?requester is a multi-value parameter that is used in the subreport's SQL query as shown below:
    WHERE (lawprod.ictrans.update_date <=  {?endDate} AND
           lawprod.ictrans.update_date >= {?startDate} AND
           lawprod.ictrans.doc_type = 'IS' AND
           lawprod.ictrans.system_cd = 'RQ' AND
           lawprod.mmdist.posting_type = 'O1')
          AND
          (lawprod.ictrans.company = lawprod.mmdist.company AND 
           lawprod.ictrans.system_cd = lawprod.mmdist.system_cd AND
           lawprod.ictrans.location = lawprod.mmdist.location AND
           lawprod.ictrans.doc_type = lawprod.mmdist.doc_type AND
           lawprod.ictrans.document = lawprod.mmdist.doc_number AND
           lawprod.ictrans.shipment_nbr = lawprod.mmdist.doc_nbr_num AND
           lawprod.ictrans.line_nbr = lawprod.mmdist.line_nbr AND
           lawprod.ictrans.component_seq = lawprod.mmdist.component_seq)
          AND
          (lawprod.ictrans.company = lawprod.reqline.company AND 
           lawprod.ictrans.document = lawprod.reqline.req_number_a AND
           lawprod.ictrans.line_nbr = lawprod.reqline.line_nbr AND
           lawprod.reqline.company = lawprod.reqheader.company AND
           lawprod.reqline.req_number = lawprod.reqheader.req_number)
           AND
           (lawprod.reqheader.requester in '{?requester}')
    Following execution of the main report, Crystal appears to prompt for three values as expected: badge numbers for the main report, and start and end dates needed by the subreport.   I can't figure out why Crystal XI returns no data. Can anyone explain what I'm missing?
    Edited by: Patricia Sims on Sep 21, 2009 9:30 PM

    The reason no data is returned is that the multiple values are not (properly?) passed to the main report's SQL.  The main report's SQL should be (MS SQL):
    select 1 as dummy
    This causes exactly one record to be returned, which will basically be ignored (except the fact that it will drive the subreport; any query that returns only 1 record will suffice...).
    Change the concatenation of the selected values to be (basic syntax):
    formula = "|" + join({?badgeNumber}, "|") + "|"
    The leading and trailing vertical bars are important (otherwise a database value of 1 might match a selection of 123).
    Pass the concatenated string as the parameter value to the subreport.  In your subreport, select records on (basic syntax):
    formula = (instr({?sr-badgeParam}, "|"+cstr({requester},"0") + "|") > 0)
    (assumes is numeric in the database, and is integer; modify or eliminate cstr() if otherwise...)
    Put your subreport on the detail format of the main report, and you're all set...
    HTH,
    Carl

  • How to pass more than one parameter

    Hello,
    This is my code.
    How to pass more than one parameter:
    SELECT:responsibility_name responsibility_name,
    LPAD(' ', 6*(LEVEL-1))
      || menu_entry.entry_sequence sequence ,
      LPAD(' ', 6*(LEVEL-1))
      || menu.user_menu_name SubMenu_Description ,
      LPAD(' ', 6*(LEVEL-1))
      || func.user_function_name Function_Description ,
      LPAD(' ', 6*(LEVEL-1))
      || menu_entry.prompt prompt
      ,menu.menu_id ,
      func.function_id
      --menu_entry.grant_flag Grant_Flag ,
      --DECODE( menu_entry.sub_menu_id , NULL, 'FUNCTION' , DECODE( menu_entry.function_id , NULL, 'SUBMENU' , 'BOTH') ) Type
    FROM fnd_menu_entries_vl menu_entry ,
      fnd_menus_tl menu ,
      fnd_form_functions_tl func
    WHERE menu_entry.sub_menu_id    = menu.menu_id(+)
    AND menu_entry.function_id      = func.function_id(+)
    AND MENU.LANGUAGE(+) = 'US'
    AND FUNC.LANGUAGE(+) = 'US'
    --AND func.user_function_name LIKE '%Primary Care Providers%'
    AND grant_flag                  = 'Y'
      START WITH menu_entry.menu_id =
      (SELECT menu2.menu_id
      FROM fnd_menus_tl menu2,apps.fnd_responsibility_vl resp
      WHERE menu2.menu_id=resp.menu_id
      and resp.responsibility_name= :responsibility_name
      --and menu2.user_menu_name = ('ATCO HR INQ USER'
      AND LANGUAGE = 'US'
      CONNECT BY MENU_ENTRY.MENU_ID = PRIOR MENU_ENTRY.SUB_MENU_ID
       and menu_entry.function_id not in (select func.function_id
                                       from --fnd_form_functions_vl fnc,
                                       apps.fnd_resp_functions exc,
                                       apps.fnd_responsibility_vl res
                                      where func.function_id = exc.action_id
                                      and res.responsibility_name =:responsibility_name
                                      and res.responsibility_id=exc.responsibility_id)
      and menu_entry.sub_menu_id  not in (select menu.menu_id
                                       from --fnd_menus_vl imn,
                                       apps.fnd_resp_functions exc,
                                       apps.fnd_responsibility_vl res
                                       where menu.menu_id = exc.action_id
                                       and res.responsibility_name =:responsibility_name
                                      and res.responsibility_id=exc.responsibility_id)
    ORDER SIBLINGS BY menu_entry.entry_sequence;
    Thank you for your help
    Shuishenming

    Hi, Ming,
    One way is to put the "parameters" in a table, and join to that table in your query.  If you make it a Global Temporary Table, then multiple sessions can run the query at the same time, and each can be seeing different responsibilities.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.  Since this problem involves parameters, you should give a couple of different sets of parameters, and the results you want from the same sample data for each set.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to pass this multi-value parameter via GoURL?

    Currency is equal to / is in 'USD', 'GBR', 'RUR'. How to pass such multi-value parameter via GoURL?
    P0=1&P1=eq&P2=Measures.Currency&P3=?

    Found. P0=1&P1=eq&P2=Measures.Currency&P3=3+USD+GBR+RUR

  • Is the task-flow input parameter class value being ignored by the framework

    hi
    Although I don't remember where, I think I read or heard about the task-flow input parameter class value that it is "being ignored by the framework".
    One example of this could be what is currently in the UI Shell sample application available
    at http://www.oracle.com/technetwork/developer-tools/adf/uishellapp-134633.zip
    It has in its task-flow in "flows\second.xml" an input parameter configured like
      <task-flow-definition id="second">
        <!-- ... -->
        <input-parameter-definition id="__3">
          <name id="__2">tabContext</name>
          <value>#{pageFlowScope.tabContext}</value>
          <class>oracle.ui.pattern.dynamicShell.TabContex</class>
          <required/>
        </input-parameter-definition>
        <!-- ... -->
      </task-flow-definition>Notice the missing "t" at the end of the class name "oracle.ui.pattern.dynamicShell.TabContex".
    Still this task-flow configuration does allow to use expressions like "#{pageFlowScope.tabContext.selectedTabIndex}", which suggests that the class value is indeed "being ignored by the framework".
    (see also forum thread "does the UI Shell sample break encapsulation in its task-flows"
    at does the UI Shell sample break encapsulation in its task-flows )
    All relevant references (bug numbers, documentation, blogs) explaining about this task-flow input parameter class value are welcome.
    If no such references exist, maybe someone from Oracle can give some feedback.
    many thanks
    Jan Vervecken

    fyi
    The feedback below was posted in the forum message
    at Re: does the UI Shell sample break encapsulation in its task-flows
    Richard Wright wrote:
    That appears to be a bug for which I am seeking confirmation.There is an enhancement request (i.e., 9377487) submitted over a year ago, that describes this behavior. It is listed as an ER as our documentation (e.g., Fusion Developer's Guide for Oracle ADF, online help ) does not specifically state that Java class for the input parameter definition is checked for type. Further anything using EL is untyped. So the expectation that types are enforced is somewhat puzzling to the development team.
    However, there is an acknowledgment within circles of the development organization, that some might come to have this expectation. One trigger might be the definition itself. The other is the existence of a design time audit on the definition. For example, if the class is specified inaccurately (e.g., typo), there is an audit warning to report "not found."
    Under consideration are a number of framework proposals to check for type without breaking backward compatibility or adding overhead to the production environment.
    In the interim, the following recommendations are given.
    Unless this breaks or can break your app in some way, no need exist for change. Nevertheless, if this is a real concern, write a test or consider a java assertion. By default, assertions are disabled at runtime. There is no need to override that default.I have been able to find enhancement request 9377487, "TASK FLOW PARAMETER VALUES NOT VALIDATED ACCORDING TO CLASS", on My Oracle Support. It currently has "Status 15 - To Internal (Oracle) Review" and "Updated 16-Dec-2010".
    In the context of service request 3-4185839067 recently bug 12838099, "THE TASK-FLOW INPUT PARAMETER CLASS VALUE BEING IGNORED BY THE FRAMEWORK", has been filed and it currently still has "Status 16 - Bug Screening/Triage".
    - about "... the expectation that types are enforced is somewhat puzzling to the development team ..."
    Hmm, strange ... so what are people supposed to expect when there is an option to configure a class name for a task-flow input parameter?
    regards
    Jan

  • How to pass a combo box parameter on reporting services?

    How to pass a combo box parameter on reporting services?
    For example, a report has a parameter which is a combo box, its items came from a database query.
    Looks like the combo box didn't got populated and greyed out if I didn't pass the parameter.

    Hi LAScorpion,
    In Reporting Services, if we want to pass a combo box parameter (means signal-parameter) from one report (main report) to another report (subreport), we can enable an action with “Go to report” or “Go to URL” option to achieve the requirement. For more details,
    please see:
    Method1: Go to report
    Right-click a report item to open the properties dialog in subreport, click Action in the left pane.
    Enable Go to report action, then select the main report name in the drop-down list.
    Add a parameter as below:
    Select ID (a parameter name from main report) in the drop-down list of Name, and select [ID] (a field name from subreport) in the drop-down list of Value.
    Method2: Go to URL
    Right-click a report item to open the properties dialog in subreport, click Action in the left pane.
    Enable Go to URL action, the URL below is for your reference:
    ="javascript:void(window.open('http://server_name/ReportServer/Pages/ReportViewer.aspx?%2ffolder_name%2fmain_report_name&rs:Command=Render&parameter_name="& Parameters!parameter_name.Value &"'))"
    Besides, if the parameter’s values are based on other parameters, then the combo-box got greyed out when we haven’t select values in preceding parameters. For more details, please see:
    Cascading Parameters
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to pass multi value selection parameter to SAP Function Module?

    Hi ,
    Anyone know how to pass CR multi value parameter - array to SAP Function module ?
    eg  multi selection of customer in CR
    and then pass to Function module
    in SAP FM,  the SQL select these customer only
    How should the import parameter / table of SAP Function module designed?
    and how should CR pass the data to SAP FM
    thx
    John

    Moved to Integration Kit forum

  • Pass output parameter from mapping to external process in a Process Flow

    In Process flow, how do we pass an Output parameter from a mapping (generated by a post mapping operator) into an external process (shell script)?
    I have a mapping that generates an output parameter and I would like to pass this parameter to an external process (a shell script) with a process flow. Is this possible?

    Hi Norman,
    Unfortunately in the current release, you cannot do this. What you can do, is store the value into a table and read it in the external process, or write it into a file and read it from there. The next release will support passing output parameters from one activity to the next.
    Thanks,
    Mark.

  • How can I pass Recordsets as input parameter to a Function ?

    Hi Gurus,
    I want to create a function that receive recordsets as input parameter also returns recordsets as output.
    I have a requirement to do stock taking for all order items of one Order number in one single query execution (to avoid row by row basis).
    From the post in the forum I know that a function can return recordsets / query result using REF CURSOR or pipelined table function.
    My question is : how to pass the recordsets as input parameter to that function ?
    (because I could have 75 rows item in one order number)
    Below is the DDL and the query :
    create table stocks (Product char(4), Warehouse char(5), expireddate date, qty_available number)
    insert into stocks values('P001', 'WH001', '01-dec-2006', 30)
    insert into stocks values('P001', 'WH002', '01-dec-2006', 50)
    insert into stocks values('P001', 'WH002', '01-jan-2007', 50 )
    insert into stocks values('P001', 'WH001', '01-Mar-2007', 150)
    insert into stocks values('P002', 'WH003', '01-dec-2006', 25)
    insert into stocks values('P002', 'WH003', '15-Jan-2007', 50)
    insert into stocks values('P002', 'WH003', '01-Mar-2007', 75)
    insert into stocks values('P003', 'WH001', '01-dec-2006', 30)
    insert into stocks values('P003', 'WH002', '15-Jan-2007', 40)
    insert into stocks values('P003', 'WH003', '01-Mar-2007', 50)
    CREATE TABLE Order_Detail (PRODUCT_ORD CHAR(4), QTY_ORD number, Priority_WH CHAR(5) )
    INSERT INTO Order_Detail VALUES ('P001', 75, 'WH003') // previously 'WH002'
    INSERT INTO Order_Detail VALUES ('P002', 45, 'WH002')
    INSERT INTO Order_Detail VALUES ('P003', 55, NULL)
    The query for stock taking :
    select product,warehouse,expireddate, least(qty_available-(sm - qty_ord),qty_available) qty
    from ( select product,warehouse,expireddate,qty_available,qty_ord, sum(qty_available) over(partition by product order by s.product,expireddate,decode(warehouse,priority_wh,0,1),warehouse ) sm
    from stocks s,order_detail o
    where s.product = o.product_ord order by s.product,expireddate,decode(warehouse,priority_wh,0,1) )
    where (sm - qty_ord) < qty_available

    Hi,
    This my requirement :
    I have (simplified)Order_Detail as below :
    CREATE TABLE Order_Detail (PRODUCT_ORD CHAR(4), QTY_ORD number, Priority_WH CHAR(5) )
    INSERT INTO Order_Detail VALUES ('P001', 75, 'WH003') // previously 'WH002'
    INSERT INTO Order_Detail VALUES ('P002', 45, 'WH002')
    INSERT INTO Order_Detail VALUES ('P003', 55, NULL)
    Then I want to do stock taking from my STOCK table (described on my first post on this thread)
    create table stocks (Product char(4), Warehouse char(5), expireddate date, qty_available number)
    The rule is : The stok taking is on First In First Out basis, on expireddate.
    And I want to do it in single query.
    I want to make this a Function / Stored Procedure so that other transaction can also make use of this query.
    That is why I need to pass the 3 rows oy mr Order_Detail above, do the query, and return the result.
    Then INSERT the result into ORDER_DETAIL_PER_EXPIRED_DATE table.
    I hope this clear my requirement, is this possible ?
    Thank you,
    xtanto

  • How to pass a document as an attachment to a BPEL process?

    Hi Guys,
    Currently I have a BPEL process that get's invoked from a JSP page with some scriplets in it. The following bit of code calls the BPEL process in the JSP scriplet:
    try{       
    String givenNames = request.getParameter("givenNames");
    String sex = request.getParameter("sex");
    String title = request.getParameter("title");
    String staffMemberInd = request.getParameter("staffMemberInd");
    String deceasedInd = request.getParameter("deceasedInd");
    String archiveExclusionInd = request.getParameter("archiveExclusionInd");
    String archiveDt = request.getParameter("archiveDt");
    String purgeExclusionInd = request.getParameter("purgeExclusionInd");
    String purgeDt = request.getParameter("purgeDt");
    String birthDt = request.getParameter("birthDt");
    String salutation = request.getParameter("salutation");
    String preferredGivenName = request.getParameter("preferredGivenName");
    String emailAddr = request.getParameter("emailAddr");
    String autoEnableInd = request.getParameter("autoEnableInd");
    String xml = "<AddUserProcessRequest xmlns=\"http://xmlns.oracle.com/callistaAddUser\">"
    +"<surname>"+surname+"</surname>"
    +"<givenNames>"+givenNames+"</givenNames>"
    +"<sex>"+sex+"</sex>"
    +"<title>"+title+"</title>"
    +"<staffMemberInd>"+staffMemberInd+"</staffMemberInd>"
    +"<deceasedInd>"+deceasedInd+"</deceasedInd>"
    +"<archiveExclusionInd>"+archiveExclusionInd+"</archiveExclusionInd>"
    +"<archiveDt>"+archiveDt+"</archiveDt>"
    +"<purgeExclusionInd>"+purgeExclusionInd+"</purgeExclusionInd>"
    +"<purgeDt>"+purgeDt+"</purgeDt>"
    +"<birthDt>"+birthDt+"</birthDt>"
    +"<salutation>"+salutation+"</salutation>"
    +"<preferredGivenName>"+preferredGivenName+"</preferredGivenName>"
    +"<emailAddr>"+emailAddr+"</emailAddr>"
    +"<autoEnableInd>"+autoEnableInd+"</autoEnableInd>"
    +"</AddUserProcessRequest>";
    Locator locator = new Locator("default","bpel");
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload" , xml );
    NormalizedMessage res = deliveryService.request("AddUser", "process", nm);
    Map payload = res.getPayload();
    Element partEl = (Element) payload.get("payload");
    In my BPEL process I have a human task that I want to attach a document (WORD, PDF etc) to.
    My question is, how can I attach and pass a document as an input parameter to my BPEL process? and what kind of element do I need to create in the XSD file to hold the attached document?
    Any help with this is greatly appreciated.
    Thanks.
    Edited by: user9972209 on Aug 31, 2008 10:57 PM

    In our application, an attachment surfaces in the middle of the lifecycle, but not from the start.
    We were using the following to accommodate the attachment as the part of the payload ...
    <xsd:element name="AttachementMimeType" type="xsd:string"/>
    <xsd:element name="AttachmentMIMEStream" type="xsd:string"/>
    Hope this helps.

  • Mapping audit_id in process flow with parameter

    Hello!
    I have a following request.
    I would like to get AUDIT_EXECUTION_ID for certain Mapping in process flow and pass this ID to next mapping (all this with help of parameters I guess??) to get some data from AUDIT tables. How to do this?
    OWB version 10.2.0.1
    Thank you Gorazd
    Edited by: gor on May 9, 2011 1:40 PM

    Hi,
    It is a bit complicated and technical.
    Will give you a hint.
    You need to install run_my_owb_stuff as a function, grant access, and create a public synonym.
    Then within you have to add capturing of the execution_id as an additional custom parameter. (see below).
    Once done. Add a Start parameter with same name to each Process Flow, and Bind it to any activity that you want to use the parameter with.
    -- Override Parameters
    dbms_output.put_line('Stage 3: Overriding Parameters');
    -- override_system_input_params(l_audit_execution_id, p_system_params);
    if p_task_type='PROCESS' then
    -- GRI addition
         l_custom_params := p_custom_params || ', p_execution_id=' || l_audit_execution_id;
    override_custom_input_params(l_audit_execution_id, l_custom_params);
    else
         override_custom_input_params(l_audit_execution_id, p_custom_params);
         end if;
    -- override_custom_input_params(l_audit_execution_id, p_custom_params);
    - Jojo

  • [BUG] Page composer does not pass task flow input paramters correctly

    Hello,
    When using the page composer to add a task flow requiring parameter to an editable region, the pageDef is correctly created within the MDS store. In my test case, the generated pageDef looks like the following, which seems to be correct:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <mds:customization version="11.0.0.49.49" xmlns:mds="http://xmlns.oracle.com/mds">
       <mds:insert parent="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables">
          <taskFlow id="regionBinding1" taskFlowId="/taskflows/texte-riche-task-flow#texte-riche-task-flow" xmlns="http://xmlns.oracle.com/adf/controller/binding" Refresh="ifNeeded"/>
       </mds:insert>
       <mds:insert parent="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns2=http://xmlns.oracle.com/adf/controller/binding)xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables/mds_ns2:taskFlow[2]">
          <parameters xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
       </mds:insert>
       <mds:insert parent="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns2=http://xmlns.oracle.com/adf/controller/binding)xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables/mds_ns2:taskFlow[2]/mds_ns2:parameters">
          <parameter id="idStellent" xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
       </mds:insert>
       <mds:insert after="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns2=http://xmlns.oracle.com/adf/controller/binding)xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables/mds_ns2:taskFlow[2]/mds_ns2:parameters/mds_ns1:parameter">
          <parameter id="mode" value="edit" xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
       </mds:insert>
    </mds:customization>Since it was not working as I expected, I added a method call printing the parameters values as the first action of my task flow, but I get the following, showing that none of the parameters ever get passed to the task flow. Of course, in its current state idStellent should indeed be null, but the mode should have the static value "edit":
    ------------------------ idStellent = null, mode = null ------------------------Can we get a ticket filled for this issue because it's an extreme blocker for us as it prevent reuse of task flows with the page service.
    Regards,
    ~ Simon

    Hi,
    I forgot to mention that the task flow is extremely simple, here's its definition:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="texte-riche-task-flow">
        <default-activity>printParams</default-activity>
        <input-parameter-definition>
          <name>idStellent</name>
          <value>#{pageFlowScope.idStellent}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>
        <input-parameter-definition>
          <name>mode</name>
          <value>#{pageFlowScope.mode}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>
        <managed-bean>
          <managed-bean-name>document</managed-bean-name>
          <managed-bean-class>ca.ulaval.ena.faces.bean.HtmlStellentDocumentBean</managed-bean-class>
          <managed-bean-scope>pageFlow</managed-bean-scope>
          <managed-property>
            <property-name>idStellent</property-name>
            <property-class>java.lang.String</property-class>
            <value>#{pageFlowScope.idStellent}</value>
          </managed-property>
        </managed-bean>
        <managed-bean>
          <managed-bean-name>block</managed-bean-name>
          <managed-bean-class>ca.ulaval.ena.webcenter.bean.BlockBean</managed-bean-class>
          <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
        <view id="texteRiche">
          <page>/fragments/ut412/texteRiche.jsff</page>
        </view>
        <view id="texteRicheEditable">
          <page>/fragments/ut412/texteRicheEditable.jsff</page>
        </view>
        <router id="modeSwitch">
          <case>
            <expression>#{pageFlowScope.mode == 'edit'}</expression>
            <outcome>edit</outcome>
          </case>
          <default-outcome>read-only</default-outcome>
        </router>
        <method-call id="printParams">
          <method>#{block.print}</method>
          <parameter>
            <class>java.lang.String</class>
            <value>#{pageFlowScope.idStellent}</value>
          </parameter>
          <parameter>
            <class>java.lang.String</class>
            <value>#{pageFlowScope.mode}</value>
          </parameter>
          <outcome>
            <fixed-outcome>done</fixed-outcome>
          </outcome>
        </method-call>
        <control-flow-rule>
          <from-activity-id>texteRicheEditable</from-activity-id>
          <control-flow-case>
            <from-outcome>annuler</from-outcome>
            <to-activity-id>texteRiche</to-activity-id>
          </control-flow-case>
          <control-flow-case>
            <from-outcome>ok</from-outcome>
            <to-activity-id>texteRiche</to-activity-id>
          </control-flow-case>
          <control-flow-case>
            <from-outcome>enregistrer</from-outcome>
            <to-activity-id>texteRicheEditable</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule>
          <from-activity-id>modeSwitch</from-activity-id>
          <control-flow-case>
            <from-outcome>read-only</from-outcome>
            <to-activity-id>texteRiche</to-activity-id>
          </control-flow-case>
          <control-flow-case>
            <from-outcome>edit</from-outcome>
            <to-activity-id>texteRicheEditable</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule>
          <from-activity-id>printParams</from-activity-id>
          <control-flow-case>
            <from-outcome>done</from-outcome>
            <to-activity-id>modeSwitch</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>Note that the method call at the start is totally useless and only used to print the input parameters.
    ~ Simon

  • How to pass Visa Resoure Name parameter to labview dll in labwindows​​/cvi

    Hi, everyone
    I build a dll from labview, the prototype is : double  getchannelpower(double f, uintptr_t *VISAResourceName);
    I don't know how to pass VISAResourceName to this function.How can I get the VISAResourceName of this type(uintptr_t *)?
    Is it related to the paremeter ViPSession in function viOpen(ViSession sesn,ViRsrc rn,ViAccessMode am,ViUInt32 ti,ViPSession vi)?
    BRs,
    lotusky

    1. uintptr_t *VISAResourceName in the labview dll is connected to viOpen function as input parameter internally.
    2.I can call the labview dll in labview via CLF Node, when the VISAResourceName parameter is set  to Numeric(32-bit int or 32-bit usigned int) OR Adapt to data(Handle by Value). And I got the value of the VISAResourceName parameter, which is 0; When I directly connect 0 to the dll, it still works. But in labwindows, when  I pass 0 to the VISAResourceName parameter of the dll function, I got a FATAL RUN-TIME ERROR: The program has caused a 'General Protection' fault.
    mkossmann 已写:
    Could you check what exactly uintptr_t *VISAResourceName in your labview dll does.Might it be that it is connected to the labviews Dll internal ViOpen() ViSession output parameter ?.   And the name VISAResourceName is misleading.
    Another idea would be that Labview uses 32bit Unicode for the ResourceName. And you have to convert the C String to that Unicode first.

Maybe you are looking for

  • How to "Create a Windows 7 install disk" on Mountian Lion w/Bootcamp 5

    It's basically the same way you create one with previous Bootcamp & OS verisons. Finder -> Applications -> Utilities -> Select Bootcamp -> Show Package Contents Open "Info.plist" Scroll until you see whats listed below. <key>PreUSBBootSupportedModels

  • Problem with Special characters(Russian) using DynamicConfiguration

    Hi, I have a mail-RFC scenario where I am using adapter-specific message attributes and DynamicConfiguration to retrieve mail subject.It works fine. We have a problem when the subject contains Russian special characters.In this case,whole mail subjec

  • Messages does not appear

    Hi, When I am chatting with friends on facebook. I can hear the "bip"that I have received a message but I can not see it. Can anyone help me??? I have updated facebook yesterday on my iphone Thanks for your help

  • TS3274 Will not charge while plugged in

    Any suggestions as to why my iPad is not recharging? And how to fix?

  • UCCX Record Forwarded Calls

    Hi CCX Script Experts,  CCX 9.0(2) Cisco QM 9.0   I want to just make sure there is a way on CCX scripting a step to record calls somehow.   Basically I want the IVR port to initiate a conference between Caller A (Original calling phone) and Caller B