Binding variables in Process Flows

I'm attempting to bind a variable defined in the Start activity to a Mapping activity's Input parameter. When I expand the Mapping activity and select the Input parameter in question, it forces me to explicitly enter a value. It does not show the Start activity parameter in the Binding listbox.
This appears to work fine for other activities within a Process Flow (Email, FTP, Transform, Subprocess) but not with a Mapping. Is this a bug or by design?
I'm working on OWB 9.2
Dave

Hi David,
Sorry for the delay, I just tested this and mine nicely complies to what I want. Added a number input parameter to a mapping. Then added a number input in the Start activity. This works.
Then I tried to do a string input on the start and try to bind that, and this does give the your result.
Process flow only allows you to bind variables with the same data type (or equivalent). So please take a look at the datatypes for the mapping input and the Start activity parameter.
If they are the same (e.g. integer and number, string and varchar2) this works.
Jean-Pierre

Similar Messages

  • Creating variables in Process Flows and using thse variables in the filter

    Hi,
    I am new to OWB and in learing stage. Need to information.
    *1. as to how pass/create/use variables to OWB mapping ?*
    *2. Creating variables in Process Flows and using thse variables in the filter operator of the OWB mapping?*
    *3. Other mechanisms of how to create/use variables within OWB mapping itself ?*
    can you please provide the above details and guide me / help me in this regard.
    Thanks,
    skms.

    1. Add parameters to your mapping using the MAPPING INPUT PARAMETER from the pallette.
    2. Add parameters to the START operator in the process flow. Bind the process flow parameter to the Mapping parameter.
    3. May be appropriate to use CONSTANTS instead of parameters.
    Regards
    Si

  • How to combine text with variable in process flow

    Hi,
    I have created a function that returns the environment that a process flow is running in, Production, Test or Development. I have been able to bind the output of the function into a variable in a process flow and bind the variable to the subject of an email activity. I'd like to go one step more and combine the value of the variable with some text to explain which step in the process flow generated the email. Is there a way to concatenate text to a variable or to add an OWB system variable? I've seen an example where the subject of the email is
    "Failed mapping <mapping name>"
    but I want my subject to be "PROD Failed mapping <mapping name>" where the "PROD" is from a process flow variable or function return value.
    Is this possible?
    Thanks
    Don Keyes

    Hi Don,
    you can perform this task with ASSIGN activity.
    For example, you have two variable V_ENV_TYPE (with type of environment) and V_TEXT ("Failed mapping <mapping name>"). Define additinal variable V_NEW_TEXT, bind Variable parameter of Assign activity to V_NEW_TEXT variable and define value in Assign activity as
    V_ENV_TYPE || ' ' || V_TEXTRegards,
    Oleg

  • Process flow variable question

    I have created a variable in process flow and want that variable to have a variable of
    TO_CHAR(SYSDATE,'YYYYMMDD')
    I put the above line in the value but it does not work. If I put the hard code value in the variable as 20090724 it works. I am using this variable in a while loop condition.
    Any ideas.
    Thanks

    For the variable, do you have the Literal property set to false when you define the initial value?
    Also is the OWF schema you are deploying the process flow to a target OWB user? It has to be in order for the variable expression to be evaluated correctly.
    Cheers
    David

  • Loop-Construct in Process Flow

    Hi,
    there are new constructs in OWB 10g Release2 in process editor.
    Just try to create a process flow with one mapping and a For-Loop-Construct but it does'nt work. Is there anybody use this feature?
    I don't know, what fill into initial value, next value etc.
    Thanks a lot
    Conny

    you can have global variables in process flow.
    highlight the start activity.then in bottom left panel add parameters and their type. these need to be passed runtime. these will be global variables to the processflow.
    hope this helps
    thanks,
    kamal

  • 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

  • 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

  • Using Process Flow variable on sqlplus activity

    Hellow all,
    I´m trying to use a OWB 10gR2 variable (called LAST_RUN) as an input to a Sqlplus activity.
    I tried using PARAMETERS_LIST and binding the variable; created a new parameters; but i was not succesful.
    The script of the SQLPLUS activity is something like:
    SELECT COUNT(1) from T_ACTIVITIES WHERE LAST_UPDATE >= :LAST_RUN;
    EXIT;
    Where LAST_RUN is my process flow variable.
    How do i call a process flow variable inside the sqlplus script?
    thanks,

    Hi,
    I too had faced this problem earlier, it remember we passed a inut parameter to the script like @scriptname input_param1,input_param_2,input_param3 etc.
    however we later had faced few other problems while implementing sql plus acctivity. so we chose to write a stored procedure having all the logic of sql activity and called it from process flow.

  • How to use substitution variables in sqlplus activity of process flow

    I have a process flow that does nothing more than create a couple of packages that I cannot successfully deploy from OWB. A workaround, not something that I want to do, but currently there is not much time to adjust the packages so they can be deployed from OWB.
    I can successfully create the packages from files that are present in a directory on the server. But the location (directory) is not the same in all cases (OTAP). So I thought to use an input parameter to the process flow (named TELLINGEN) and use that in the sqlplus activity.
    I have created the parameter START_PATH with a default value.
    I have added an sqlplus activity and placed the following into the PARAMETER_LIST variable of the activity:
    ?${Target.ConnectString}?@${TELLINGEN.START_PATH}/npl_dbug.pkg?
    When I run the process flow I see the following in the output:
    SQL*Plus: Release 10.2.0.3.0 - Production on Tue Mar 18 18:10:14 2008
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SP2-0310: unable to open file "${TELLINGEN.START_PATH}/npl_dbug.pkg"
    SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release
    10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    It obviously connects to sqlplus but then cannot find the file. Presumably because the variable has not been substituted.
    How can I persuade the activity to substitute the variable?
    Kind regards,
    Eric.

    Have been reading around a bit and found the (a) solution:
    I placed the following in PARAMETERLIST:
    ?${Target.ConnectString}?@${Working.RootPath}/base64.sql?
    And it turns out ${Working.RootPath} is pointing to the location you can provide under the configure for the sqlplus activity in the process flow. Just as you have to provide the target destination as indicated here: Re: SQLPLUS Activity in Process Flow
    From the documentation it was not immediately clear to me where Working.RootPath was pointing to.

  • Using bind variables in on-demand process

    Are bind variables referring to session state items supported in queries in an on-demand application process?
    All the examples I see show how to pass client side values using the $v() function and the addParam method of the htmldb_get object and refer to them using the wwv_flow.g_xNN variables but for values already available in session state, I should be able to use them directly in the process, right?
    Thanks

    Yes, they are supported.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Mapping parameters binding gets removed in process flow

    Hi All,
    whenever i import a mdl file from development to production
    parameters binding of few mappings and pprocedures in process flow get removed automatically.
    for example Map1 in PF1 has input parameter p1 binding set to Pf.p1.
    this binding is getting automatically removed when i import the mdl file from development to production.
    I am in big trouble bcz of it.
    could anyone plz help.
    Thanks in anticipation,
    RD_RBS

    This also happend to us when we moved from dev to prod. We really didn't find any good way to bypass this but just rather enter the binding values again manually. You might wanna check a few other things that got lost during the move. Such as DB Link(DB Connections on stage tables) and Outgoing Transitions in the process flows.

  • OWB embeded process flow - parameter binding problem

    I've installed and Oracle 10g Database, after the database installation I added the Oracle Workflow server software. To complete the installation I ran the wfca.
    Later I get to define a process flow in OWB (cheesy) and the process flow seems to be working well (I've done all the registrations necesary also ), but when I am trying to do the parameter binding is not working. I do get the window prompt for the parameter and I enter the date parameter ( I tried different formats like 'YYYY/MM/DD' 'dd-mon-yyyy'), but after I check the runtime in the web browser the parameter is not pass to next process. I tried many things for the last week but I cannot get it to pass the parameter from one process to another.
    Any ideas,
    HELP !!!!!

    did u manage to resolve this issue? we are facing the same problem.

  • OWB 11g  Process Flow - How to see variables and how to create variables

    Dear All,
    I have recently migrated from 10g to 11g rel 2.
    In 10g when I open a proces flow I can see all the parameters and variables I created on each activities on "Explorer" window. this allows me to craete new parameters and variables as well.
    But ones after I migrated to 11g, I cant see explorer window and there is no place to enable it as well.
    How Can I create variables, parameters in processes flow on 11g?
    Thanks in advance.
    Alex

    Hi,
    In 11g "Explorer" window renamed as "Stucture" and same details as 10g shows in Structure window. This window can enable and dissable (Show and Hide) using Menu => View=> Stuture option.
    Thanks

  • Bind Parameters Process Flow ...

    Hi,
    Require to create a Process Flow through OMB+, and then bind some parameters for transformation to paramters defined against Start activity.
    The Process Flow creation is complete, but am not finding a way to bind the parameters. Can anybody share the code.
    Documentation is not very helpful.
    - Jojo

    Aha! It was the Parameters I hadn't got figured out.
    Thanks a lot!
    --Mike                                                                                                                                                                                   

  • Process Flow: variable checking/email parameters

    I'm new to using process flows and it seems to me that I want to something very simple.
    I've created a boolean variable VAR1 (default is FALSE) which I want to assign depending on warning/failure of 2 mappings (not sure if using a variable is the correct way to go).
    So in my process flow, I call MAPPING1. On success, it calls MAPPING2.
    To bring more into it, if MAPPING1 produces a warning or error, then through an 'assign' activity (I think it should be an assign activity), VAR1 is set to TRUE.
    It returns back to process MAPPING2 (this same error handling occurs for MAPPING2).
    At the end, a CHECK on VAR1 needs to be performed.
    If VAR1=FALSE then end (success!).
    If VAR1=TRUE then call a function to grab the audit records for the error, and send an email, then end.
    My problems are
    (1)what activity in the pallete should I use for CHECK (which checks whether VAR1 is true/false)?
    (2)how do I read the VAR1 variable... I've been experimenting a whole load but nothing!
    (3)if VAR1 is TRUE and calls the function, how does the email activity receive the output from the function? (I've managed to get email working ..hurrrahh!)
    Thanks for any help... much appreciated
    Ansel

    Hi,
    Have you tried using conditions on your transitions?
    You can have in total three different endings to your process flow, end_success(in the process flow by default), end_warning and end_error. If you also include to 'or' operators in your processflow you can use these to collect the warning transitions,and between the or operator and the end operator you can put your email activities without having to use a if statement.
    Ragnar

Maybe you are looking for

  • Toolbar in Acrobat 3d Extended cannot be hidden!

    hello, I have the problem that the toolbar in the 3d pdf is always present. I cannot hide it though i made the a deactivation in the setup. In Acrobat 3d 8 it works but not in the new extended 9 version. It would be great if the Adobe employyes could

  • Time import format problem

    Greetings All, I am attempting to import a tab delimited file that has time in a 24 hour format. When I import the file the times are automatically converted to an AM / PM format. How do I stop this? TIA

  • Drop Box Function

    I'm a little confused about how the drop box feature works. My understanding of the drop box feature is that students are able to place their own work in the drop box for the instructor to review. A key component of this feature is the idea that the

  • How to fetch data in JTable

    I wanna know how to display the data returned from the database in a Table. I am providing the code in which i am unable to display the data in a Table. <HTML> <Applet Code="SQLWithTable.class" width=600 height=600> </Applet> </HTML> import javax.swi

  • Index reoraganition in sap ecc6

    hi gurus hello please  say me that in sap ecc6 index are reoraganize is automatic or manuley, if it manualy please say a tcode to reoragenize index and also say which tcode or how we found a index is need to re-oraganize i am wating your replay from