Passing Parameter to Process flow

Hello,
I have a mapping that has input parameter. Now i create a process flow and use this mapping, each time i run the process flow it prompt for the parameter
Is there a way to pass the parameter to the process flow directly withput prompting ?
Thanks

Hi ,
I found something related in doc. http://download.oracle.com/docs/cd/B31080_01/doc/owb.102/b28223/ref_processflows.htm#i1173362
"If a mapping contains a Mapping Input Parameter operator, specify a value according to its data type. The Process Flow Editor expects to receive a PL/SQL expression when you add a Mapping Input Parameter operator to a mapping. If the Mapping Input Parameter is a string, enclose the string in double quotes."
But it is not clear how to do this ?
Thanks

Similar Messages

  • Passing parameter in task flow

    Hi,
    I want to pass parameter into task flow. I dont' use data control and i populate the table manually in backing bean and i want two parameter when the user click on the row of table. The task flow is composed only two pages: one with list of data and the another for details. Any suggestions?
    Best regards

    Well in that case the answer lies in my previous post. Set the value in requestScope (by using the setActionListener) and you can get the value in the taskflow (taskflow have parameters section).
    here it is how to set the value:
    <af:commandLink id="ot15" text="#{row.Date}" partialSubmit="true" action="activity"
                                                              shortDesc="Click here to visit Details">
                                                 <af:setActionListener from="#{row.Id}" to="#{requestScope.Id}"/>
                                              </af:commandLink>Look at taskflow options and you can easily get the value from there
    Edited by: in the line of fire on Sep 11, 2011 2:32 PM

  • Input Parameter in process flow

    Hi, I can't pass a parameter in a process flow, I'm following these step:
    To accomplish your task you should do following steps:
    1. Define input parameters for all your mappings
    2. Collect mappings within process flow
    3. Define process parameters.
    To do this withing Process editor and point somewhere on process diagram - don't select any activities In bottom-left window you will see the list of all process' activities. Select "Start" activity and press Add button below. New parameter line should appear under Start activity. Edit name and type of parameter and repeat creating input process parameters.
    4. Select Mapping with input parameters. In bottom-left window selectted activity will appear. Click on plus sign to expand mapping parameters. For each parameter set its Binding to the Process parameter. Continue with other mappings.
    The process flow recibe the input parameter, but it's not passing through the mappings
    if I run the maps one by one, the result is Ok
    Thanks and regards

    Hi
    How do you know the process flow is receiving the input, and that the mapping is not?
    So you followed the following
    http://blogs.oracle.com/warehousebuilder/2009/01/process_flow_parameters_1.html
    but with a map as the activity?
    Cheers
    David

  • Passing paramater from process flow to unix script in owb

    Hi,
    I need help in calling a function the return value must be passed as a paramater to user defined activity operator in owb which would in turn run a unix script on the server which would use the paramater passed.
    Thanks,
    Ashvin.

    hi let me give you some more infor about my proble.
    i have a unix script named caproc. The script would be passed a paramater. the script would be called from simple owb process flow and i need to pass the paramater to it.
    i have tested running other unix scripts and the are running fine.
    as you said to create a variable 'x' i did that and under paramater_list of the user activity operator under binding i selected the variable 'X'
    the process flow was valiadated fine and deployed but when i run it it gives me this error.
    COPY_OF_UX_SCP_CALL
    Error
    RPE-01003: An infrastructure condition prevented the request from completing.
    COPY_OF_UX_SCP_CALL
    Error
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER := 0;function "COPY_OF_UX_SCP_CALL" return VARCHAR2 is "WARNING" NUMBER := 2;"RETURN_RESULT_NUMBER" NUMBER := NULL;"NUMBER_OF_ERRORS" NUMBER := 0;"SUCCESS" NUMBER := 1;"ITEM_TYPE" VARCHAR2(4000) := (owbsys.wb_rt_task_variable.get_value(305587));"ERROR" NUMBER := 3;"EVAL_LOCATION" VARCHAR2(4000) := (owbsys.wb_rt_task_variable.get_value(305590));"OK" NUMBER := 1;"FAILURE" NUMBER := 3;"AUDIT_ID" NUMBER := 305586;"RETURN_CODE" NUMBER := NULL;"NUMBER_OF_WARNINGS" NUMBER := 0;"ITEM_KEY" VARCHAR2(4000) := (owbsys.wb_rt_task_variable.get_value(305589));"RETURN_RESULT" VARCHAR(64) := NULL;"PARENT_AUDIT_ID" NUMBER := NULL;"OK_WITH_WARNINGS" NUMBER := 2;begin "$LOOP_DETECT$" := "$LOOP_DETECT$" + 1;if "$LOOP_DETECT$" > 2 then raise_application_error(-20001, 'Loop detected calling "COPY_OF_UX_SCP_CALL"');end if;return to_char(?'acac');end;begin :result := "COPY_OF_UX_SCP_CALL";end;. Please modify the expression, redeploy and retry again.
    COPY_OF_UX_SCP_CALL
    Error
    Missing IN or OUT parameter at index:: 2
    i am pasting the xml script owb generates which might help someone to point me the problem
    <?xml version = '1.0'?>
    <!DOCTYPE Package SYSTEM "jar:file:/C:/product/11.1.0/db_1/owb/lib/int/rtpcommon.jar!/Package_dtd.txt">
    <Package Id="SPT_TRY" Name="SPT_TRY">
    <PackageHeader>
    <XPDLVersion/>
    <Vendor/>
    <Created/>
    <Description></Description>
    </PackageHeader>
    <TypeDeclarations/>
    <Applications>
    <Application Id="A805FAF687910739AE04011AC69063028" Name="UX_SCRIPT">
    <FormalParameters>
    <FormalParameter Id="EXIT_CODE" Mode="OUT">
    <DataType>
    <DeclaredType Id="EXIT_STATUS"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:COMMAND">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:PARAMETER_LIST">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:SUCCESS_THRESHOLD">
    <DataType>
    <BasicType Type="INTEGER"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:SCRIPT">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:RESULT_CODE" Mode="OUT">
    <DataType>
    <BasicType Type="INTEGER"/>
    </DataType>
    </FormalParameter>
    </FormalParameters>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:Function" Value="SHELL"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:TaskName"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Application>
    <Application Id="A81117E4A8F6699DAE04011AC680650B6" Name="UX_SCRIPT">
    <FormalParameters>
    <FormalParameter Id="EXIT_CODE" Mode="OUT">
    <DataType>
    <DeclaredType Id="EXIT_STATUS"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:COMMAND">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:PARAMETER_LIST">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:SUCCESS_THRESHOLD">
    <DataType>
    <BasicType Type="INTEGER"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:SCRIPT">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:RESULT_CODE" Mode="OUT">
    <DataType>
    <BasicType Type="INTEGER"/>
    </DataType>
    </FormalParameter>
    </FormalParameters>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:Function" Value="SHELL"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:TaskName"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Application>
    </Applications>
    <WorkflowProcesses>
    <WorkflowProcess Id="UX_SCP_CALL" Name="UX_SCP_CALL">
    <ProcessHeader>
    <Description></Description>
    </ProcessHeader>
    <FormalParameters>
    <FormalParameter Id="EXIT_CODE" Mode="OUT">
    <DataType>
    <DeclaredType Id="EXIT_STATUS"/>
    </DataType>
    </FormalParameter>
    </FormalParameters>
    <DataFields/>
    <Activities>
    <Activity Id="UX_SCRIPT" Name="UX_SCRIPT">
    <Description></Description>
    <Implementation>
    <Tool Id="A805FAF687910739AE04011AC69063028" Type="APPLICATION">
    <ActualParameters>
    <ActualParameter/>
    <ActualParameter>"/bin/bash"</ActualParameter>
    <ActualParameter/>
    <ActualParameter>"0"</ActualParameter>
    <ActualParameter/>
    <ActualParameter/>
    </ActualParameters>
    <Description></Description>
    </Tool>
    </Implementation>
    <TransitionRestrictions>
    <TransitionRestriction>
    <Split Type="XOR"/>
    </TransitionRestriction>
    </TransitionRestrictions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="805FAF687910739AE04011AC69063028"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:TaskName" Value="&quot;UX_SCP_CALL:UX_SCRIPT&quot;"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID" Value="&quot;{0}&quot;"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="262.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-219.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    <Activity Id="END_SUCCESS" Name="END_SUCCESS">
    <Description></Description>
    <Implementation>
    <Tool Id="END" Type="APPLICATION">
    <ActualParameters>
    <ActualParameter>OK</ActualParameter>
    </ActualParameters>
    <Description></Description>
    </Tool>
    </Implementation>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="805FAF68790F739AE04011AC69063028"/>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="450.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-40.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    <Activity Id="START1" Name="START1">
    <Description></Description>
    <Implementation>
    <Tool Id="START" Type="APPLICATION">
    <Description></Description>
    </Tool>
    </Implementation>
    <TransitionRestrictions>
    <TransitionRestriction>
    <Split Type="XOR"/>
    </TransitionRestriction>
    </TransitionRestrictions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="805FAF68790E739AE04011AC69063028"/>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="-321.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-211.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    </Activities>
    <Transitions>
    <Transition Id="TRANSITION_1" From="UX_SCRIPT" To="END_SUCCESS">
    <Condition Type="OTHERWISE"/>
    </Transition>
    <Transition Id="TRANSITION" From="START1" To="UX_SCRIPT"/>
    </Transitions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="805FAF687909739AE04011AC69063028"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:RootUOID" Value="&quot;805FAF687909739AE04011AC69063028&quot;"/>
    <ExtendedAttribute Name="OWB:TaskName" Value="&quot;UX_SCP_CALL&quot;"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID" Value="&quot;{0}&quot;"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </WorkflowProcess>
    <WorkflowProcess Id="COPY_OF_UX_SCP_CALL" Name="COPY_OF_UX_SCP_CALL">
    <ProcessHeader>
    <Description></Description>
    </ProcessHeader>
    <FormalParameters>
    <FormalParameter Id="EXIT_CODE" Mode="OUT">
    <DataType>
    <DeclaredType Id="EXIT_STATUS"/>
    </DataType>
    </FormalParameter>
    </FormalParameters>
    <DataFields>
    <DataField Id="X">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    <InitialValue>`?'acac'`</InitialValue>
    </DataField>
    </DataFields>
    <Activities>
    <Activity Id="END_SUCCESS" Name="END_SUCCESS">
    <Description></Description>
    <Implementation>
    <Tool Id="END" Type="APPLICATION">
    <ActualParameters>
    <ActualParameter>OK</ActualParameter>
    </ActualParameters>
    <Description></Description>
    </Tool>
    </Implementation>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="81117E4A8F6999DAE04011AC680650B6"/>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="450.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-40.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    <Activity Id="UX_SCRIPT" Name="UX_SCRIPT">
    <Description></Description>
    <Implementation>
    <Tool Id="A81117E4A8F6699DAE04011AC680650B6" Type="APPLICATION">
    <ActualParameters>
    <ActualParameter/>
    <ActualParameter>"/bin/bash"</ActualParameter>
    <ActualParameter>X</ActualParameter>
    <ActualParameter>"0"</ActualParameter>
    <ActualParameter/>
    <ActualParameter/>
    </ActualParameters>
    <Description></Description>
    </Tool>
    </Implementation>
    <TransitionRestrictions>
    <TransitionRestriction>
    <Split Type="XOR"/>
    </TransitionRestriction>
    </TransitionRestrictions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="81117E4A8F6699DAE04011AC680650B6"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:TaskName" Value="&quot;COPY_OF_UX_SCP_CALL:UX_SCRIPT&quot;"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID" Value="&quot;{0}&quot;"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="262.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-219.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    <Activity Id="START1" Name="START1">
    <Description></Description>
    <Implementation>
    <Tool Id="START" Type="APPLICATION">
    <Description></Description>
    </Tool>
    </Implementation>
    <TransitionRestrictions>
    <TransitionRestriction>
    <Split Type="XOR"/>
    </TransitionRestriction>
    </TransitionRestrictions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="81117E4A8F6499DAE04011AC680650B6"/>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="-321.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-211.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    </Activities>
    <Transitions>
    <Transition Id="TRANSITION_1" From="UX_SCRIPT" To="END_SUCCESS">
    <Condition Type="OTHERWISE"/>
    </Transition>
    <Transition Id="TRANSITION" From="START1" To="UX_SCRIPT"/>
    </Transitions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="81117E4A8F6199DAE04011AC680650B6"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:RootUOID" Value="&quot;81117E4A8F6199DAE04011AC680650B6&quot;"/>
    <ExtendedAttribute Name="OWB:TaskName" Value="&quot;COPY_OF_UX_SCP_CALL&quot;"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID" Value="&quot;{0}&quot;"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </WorkflowProcess>
    </WorkflowProcesses>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="805FAF687904739AE04011AC69063028"/>
    </ExtendedAttributes>
    </Package>

  • Passing parameters in process flow

    Hi All,
    Is there a way to pass parameters between different process flow operators like transformation activity, mapping, etc using any variable. Either defining new variable or using existing variable. Does process flow provides any variables whose values can be changed by one mapping and used by mapping following it.
    Any help would be appreicated.
    Platform - OWB 10gR1
    Regards,
    Ron.

    write a PL/SQL transformation, function or procedure either. Call the Transformation before the mapping, like if you want to execute that mapping or not based on the return vale.
    "can be changed by one mapping and used by mapping following it"
    Yes, you can. Log the value into database , then convert the following mapping as the PL/SQL transformation, where you can easily take the previous mapping output value, which has been stored. All you need some temp parameter table. The way you can define a table to be used for more than one case.

  • How to bind mapping input parameter in process flow using OMB Plus

    Hi
    I have created a process flow with a mapping.
    This mapping has a input parameter, that I want to bind to a variable using OMBPlus
    OMBALTER PROCESS_FLOW '$process' MODIFY PARAMETER 'P_EOD_DATE_IN' SET PROPERTIES (BINDING) VALUES ('V_EOD_DATE') does not work as P_EOD_DATE is NOT a process parameter
    neither does
    OMBALTER PROCESS_FLOW '$process' MODIFY PARAMETER '$mapname/P_EOD_DATE_IN' SET PROPERTIES (BINDING) VALUES ('V_EOD_DATE') as the reference '$mapname/P_EOD_DATE_IN' is not valid.
    Any suggestions ?
    Best Regards
    Klaus

    Hi Klaus,
    look here {thread:id=640397}
    Regards,
    oleg

  • Passing parameter from task flow to another ADF Taskflow

    Hallo everyone, I have a case :
    1. I have ADF Bounded Task Flow, it contains two main elements - page P1 and another ADF Task Flow call - C1
    2. Page P1 has an atribut employee number as command image link,
    this command will call C1 and passing empNum as parameter
    3. C1 containts two page fragment , Pf1 and Pf2. Default activity is Pf1
    4. Ineed to pass parameter empNumb  available in P1 into ADF Task Flow call C1..
    Is it possible when I click command image link, then it will call Pf2 in C1 ?
    Please help.
    Regards,
    samantha

    Hi Samantha,
    You mean to say, u want to skip the default activity Pf1 in C1?
    And for passing parameters use Add a parameter in your taskflow. (put the empnumber in pageflowscope and pass that as a parameter to the new taskflow C1).
    Thanks

  • Parametized USER_DEFINED process flow activity

    Can someone help? I am attempting to use USER_DEFINED process flow activity to copy a file to another location under a new name.
    The names for the source and destination file will be generated at execution time by a mapping that will create the file.
    The challenge is how do I pass these file names a parameters; a, b to a file copy script I have written.
    You help will be appreciated.

    This should be possible as we have done a similar thing.
    How are the source and destination files generated in the mapping ?
    As our file information was stored in an Oracle table we created a Transformations/Function that queried out the required information (filenames) and formatted it into the required statement for execution.
    This was stored in a variable and could then be passed to the user defined process in the Process Flow.
    HTH
    Paul

  • Passing parameter to process chain - logical file name

    Hi,
    Is there a way to pass a parameter to a process chain? Iu2019m trying to define logical file name (via transaction FILE) allowing to point on physical files name containing a parameter to be defined at run time. Is it possible?
    Example, consider receiving file ending by a number representing its source system origin:
    Filename_1      (file coming from syst 1)
    Filename_2      (file coming from syst 2)
    As both file have the same structure I would like to specify a single datasource Filename_n and a single process chain in which I would set the parameter n at run time. Is there a way to implement that?
    I first thought about an Abap routine reading parameter in a table but than Filename_n canu2019t be treated in parallel u2026 Any other idea?
    Cheers,
    Benoit

    Hi Benoit,
    yes, it is possible to call the file paths with routine at infopackage.
    if you have only 2 file and file names are constant, then you can create 2 infopackages and keep thse two in process chain.
    Start
    I
    infopackage 1
    I
    Infopackage 2
    and from applcation sever, these files will be loaded.
    if upi have more files, you can write a routine at the selection of file path, in infopackage.
    Regards
    Daya Sagar

  • Process Flow Parameter Binding.

    The docs on using process flow parameters are a bit sparse, so I wonder if anyone else has some input.
    We kick off our ETL processes by an external enterprise scheduling tool due to several remote dependencies. This tool provides us with an audit id that we want to tag all of our current rows loaded with. Now, creating input parameters on the mappings is easy, but the docs seem to indicate that a parameter passed into a process flow can only be bound to one location. Given that our process includes a few hundred mappings, this would require the input parameter be input several hunderd times with each instance bound to a single mapping. That is not a maintainable option. Similarly, any documentation on passing OUT parameters from mappings to subsequent mappings seems entirely absent, so I'm not sure if I can "daisy chain" passing this parameter along.
    Which, at this point, leaves me with passing in the variable to the process flow, having the first step be a SQL call that saves this ID to a table, and then having each mapping query this table for the audit ID in a pre-mapping procedure to use to tag the rows. The Process Flow will also have to have a closing SQL script to clear the audit id out of the table.
    Is this my best option? Or does anyone have a better idea?
    Thanks,
    Mike

    In 9.2, parameters were added by way of the property sheet for the Start activity.
    In 10.2 what you do is, in the Explorer portion (the top section) of the palette you select the "Start" activity. If you then look at the top bar of the Explorer portion of the palette you will note that the leftmost icon (a green plus sign over a folder) is enabled. This is the Create button which, when pressed, will create an input parameter to the process flow. This paramter may then be used as a bind variable by other activities in the process flow.
    Cheers,
    Mike

  • Data Type for Process Flow... PB with Date?

    I've got a problem by passing parameters in process flow.
    I have a mapping with a parameter DATE_EXEC (data type : DATE) and a default value that is TO_DATE('20/01/2007' , 'dd/mm/yyyy') . My mapping is working good when i launch it.
    I have a process flow which contains the mapping. This process has a parameter DATE_EXEC (data type : DATE). I bind the 2 DATE_EXEC. But when i launch my mapping the value is not recognized, I try with :
    - TO_DATE('20/01/2007' , 'dd/mm/yyyy')
    - 20/01/2007
    - 2007.01.20
    - 2007-01-20
    My question is what are the data type in process flow? They are not ORACLE TYPE.
    For example , a parameter in a mapping which is a VARCHAR2 must be input between quotes but if you bind it to a parameter of a process flow which is a STRING (not ORACLE Data type) , you must input it without quotes?
    Anybody has some rules about that?
    I apologize for my english, i'm a french people.

    Here is some information on the literal quote or not quote query and what I think you need to do at the end, hope it helps. Not exactly intuitive...since the flow designer (you) have to know what is a PLSQL object and what is not.
    1. Literal = FALSE
    When Literal = FALSE is set then the value entered must be a valid PL/SQL expression which is evaluated at the Control Center e.g.
    'Hello World!'
    22 / 7
    2. Literal = TRUE
    When Literal = TRUE then the value is dependent on the the type of Activity. If the activity is a PL/SQL object i.e. Mapping or Transformation, then the value is PL/SQL snippet. The critical difference here is that the value is macro substituted into the call for the object. The format of the value is identical to that entered as default value in the Mapping editor. e.g.
    'Hello World!'
    sysdate()
    If the activity type is not a PL/SQL object then the value is language independent. e.g.
    Hello World
    3.1427571
    What you should try......
    Check the map activity parameter in your process flow to see if literal is false (an expression), set it to false and then try using your TO_DATE('20/01/2007' , 'dd/mm/yyyy') expression, deploy your flow and execute. Alternatively the user guide defines the DATE type for flow with the format YYYY-MM-DD so you can have the parameter value as '2007-01-20' use literal equal to true and remember and quote your value.
    Cheers
    David

  • Can I pass a parameter to a mapping without using a process flow?

    I have to load data from multiple countries at different times. Rather than creating an individual mapping for each country, I want to create 1 mapping and pass the country code as a parameter to the mapping. I tried to use an input parameter in the mapping and add a custom parameter to the sqlplus_exec_template hoping the custom parameter would pass to the mapping input parameter but it's not working. No data loads.
    When I add a default value to the input parameter, the data loads but this isn't the solution I need. The value of the parameter will vary depending on the country so I can't use defaults. Since the mappings load automatically, I need the script to be able to pass the parameter in.
    I'm trying to avoid going through a process flow because that just seems like overkill for what I need to do. I just want to load all the data where country code = 'X'. Is this even possible?

    o.k. I tried everything to see which would be the best scenario.
    Zeppo - I can't use your solution because ".main", I believe, applies to an older version of OWB. We have 10g. I know in 3.1 ".main" applies because I still have mappings from that version. Doesn't apply to 10g.
    Sutirtha - I set the property for the prompt but it still didn't work.
    MccM - Yes, the premapping process works perfectly. Only thing is that I have to come up with so many different scenarios in the If then else logic. Giving me a migraine ...
    .... so ....
    I punked out and created a table that stores all of the load times by country code. In the joiner, I linked the table's country code to the country code in my view and only retrieved data where the table's load hour equals the sysdate hour. Now all I have to do is change an entry in the working table if I need to reschedule a load.
    It's cluggy but it works ... and I met me goal of only using 1 mapping.
    Thanks to all of you for providing your input. Much appreciated.

  • 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 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?

  • 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

Maybe you are looking for