Process Flow and Passing Parameters to Mappings

I am missing something.
I have an Input Parameter on mapping Strategy_Start.
I want to pass a value from my Process Flow to the Mapping Strategy_Start that is in the Process Flow.
I have tried to create a Parameter on the Start that has a Literal value and bind that to the Strategy_Start Mapping.
That didn't work.
I tried to create variable and pass the value to the Strategy_start,
That didn't work, I got an error about binding to a out literal.
What am I missing.
I could not really find steps in Documentation for this.
I am using 11gr1
thanks for any advice or help.
greG

Ok,
For Literal Expressions It was easier than I thought.
In my Process Flow for the mapping that has a parameter,
I just set the value of the Parameter when looking in Explorer.
I thought I had to create a parameter or a variable and then pass that into the value. That is why it was yelling at me about
can't use a constant value as a parameter in value.
If this is not the way let me know, but it appears to be ok now.
thanks
greG

Similar Messages

  • Tools for running process flows and mappings

    The operations/production area is responsible for running process flows and mappings in a day by day base. As developer, I need to implement a solution that allow them run these artifacts. For this purpose, is there any tool apart from Control Center ????
    Thnks

    The scripts you mentioned (sqlplus_exec_background_template.sql and sqlplus_exec_template.sql) can be used for command line execution of mappings.
    We do not run these in Oracle Workflow, as we already have an enterprise scheduling platform, Redwood Cronacle in our case. (Also one finds AppWorx and others in this area, see e.g. http://www.bmc.com/USA/Corporate/attachments/BMC_Article2.pdf)
    Regards, Erik Ykema

  • 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 open a page from a Form and pass parameters to the form on that page

    I found a similar example on this forum, but it did not work for me:
    declare
    l_names owa.vc_arr;
    l_values owa.vc_arr;
    i number;
    begin
    PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
    FOR i in 1..l_names.count
    LOOP
    htp.p(l_names(i) || ' ' || l_values(i));
    END LOOP;
    end;
    By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
    Another method I tried:
    To open a Form from a Form and pass parameters works fine like this:
    --In the After processing page PL/SQL event.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    if v_id > 0 then
    htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
    htp.formSubmit(NULL,'Upload Files');
    htp.formClose;
    end if;
    End;
    But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
    Best regards
    Halvor

    Hi,
    You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
    You can call this code in the success procedure of the calling form.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    v_url varchar2(2000);
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    v_url := <page_url>;
    if v_id > 0 then
    call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
    end if;
    End;
    In the called form in "Before displaying form" plsql section write this code.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'id' then
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_ID',
    p_value => p_arg_values(i)
    end if;
    end loop;
    This code picks up the value from p_arg_values and assigns it to the form field.
    Hope that helps.
    Thanks,
    Sharmila

  • Executing a program and passing parameters using ProcessStartInfo

    I am trying to run an application and pass parameters from within a c# desktop application.  It appears to attempt to execute but it doesn’t run and the exeProcess shows errors in the locals.
    Here is the code:
    ProcessStartInfo startBin2TextApp =
    new
    ProcessStartInfo(strNowRunThis, strDataFile +
    " a");
    startBin2TextApp.CreateNoWindow =
    true;
    startBin2TextApp.UseShellExecute =
    false;          startBin2TextApp.WindowStyle =
    ProcessWindowStyle.Hidden;
    Process exeProcess =
    null;
    exeProcess = Process.Start(startBin2TextApp);
    This is what is in the Arguments when Process.Start(startBin2TextApp) is ready to execute.
    Arguments         "C:\\Users\\10065421\\Documents\\ab\\Working\\Projects\\Panel Explorer\\B640130A.DAT a"             
    After the line is executed, exeProcess shows an error in most of the attributes.  For instance, BasePriority shows “exeProcess.BaePriority” threw an exception of type “System.InvalidOperationException”.
    I ran this from the command prompt so I know it runs on this machine with the same parameters I am using in the code.
    Any ideas?
    Thanks.

    Here is the complete code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.IO;
    using System.Diagnostics;
    using System.Threading.Tasks;
    namespace PanelExplorerV1
        public
    class
    CommonCode
    public
    delegate
    void
    PassStatusBackFunction(string
    msg);
    public
    void RunBinToText(PassStatusBackFunction
    messageCallback)
    try
    string strStartDirectory =
    string strDataPath =
    string strDataFile =
    string strDataFileTitle =
    string strBin2TextPath =
    string strDestinationDirectory;
    string strNowRunThis =
    //int intReturnValue = 0;
                    strStartDirectory =
    Application.StartupPath;
    OpenFileDialog dlgCommonDialog =
    new
    OpenFileDialog();
    //CommonDialog dlgCommonDiaglog = new CommonDialog();
                    dlgCommonDialog.FileName =
    //dlgCommonDialog.CancelError = true;
                    dlgCommonDialog.Filter =
    "Binary Data Files (*.dat)|*.dat|All Files (*.*)|*.*";
                    dlgCommonDialog.ShowDialog();
                    strDataFile = dlgCommonDialog.FileName;
                    strDataFileTitle = dlgCommonDialog.Title;
                    if
    (strDataFile.Length == 0)
    return;
                    strDataPath =
    Path.GetDirectoryName(strDataFile);
    object argumentHolder = 1;
                    messageCallback("Extracting data from
    " + strDataFile +
    "!!!  Please Wait");
                    strBin2TextPath = strStartDirectory +
    "\\" +
    "Bin2Txt.exe";
                    strDestinationDirectory = strDataPath +
    "\\" +
    "Bin2Txt.exe";
                    System.IO.File.Copy(strBin2TextPath,
    strDestinationDirectory);
                    strNowRunThis = strDestinationDirectory;
    ProcessStartInfo startBin2TextApp =
    new
    ProcessStartInfo(strNowRunThis, strDataFile +
    " a");
                    startBin2TextApp.CreateNoWindow =
    true;
                    startBin2TextApp.UseShellExecute =
    false;         
                    startBin2TextApp.WindowStyle =
    ProcessWindowStyle.Hidden;
                    Process
    exeProcess = null;
                    exeProcess =
    Process.Start(startBin2TextApp);
                    messageCallback("Finished Extracting
    data from " + strDataFile);
    return;
    catch (InvalidOperationException
    inEx)
    Console.WriteLine(inEx.Message);

  • Connecting Crystal reports with dashboards and passing parameters

    Hi ,
    Can anyone have any document on Connecting Crystal reports with dashboards and passing parameters.
    I would appreciate for this.
    Thank You.

    Hi Ganesh,
    You can refer the following links for connecting Crystal reports with dashboards:
    Dashboard integration in Crystal Reports using flash variables | Clariba Blog
    https://websmp102.sapag.de/~sapidp/011000358700001426732009E/Xcelsius_EmbeddingInCR2008.pdf
    http://events.asug.com/2012BOUC/0315_Integrating_SAP_Dashboards_into_SAP_Crystal_Reports.pdf
    Regards,
    Renu

  • How to save business processes structure and monitoring parameters?

    Hi dears!
    I've got a little question -is it possible to save business processes structure and monitoring parameters as a local file?
    Thanks in advance!

    One way to resolve this problem is use the method commit_and_refresh as shown below.
       data: lv_dest           type rfcdest.
        cl_hrrcf_m_rfc_services=>commit_and_refresh( lv_dest ).

  • Linking form and report and passing parameters

    Is it possible to call a link with parameter from form to report? Let's say I have a form based on EMP table and when user clicks on DEPT_ID label I want to pass DEPT_ID as a parameter to a report showing detailed information about this department. All my attempts to do it were unsuccessful.
    I've seen many questions like this in this thread and most answers refer to Portal FAQ document but there is NO information there on linking form forms to reports and passing parameters between them.
    Any help will be greatly appreciated!
    Thanks.
    null

    This can be easily done. First open up two instances of your Portal. In one window, you will need to go into your component you wish to link FROM. In the other window you will need to go into your component you wish to link TO. In the component you wish to link TO there will be a moduleid. Note this somewhere. Then, you will see an area that says: "Call Interface: Show". Click on this. (In the window you are linking to.). In this window, you will see a bunch of stuff. At the bottom you will see a URL call. This is the call you need to use. At the top, it explains each piece of the URL call. Just subsitute YOUR appropriate information into the URL call. In the form you wish to link FROM, you will need to create a button. Just click on the green plus sign at the top of the screen (when in edit mode) and then declare it a button by using the Item Type drop down. Once you create this button, it will appear at the bottom, click on it and you will see an area to insert a Javascript. Click the onClick and insert:
    get_field_name = getField(this.form,'COLUMN_NAME_IN_DATABASE');
    window.open('/pls/cc_prod/DAD_NAME.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=MOD_ID_HERE&p_arg_names=_sessionid&p_arg_values=&p_arg_names=COLUMN_NAME_IN_DATABASE&p_arg values='+GETFIELD_NAME+'&p_arg_names=_COLUMN_NAME_IN_DATABASE_cond&p_arg_values=%3D');
    In the fourth tab, where it says, "....before displaying form" insert the following: (This will tell the form how to handle the getField function.)
    htp.p('<script language="JavaScript1.3">
    < !--
    function getField(form,fieldName)
    var objName = "";
    var tmp = "";
    var dAction = "";
    var sel_idx = 0;
    var cnt = 0;
    var instance = 0;
    var slicedName;
    var fillData = new Array();
    for (var i = 0; i < form.length; i++)
    slicedName = form.elements.name.split(".");
    tmp = slicedName[2];
    instance = parseInt(slicedName[3],10);
    if (!tmp)
    continue;
    objName = tmp;
    if (objName == fieldName)
    return form.elements[i].value;
    //-->
    </script>');
    I hope this helps.
    null

  • Scheduling process flows and mappings

    Hello
    I have created many process flows. Now i want to schedule it. I know i can use OEM, but i need to log in as DBA. i also know that you can use owb scheduler module to schedule a process flow. but i want to schedule it using sql plus. i found a link on scheduling process flow in sql plus for older versions of OWB. Can we use the same script for OWB 10.2? here is the link - http://www.dba-oracle.com/oracle_news/2005_7_7_Scheduling_an_OWB.htm
    Please let me know how to schedule a process flow in OWB 10.2 in sql plus. It would be great if you could post the sql script required to schedule OWB 10.2 process flows.
    Thank You

    Hi,
    the web server named by the link is down, so a general answer.
    You can use the scripts sqlplus_exec_template.sql and oem_exec_template.sql from the directory <OWBHOME>/owb/rtp/sql and schedule it with cron or at or scheduler or ...
    Regards
    Detlef

  • Process Flow and Workflow

    Hi experts, does a process flow cannot be used if we dont have oracle workflow?
    If yes, any of you know the alternative ways to run a schedule mapping sequentially?
    Currently i am running schedule from OWB (Control center manager). And i am not satisfied because the lack of Log / information regarding the job execution. Is there a way to get more detail schedule job logs???
    Thank you in advance guys...

    Oracle is pretty smart when it comes to those things, Im sure the table is not lock because one session is DML:ing it and one is querying it. You can get a deadlock when the sessions are trying to DML for the same row, because update/insert/delete is based on row lock, not table lock.
    What you can do to test these kinds of long operation mappings is to generete the intermediate code from the map - open the map editor and click on genereate - choose intermediate from the dropdown list and click on your target table. Copy that code and run it from i.e toad, do the same thing instantly for the other map and you will found out if your sessions are locking each other.
    Because the owb map is bascly configured in a way that it most of it is unnecessery when your are not running it thrue the repository, like I said. Try to run it they way it is - else create a new one by the code generated in the intermediate mapping.
    Cheers

  • OWB Process Flow and Mapping Differences

    IHAC where we have a mapping which produces two different operations depending on how the mapping is called from the Deployment Manager.
    When you call the mapping as an individual job an INSERT is performed.
    However, when the SAME MAPPING is called as part of a process flow a MERGE is performed instead.
    The test data for each case is exactly the same and the result set at the end of the mapping, using either, method is the same.
    Has anyone come across this sort of behaviour before ?
    I would be grateful to know why this is happening and should I be concerned about it given the fact that the outcome is the same in both cases.
    Thanks in advance
    Chris

    Hi Christopher,
    This is funky. I have not seen this before... The only thing I can think of is that in the process flow someone changed the runtime parameters for the mapping, doing a set based execution while the map itself is doing this row based...
    Should not happen otherwise...
    Jean-Pierre

  • Powershell Auto-Elevate (RunAs Administrator) and Pass Parameters

    This is not a question but a comment about passing parameters to an auto-elevated script.  There are many examples out there about how to auto-elevate a script so it is running as Administrator but I could not find any examples about passing the parameters
    from the normal script to the auto-elevated script. 
    I finally figured it out through some trial and error so for those that have been searching for a similar solution, here you go...
    (If this has been posted elsewhere, please let me know because I have not been able to find it anywhere)
    # Check if script is running as Adminstrator and if not use RunAs
    Write-Host "Checking if the script is running as Administrator"
    $IsAdmin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]"Administrator")
    if (-not $IsAdmin){
    Write-Host "The script is NOT running as Administrator, restarting PowerShell as Administrator..."
    $cmd = $MyInvocation.MyCommand.Path + " -Parameter1 $Parameter1 -Parameter2 $Parameter2 -Parameter3 $Parameter3"
    $arguments = "-NoProfile -NoExit -Command ""& {$cmd} """
    Start-Process "$psHome\powershell.exe" -Verb Runas -ArgumentList $arguments -WorkingDirectory $localpath -ErrorAction 'stop'
    Break
    else{
    Write-Host "The script is already running as Administrator"

    Hi Gstrickl,
    Thanks for your sharing, which will help others with the similar issue =)
    Since this thread is not a question, I will change the type to disscussion.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • Calling a function and passing parameters via Variables

    I've got an XML file that is loading in data and is calling functions.
    I've figured out how to call the methods from classes with variables set from the XML file:
    var functionToCall:String = xml.functions.func[0].to_fire.toString();
    myClass[functionToCall]();
    This calls the function perfectly.
    I was wondering if there is anyway to pass parameters into the function as well through variables.  Some functions may have no parameters, some functions could have 5... so the xml could be like this:
    <functions>
       <func>
        <to_fire>function1</to_fire>
        <param>
         <value>true</value>
         <type>Boolean</type> <!-- Must be set to Boolean, String or Number -->
        </param>
       </func>
       <func>
        <to_fire>function2</to_fire>
        <param/>
       </func>
       <func>
        <to_fire>function3</to_fire>
        <param>
         <value>false</value>
         <type>Boolean</type> <!-- Must be set to Boolean, String or Number -->
        </param>
        <param>
         <value>My String Value</value>
         <type>String</type> <!-- Must be set to Boolean, String or Number -->
        </param>
        <param>
         <value>10</value>
         <type>Number</type> <!-- Must be set to Boolean, String or Number -->
        </param>
       </func>
    </functions>
    whats the best way to set something like this up?

    how would I set something like that up?
    in the class:
    public function myFunction(_param1:String, _param2:Number):void {
    then to call it, would ParamTypes be cast as an array or object or something?
    var functionVariable:String = "myFunction";
    myClass[functionVariable](??);
    Or do I structure the XML file in some way to pass in the information?

  • Wesite Login and navigate to reports page and pass parameters to the forms page and download file

    Hello,
    New to C# scripting in SSIS. Everyday I download data file from a website. I need to schedule a page to include a script to auto download from the website everyday by navigation to reports page and submenu for a particular report. After I click it opens
    a webpage where I need to select my criteria and download the file to a table. This is what so far I got
    Object mySSISConnection = Dts.Connections["websiteConnectionManager"].AcquireConnection(null);
    MessageBox.Show("Success")
    I got the success message. After login, I need to navigate to select reports and then from submenu select the everyday report and pass the input parameters to the webpage and download the file and export to a tables. Any help. Not much coding I know. Learning!!
    Any help really appreciate it.
    Thanks
    Jagan

    Whoever instructed you to so is not prudent, once the report definition changed the package will break.
    This is not the proper data interexchange.
    Here is though an example on how to generate a SSRS report and download as a file: http://sandeep-aparajit.blogspot.ca/2010/02/how-to-execute-and-save-ssrs-report.html
    And then to load the file into OLEDB destination http://www.daimto.com/ssis-lesson-2-first-package/
    Arthur
    MyBlog
    Twitter

  • Html:link submit and passing parameters

    I need to submit the form when the <html:link ..... > is clicked/pressed and also need to pass parameters.
    <jsp:useBean id="mapParams" class="java.util.HashMap"/>
    <c:set target="${mapParams}" property="theKey" value="${theValue}"/>
    <c:set target="${mapParams}" property="theKey1" value="${theValue1}"/>
    <html:link href="javascript:document.myform.submit()" name="mapParams" >
    <c:out value="${custItr.empName}"/>
    </html:link>
    When i click on the link getting javascript error which says "syntax error". when I remove the "name" attribute in <html:link> there is no error but I need to have the name attribute to pass the parameters.
    How to do both the submit and passing of parameters using <html:link>? Your help is appreciated.
    Thanks.

    Parameters can only be passed like that to an actual URL. eg http://localhost:8080/myApp/showEmployee?id=123&dept=Sales
    In this case, you are using the link tag to invoke javascript - not a url. URL Parameters don't apply to this string
    If you are indeed submitting a form, I would suggest that you instead go with putting hidden fields on the form to submit the value.
    Use <html:hidden>

Maybe you are looking for

  • Lost Mail on Network User Accounts

    This problem has happened several times and I am pretty sure it relates to using Network User accounts. We're running Tiger server and all user accounts are stored on the server. We are using POP mail that is hosted externally. A user logs in to his

  • Add-in option does not show anywhere in Outlook

    Windows Vista Enterprise SP2 - 64bit : Office Pro 2007 SP2 I have downlaod and installed the add-in (admin priveledges), which seemed to go smoothly. After starting Outlook and going to create a new message, the Add-in does not appear anywhere on the

  • Trouble trying to sync - keeps asking for authorizion

    Trouble with trying to sync my iPhone with iTunes. Keep getting the same authorize message no matter how many times I authorize my computer. It gets to 3 of 7 then hits me with same message. And I still cannot sync my phone.....eerrrrr

  • Error while installing Icloud on PC (Win 8 64bit)

    This is the error I get while trying to install this: http://i.imgur.com/2dcjCb2.png And I just realized that it's in swedish... So I'll translate it somewhat: An error occured while the package "Microsft.VC80/.../amd64" (see picture for the error) w

  • How to download and upload TROY ECF fonts with SAP for check printing

    Can anyone explain how to download and upload TROY ECF fonts with SAP.I have downloaded  ECF font from TROY wesite as TTF format. but it is not getting upload with SAP.please kindly help me on this issue..