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

Similar Messages

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

  • Call a Graphical Calc view with input Parameters from a Script Based Calc View

    Hi All.
    I am trying to call a graphical calculation view with input parameters from a script based calculation view as below but getting syntax error:
    SESSION_SAMPLE = SELECT SESSION_CREATE_DATE,SHA256,CA_MEASURE
                                 FROM "_SYS_BIC"."WILDFIRE/CV_SESSION_SAMPLE"
                                 WITH PARAMETERS  ('PLACEHOLDER' = ('$$IP_START_DATE$$',:START_DATE),
                                     'PLACEHOLDER' = ('$$IP_END_DATE$$',:END_DATE));
    START_DATE  and END_DATE are input parameters of the script based calculation view.
    Can anyone please help me with the correct syntax for accomplishing this?
    Thanks,
    Goutham

    Hi Gautham,
    One more option  what i would like you to try is the below option , here i have just changed the order of passing nothing else.
    SESSION_SAMPLE = SELECT SESSION_CREATE_DATE,SHA256,CA_MEASURE
                                 FROM "_SYS_BIC"."WILDFIRE/CV_SESSION_SAMPLE"
                                   ('PLACEHOLDER' = ('$$IP_END_DATE$$','$$END_DATE$$'),
                                  'PLACEHOLDER' = ('$$IP_START_DATE$$','$$START_DATE$$'))
    Regards,
    Vinoth

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

  • Passing input parameters to the method call in ADF task flow.

    Hi,
    I have the following use case:
    There is a task flow with 2 jspx pages. In the first page I have 2 input search parameters and search button. the search button calls the webservice data control execute (GET_ACCOUNTOperation) method .
    Displaying the search results in the same page is not a problem , but my requirement is that the search results are to be displayed in the second page in tabular form.
    To achieve this, I dragged the execute method as the method call in the task flow and specified the input parameters for the method call (right click and add parameters) . I am getting the following exception :
    javax.el.MethodNotFoundException: Method not found: GET_ACCOUNTOperation.execute(java.lang.String, java.lang.String)
         at com.sun.el.util.ReflectionUtil.getMethod(Unknown Source)
         at com.sun.el.parser.AstValue.getMethodInfo(Unknown Source)
         at com.sun.el.MethodExpressionImpl.getMethodInfo(Unknown Source)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.getReturnType(ELInterfaceImpl.java:214)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:135)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1035)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:921)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:820)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:552)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:148)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    even though the execute method is there and the service is up and running. I am not sure whether its the correct way of doing it. Please shed some light on how to solve this use case
    Some additional info:
    Under the data controls pallete, the GET_ACCOUNTOperation method has a parameters section , which has "part" (java.lang.Object) as
    the input parameter.
    Regards,
    Rampal

    Hi,
    thanks for the quick turn-around. Jdev version that i am using is Studio Edition Version 11.1.1.6.0. And i am using SOAP. Isnt there a way without using a backing bean? I am planning to use it as a portlet. Would'nt creating a backing bean cause a problem in that case?? Also i am confused here . The method that i am dragging is GET_ACCOUNTOperation(Object). I tried passing the hashmap . It gave the following exception :
    javax.el.MethodNotFoundException: Method not found: GET_ACCOUNTOperation.execute(java.util.HashMap)
    Rampal

  • Getting an process-flow audit id in the process flow itself

    Hi,
    I am using OWB 11gR2 and want to capture the audit_id of the process flow itself at the process-flow level.
    I want to use this to pass it tru to the mappings in the process flow.
    I know how to get audit_id when you're in the mapping (get_audit_id), but i want the audit_id of the process flow when i am "inside" the process flow.
    When i have this i can let all of my mappings in the flow receive the same id.
    When i setup a parameter at the process flow and specify get_audit_id there it errors on me.
    Does anybody what to specify here ?

    ok,
    i figured it out myself and answered myself in another thread.
    Basically it goes like this:
    In the master flow you have sub-processflow objects which you want to pass along the audit_id of the master flow.
    So that you can pass along the same audit-id to every mapping in all of the flows.
    But it would be nice to be able to run sub flows independently from the master flows (for testing etc.)but still feed the same id(whatever that is) to the mappings in that process flow.
    And on the lowest level this applies to mappings as well: be able to run a mapping and get a id to store in a field.
    The same applies to feeding a process date to all the mappings in your flows(used for dwh purposes)
    How does this work on the mappings ?
    Create a mapping input parameter, put 2 params in it.
    One date, one number. The date part is easy: just put SYSDATE in it.
    The number part would ideally hold get_audit_id as default value. Unfortunately this generates an error.
    So put default value of 1 here. Create a constant on the mapping with value get_audit_id in it.
    Create expression that tests if input_param has something else than 1 as the value ; if so then there was no audit_id fed into the mapping by a process flow. Make the expression use the constant then. Use the output of the expression in your mapping.
    How does this work in process flows ?
    You'll have two different parts here:
    -feeding from flow to a sub-flow
    -feeding from flow to mapping
    Flow to subflow:
    You can not bind a flowparameter to subprocess paramter so you'll need to create 2 variables.(process date / audit id)
    Create two parameters, one date with sysdate as default, one number with 1 as default.
    Use assign operator to bind audit_id parameter to the audit id variable.
    Use another one to bind to the same variable, but specify parent_audit_id as value instead of binding it to the paramter.
    Use conditonal routing on these two assign operators to have one of these be executed.
    This will ensure that the variabel either gets parent_audit or the value of the input parameter of the flow.
    Use another assign op. to bind the date input to the date variabel.
    Bind the parameters of the sub flows to the variables.
    Flow to mapping:
    Use the same procedure as descibed above. Only difference here is that you can bind a mapping parameter to a parameter.
    This means that you'll don't need the assign stuff for the date parameter since you can bind the date parameter of the mapping to the input parameter of the flow.
    Hope this helps someone ...

  • EMail and SQLPLUS activity in process flow

    Hi Guys,
    I am struggling to get the email activity working. I entered all the details but no email is sent?
    Secondly, I had an easy sql plus script that I pasted into the script property box
    But the sqlplus just does not execute?
    truncate table xxx;
    quit
    Any ideas?

    Make sure there are no spaces after you have replaced DISABLED with NATIVE_JAVA.
    Any space after the NATIVE_JAVA will not work.
    Can you give details like what are you using Script or Parameter list etc ?
    Did you configure the deployed location for the SQLPLus parameter ??
    Regarding Your EMAIL -
    Is your process flow showing any error regarding email ??
    Create a simple process flow with email activity only.
    Set FROM_EMAIL , TO_EMAIL , SUBJECT ,MESSAGE_BODY, SMTP_SERVER , PORT
    SMTP_SERVER and PORT values are very important.
    Check connection to SMTP_SERVER by running the following command on dos prompt
    telnet smtp_server_name port
    If this works this means your smtp server is working. Now just deploy and run your processs flow.
    If it still doen't send you email, check whats in the log.
    The log should give you any errors regarding email like ORA-06512: at "SYS.UTL_TCP", line 17 ,etc (if any).
    Thanks,
    Sam.

  • SQLPLUS Activity in Process Flow

    Hi
    Im Trying to include a sql script thru Process flow using a SQLPLUS Activity
    In the Script, im giving the value as copy command(which im supposed to give)
    before that im giving the specifications as
    /oracle10/bin/sqlplus schema_name/password@DB followed by the copy command...
    While executing am getting the error as
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    Can anyone help on this?
    Regards
    Ela

    Hi all,
    Im trying to include a copy command in my sqlplus activity.
    While execution it throwing the error
    Array fetch/bind size is 15. (arraysize is 15)
    Will commit when done. (copycommit is 0)
    Maximum long size is 80. (long is 80)
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    When I try to run the same copy command from the SQLPLUS, its working fine without any problem....
    Im not able to figure out the reason behind that.
    Suggestions Please
    Thanks in Advance,
    Ela

  • Process Flow Exit Parameters, Possible?

    I want to send through variables from One process to Another within a Process Flow Package, is this possible.
    I'm not able to add EXIT parameters to the END Object through which I can hand over values to the next process, how is this done?

    Sorry, currently it is not possible. In the next release, END activity will support parameters.
    Nikolai Rochnik

  • URGENT:  Cannot perform truncate in SQLPLUS* Activity in process flow

    I try to truncate (as a test for functionality) using an SQLPLUS* Activity inside of my process flow. It hangs and then returns errors when cancelled. Below are the script and error messages. Any help would be greatly appreciated.
    TRUNCATE TABLE UTICA_STAGE.TEST_SQLPLUS_ACT;
    EXIT;
    SP2-0306: Invalid option.
    Usage: CONN(ECT) (logon) (AS SYSDBA)
    where &lt;logon&gt; ::= &lt;username&gt;(/&lt;password&gt;)(@&lt;connect_identifier&gt;) | /
    Enter password:

    user10408896 wrote:
    Fixed the problem myself, I specified a custom connection string. If anyone knows how to use a variable connection string to solve this problem I'll give you pointsbig deal, people dont respond for points as points cant be redeemed..and moreover stop using terms like "URGENT" as we dont care if something is urgent ,if you havent read then please read forum etiqutte.

  • Required input parameters to the servvice - Create Production Confirmation

    Hi,
    What are the mandatory input parameters required to test this service successfully. I have tried the web service with a couple of parameters and was unsuccessful.
    Thanks,
    Ajay.

    Hi,
    I would take a look at the <a href="http://erp.esworkplace.sap.com/sap/bc/bsp/sap/z_gdt_catalog/GDTcatalog.pdf">GDT Description</a> to look at clues on how to do this.
    The problem dealing with testing a particular ES is a known one (at least to me) and I was confronted with it while testing ESs dealing with QualityIssueNotifications. Based on my experience with one ES, I added <a href="https://wiki.sdn.sap.com/wiki/display/ESpackages/FindQualityIssueNotificationProductbyElements">usage notes</a> to help others trying to test this ES.
    I am currently writing a blog dealing with this problem and describing suggestions based on my experiences.  I'll post the link when I publish it.
    By the way, the link you mention is to the EsWorkplace itself. Here is the link to the <a href="https://wiki.sdn.sap.com/wiki/display/ESpackages/ConfirmProductionConfirmation">wiki entry</a> which contains no further details.
    It really involves trial and error to discover the correct input parameters. Try and set certain parts of the ES to null. For example, Message header. This sometimes helps.
    Thanks.
    Dick
    P.S. When you do finally solve the problem, then please post your experience in the wiki. It is only if users publish their knowledge that ESs can be successful.

  • Passing parameters from mapping to mapping with in process flows

    I am new to OWB and i would appreciate if any one can suggest me on how to solve the issue i have.
    I am trying to pass a parameter from one mapping to another mapping.
    ex: key need to be passed
    start ----->A--->B--->C----->END
    B needs to pass the key to mapping C
    In B i have mapping Out put parameter and in C i have a mapping input parameter.
    In process flow palatte i could see Key as OUT and in C properties i could bind it to Key .
    but i try to deploy this mapping i am getting error below
    PF_PKG Create Error
    RPE-02040: Internal error: KEY cannot be converted to a constant value. Please correct the value. If the problem persists then please contact Oracle Support with the stack trace and details on how to reproduce it.
    TEST_PFCreate INFORMATIONAL
    RPE-02071: Deployment has been aborted due to a previously reported critial error.
    please suggest me how to pass parameters between mappings with in a process flow.

    Hi
    You have to use process flow variables. So the output of map A, say parameter P would bind to variable V and then the input of map B, say Q would bind to variable V. In this way you can push parameters from one activity to the other. Although the UI lets you bind B.Q to A.P, it should not, I think there is a bug reported on this.
    Cheers
    David

  • Input parameters from process

    Hi,
    I have a scenario where the user enters the process id as the input and once he submits it
    I have to retrieve the input parameters of that process
    Is it possible to get the input parameters using the GP API
    Please give me a lead on how to achieve this
    Thanks
    Padmaja

    Hi
    You can achieve this using wd api, you need to create the webdynpro application
    IGPProcess process = null;
         String message = "";
         String processName = "Cab Booking Process";
         try {
               IWDClientUser wdUser = WDClientUser.getCurrentUser();
               IUser user = wdUser.getSAPUser();
              // wdComponentAPI.getMessageManager().reportSuccess("current user is : " + user.getFirstName());
               IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(user);//, user.getLocale());
               process =GPProcessFactory.getDesigntimeManager().getActiveTemplate("7031AF6B877511DCBBB60016353AC84F",userContext);
               IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
               IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
               int rolenum = process.getRoleInfoCount();
               //wdComponentAPI.getMessageManager().reportSuccess("dyn user is : " + user.getFirstName());
               IGPProcessRoleInstance roleInstance=null;
               IGPStructure params = null;
              // wdComponentAPI.getMessageManager().reportSuccess("Title is "+ process.getTitle());
    //           if (process.getTitle().equals("Cab Booking Process"))
    //               wdComponentAPI.getMessageManager().reportSuccess("get process instance "user.getFirstName()"  "user.getLastName()rtm.getRunningInstances(0, new Date(2007,1,1), new Date(System.currentTimeMillis()), user));
               try {
                    params = GPStructureFactory.getStructure(process.getInputParameters());
                         if (process.getTitle().equals("Cab Booking Process")) {
                             params.setAttributeValue("RequestId.4",wdContext.currentContextElement().getRequestId());
                             params.setAttributeValue("EmployeeId.4",wdContext.currentContextElement().getEmployeeId());
                             params.setAttributeValue("ApproverId.4",wdContext.nodeZhr_Emp_Sup_Info_Input().nodeOutput_Approver().node_Output().current_OutputElement().getUser_Id());
                             params.setAttributeValue("ApproverName.4",wdContext.nodeZhr_Emp_Sup_Info_Input().nodeOutput_Approver().node_Output().current_OutputElement().getName());
                             params.setAttributeValue("Name.4",wdContext.currentOrg_AssignmentElement().getName());
                             params.setAttributeValue("Grade.4",wdContext.currentOrg_AssignmentElement().getEsubgroup());
                             params.setAttributeValue("Department.4",wdContext.currentOrg_AssignmentElement().getOrgtxt());
                             params.setAttributeValue("PersonalArea.4",wdContext.currentContextElement().getPersonalSubAreaText());
                             params.setAttributeValue("CostCenter.4",wdContext.currentContextElement().getCostCenter_GuestText());
                             //params.setAttributeValue("ActionName.4","Test Cab Request From Reddy");
                             if(wdContext.currentContextElement().getResultState().equalsIgnoreCase("Submit")){
                                  //setting the Action name dynamically(UWL Task Name)
                                  wdContext.currentContextElement().setActionName("Approve Cab Request Of " + wdContext.currentOrg_AssignmentElement().getName());
                                  params.setAttributeValue("ActionName.4", wdContext.currentContextElement().getActionName());
                                  wdComponentAPI.getMessageManager().reportSuccess("Your Request Form has been sumbited for the Approval.");
                                  message = "Your Request has been sumbited for the Approval.\n\tRequest ID : " + wdContext.currentContextElement().getRequestId();
                             } else {
                                  //setting the Action name dynamically(UWL Task Name)
                                  wdContext.currentContextElement().setActionName("Cab Booking Request from " + wdContext.currentOrg_AssignmentElement().getName());
                                  params.setAttributeValue("ActionName.4", wdContext.currentContextElement().getActionName());
                                  params.setAttributeValue("Extra.4",getTravelDeskPortalId());//Travel Desk Id
                                  wdComponentAPI.getMessageManager().reportSuccess("Your Request has been sent to Travel Desk.");
                                  message = "Your Request has been sumbited to the Travel Desk.\n\tRequest ID : " + wdContext.currentContextElement().getRequestId();
                    }catch(Exception e){
                         wdComponentAPI.getMessageManager().reportSuccess("Exception in Parameter Set "+e);
               IGPProcessInstance prInstance = rtm.startProcess(process,processName,"This process has been started using the GP public API",user,roles,params,user);
               catch(Exception e){
                    wdComponentAPI.getMessageManager().reportSuccess("Exception Main Try Block "+e);
               try{
               catch (Exception e){
                   wdComponentAPI.getMessageManager().reportSuccess("Error in Calling Complete" +e.getMessage());

  • 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

  • Problems using user defined activitys in Process Flows

    Hi everybody,
    i have problems using an user defined activity in my owb process flow.
    I did the following according to https://blogs.oracle.com/warehousebuilder/entry/how_to_use_user_defined_activity_in_owb_process_flow.
    1. create a script in /tmp called test.sh
    2. chmod +x on the script so it can be executed
    3. Changed the Runtime.properties file under ORACLE_HOME/owb/bin/admin
    property.RuntimePlatform.0.NativeExecution.FTP.security_constraint = NATIVE_JAVA
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    property.RuntimePlatform.0.NativeExecution.SQLPlus.security_constraint = NATIVE_JAVA
    property.RuntimePlatform.0.NativeExecution.OMBPlus.security_constraint = NATIVE_JAVA
    4. Creating an Process Flow with just the user defined activity
    5. Deploying the Process flow was successfull
    But everytime i execute the pf i get the following error in my Job Details.
    TEST_PF:USER_DEFINED                                        
    Parameters                                                  
    Log file is available. Click Information button to view.                                             
    It says Log file is available. But i can't find this file. Also i don't know what the problem is.
    Can anybody help me out of this?
    Thanks a lot

    Hi,
    solved the problem by myself.
    I had problems with my script. So i insert set -x into the script an executed the pf again. Know i can see whats happening in a log. You can find this log in the job detail window by pressing the blue ! Button when the whole PF (the first entry) is marked.
    Greetings

Maybe you are looking for

  • Show discontuation / Follow-up materials in Purchase Requisition.

    Dear Experts,         How can we show discontinuation & Follow-up materials in Purchase Requisition, just like Planned Order.         Purchaser would like to know what portion of purchase is atributed to follow-up materials.        Anyone good enough

  • Stream music wirelessly from iPhone to MacMini speakers....

    I have my MacMini set up as a media server and play most of my music from there - it connects to two Airport Expresses in other rooms. However, sometimes friends have requested to be able to stream from their iphone itunes library or iphone apps to t

  • Aspect Ratio Trouble

    I recently upgraded to QT 7 (up to 7.0.2) and now my Final Cut Express (2.0.3) produced videos are coming out stretched to a 16:9 ratio vice the 4:3 that they were shot and edited in. It's not happening with all my exported (to QT) videos, but most o

  • N80 button problem

    Does anyone experience this problem in N80? I just got the N80 month ago and everything go fine. Until fews days ago, I just notice that sometime there are some of the buttons in the front peice is not work. I wonder if these is effect from upgrading

  • [SOLVED] Building perl failed cannot load libperl.so

    I'm trying build base packages on another arch (sh4). Is there any tip about this build error? yaourt -SAb perl omit http://archlinuxarm.org/developers/building-packages ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignor