Calling process flow / mapping from comand line on client machine?

Looking to call a process flow / mapping from a commad line on the client machine. Online research has found some attempts at it, but nothing solid. I'd like to test this functionality so that I can eventually build these calls into a wrapper used by an enterprise scheduler.
Thanks

what oleg2 is writins is oke but I think
it is easier to write you one wrap around this sql-call, because then you have to parse some parameters and do other additional stuff
PROCEDURE "P_EXECUTE_WORKFLOW"("P_WORKSPACE" IN VARCHAR2, "P_LOCATION_NAME" IN VARCHAR2, "P_WORKFLOW_NAME" IN VARCHAR2, "P_CUSTOM_PARAMS" IN VARCHAR2 DEFAULT '","', "P_SYSTEM_PARAMS" IN VARCHAR2 DEFAULT '","') ;

Similar Messages

  • Function to call Process-flows/mapping from SQL

    Hi All,
    Can any one of you send me the function to call process-flows/mappings (eg: I have 10 mapping/Process-flows). It is an urgent requirement pending in my final testing.
    Plz help me in this regard.
    Regards

    Hi
    All information that you need, you can find in $ORACLE_HOME/owb/rtp/sql/. BAsically all executions in owb is called through wb_rt_api_exec package.
    for example:
    declare
         variable exec_return_code number;
         procesflow varchar2(255);
    plsqlname varchar2(255);
    begin
    -- Initialize Return Code
    exec_return_code := owbrt_sys.wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    procesflow:='WF_X1';
    plsqlname:='MP_X1'
    exec_return_code := owbrt_sys.wb_rt_api_exec.run_task('OWF_LCTN','PROCESS',procesflow, ' ' );
    if exec_return_code = 1 then
    exec_return_code := owbrt_sys.wb_rt_api_exec.run_task('STAGE_LCTN','PLSQL',plsqlname, ' ' );
    end if;
    end;
    Regards

  • Calling Process Order API from SOA BPEL

    Hi. It's been from weeks and weeks to months and months since i am trying to call process order api from soa bpel to generate sale order header. Passing org_id, responsibility and username to invoke activity. the response i am getting from Oracle Applications Adapter is
    <X_RETURN_STATUS>U</X_RETURN_STATUS>
    <X_MSG_COUNT>2</X_MSG_COUNT>
    <X_MSG_DATA  xsi:nil="true"/>
    Can anybody help me here? do anybody know what's going on?

    The best way to deal this would be to first call the Order API standalone with the same input which you are using from BPEL process.
    You can test Order API from Toad or any other PL/SQL tool and see if it returns the same response. Else write out the exact steps how you are trying to call the API.

  • Sequence in process flow (output from mapping)

    I have a mapping where I am using sequence operator and creating a record in the target table I need to pass this variable out of the mapping and as input to another mapping. I am not able to pass the sequence out of the mapping. How can we assign values to mapping output variables however I do it it says you cannot assign variables to output parameters from the mapping it says.
    mapping input parameter and mapping output parameter are intended to be executed before and after the data flow of the mapping and cannopt accept inputs from any part of the data flow.
    Any ideas as to how this can be done.
    Can a pluggable mapping be called in a process flow.
    Thanks
    Edited by: user8023060 on Jun 23, 2009 6:08 AM

    Hi,
    write a plsql-function that executes returns seq_XXX.currval (or, to be on the safe side, select the value from your table).
    Assign that value to an output attribute.
    And no, pluggable mappings can just be included from other mappings, there is no way to execute them directly.
    Regards,
    Carsten.

  • Process flow/map performance issues

    We have some issues with our OWB-based application and we're looking to find out if there are different ways we could be using the tool, or features/options we've missed.
    We are trying to maintain a near real time feed of data from a front end system into our warehouse which was built using OWB 10.2.0.3 over a 10.2.0.4 database. The bulk of the application consists of OWB maps with a few hand-written PL/SQL objects, all executed in a series of hierachical OWB process flows. Maps/transformations are executed either sequentially or in parallel where the referential integrity of the model allows.
    The problem is that we have around 150 tables in the datamart which could potentially require updating on each refresh cycle, although in practice only a few tables have any activity on a typical refresh cycle. The cycle consists of loading data into a set of staging tables, and from there the data is transformed into the main schema, often with multiple maps per target table.
    On every cycle we run hundreds of maps, the vast majority of which process zero rows. Each map runs quickly and efficiently in its own right but collectively they add up to a 5 - 10 min cycle even if there is no data to process.
    There are 2 avenues which we'd like to explore and would be grateful if anyone could provide any pointers/suggestions :-
    1) It appears that each map opens and closes its own database session when it executes. I presume this was done because a single process flow could be constructed with maps executing in different target schemas, but we know that's not the case for us. We'd like to know if there is anyway to configure the database connection at a higher level (eg. process flow) so it opens a connection once and executes each of the maps (database packages) in that one session.
    Our DBAs are experimenting with 'shared server' settings at a database level which may help to some degree but won't be the whole story.
    2) Another option is simply to run less maps eg. load the staging area as now, collate stats on which staging tables contain new data, and then apply some logic such that subsequent maps only execute if the relevant staging table(s) contain(s) some new data, otherwise bypass that map.
    We tried experimenting with the 'Pre Mapping Process' operator, but essentially that just generates another function call from the map package, so we still have the overhead of opening a database session for each map to run the package. Minimal gain.
    We thought about adding a function call in the process flow before each map and then branching to either execute/bypass the map as approriate, but the function call still requires opening/closing of a database session each time so, once again, minimal gain.
    What we really want is some way for a map or process flow to check without logging onto the database repeatedly.
    Any ideas on the above, or other potential solutions anyone could suggest, would be greatly appreciated.

    Hi,
    Please see if these documents help.
    Note: 554635.1 - Create Accounting Process Performs Poorly When 100K + Distributions are Passed for an Event
    Note: 954273.1 - Multiple Create Accounting Requests Result In Poor Performance For Online Accruals
    Note: 763500.1 - R12: Performance Issue with Create Accounting
    Note: 733637.1 - R12:Performance Issue When Running Accounting Program Xlaaccup
    Note: 781311.1 - Create Accounting Process Taking A Long Time To Complete After Appying Critical Patches
    Note: 557869.1 - EBS: R12 Oracle Financials Critical Patches
    Regards,
    Hussein

  • Process Flow - mapping not inserting data

    I have a process flow that executes three mappings in sequence i.e Map1 -> Map2 -> Map3.
    However, sometimes the process flow will execute and no data will be inserted by MAP2, other times it runs ok. If I run the mappings directly data is always inserted.
    The only workaround I've found is to add a WAIT of 10sec between Map1 and Map2 in the process flow.
    Has anyone come across anything like this and how did you work around or fix it?
    OWB 10.2.0.3 btw.
    Cheers
    Si
    PS. transitions are ok.

    Hi
    If you have any map inputs make sure they are also declared in the processflow map - you basicly need to bind them.
    You probably need to investigate from the beginning to understand your result of incoherent data.
    What I would to first is.
    1. Generete an intermediete code - choose your table as outgroup.
    2. Review the code - are there any loading hints ?
    3. Debug the map
    Check your locations.
    If everything seems right then the problem should lay on your workflow manager.
    Remember that the workflow manager has only one namespace, so watchout for mapping name. I had strange executions on my PF because one of my maps had a "½" in the name.
    Check the settings of the map - if you have enterd a set based run in your map and a row based run in the processflow.
    Remember the setting in the processflow is the "superior" one
    Just ideas what you can do.
    Cheers

  • DYNPRO_SEND_IN_BACKGROUND short dump in BW while calling Process chain remotely from APO

    Hi,
    While trying to call a process chain remotely from SCM APO system to SAP BW system - we are getting below short dump -
    Short text
        Screen output without connection to user.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLSDH4" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Checked the RFC connection between APO and BW system through SM59 and it is working fine - Can anyone pease suggest what configuration could be missing which might be causing this short dump.
    Thanks in advance.

    Additinal Data from Log -
    User and Transaction
        Client.............. 200
        User................ "AQ1ALE200"
        Language Key........ "E"
        Transaction......... " "
        Transactions ID..... "53F896E0992E0A50E10080000AF04150"
        Program............. "SAPLSDH4"
        Screen.............. "SAPMSSY1 3004"
        Screen Line......... 2
        Information on caller of Remote Function Call (RFC):
        System.............. "AQ1"
        Database Release.... 701
        Kernel Release...... 720
        Connection Type..... 3 (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
        Call Type........... "synchronous and non-transactional (emode 0, imode 0)"
        Inbound TID.........." "
        Inbound Queue Name..." "
        Outbound TID........." "
        Outbound Queue Name.." "
        Client.............. 200
        User................ "KANDIS"
        Transaction......... "RSPC"
        Call Program........."SAPLRSPC_PROCESSES"
        Function Module..... "RSPC_DESTINATION_F4"
    Call Destination.... "BQ2CLNT200_DIALOG"
    Error analysis
        During background processing, the system attempted to sen
        screen to a user.
        Current screen: "SAPMSSY0 " 0120.
    How to correct the error
        If the error occurred in your own ABAP program or in an SAP
        program you modified, try to remove the error.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DYNPRO_SEND_IN_BACKGROUND" " "
        "SAPLSDH4" or "LSDH4F09"
        "DISPLAY_LIST"
    Information on where terminated
        Termination occurred in the ABAP program "SAPLSDH4" - in "DISPLAY_LIST".
        The main program was "SAPMSSY1 ".
        In the source code you have the termination point in line 2205
        of the (Include) program "LSDH4F09".

  • Calling this simple servlet from command line -- ERRORS!

    Below is my servlet. I call from command line via:
    java BatchServlet
    and I get:
    Exception in thread "main" java.lang.NoClassDefFoundError: BatchServlet
    IS there a reason for this
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class BatchServlet extends HttpServlet implements Runnable{
    static Thread t = null;
    public void init(ServletConfig c) throws ServletException{
    super.init(c);
    if (t==null){
    t = new Thread(this);
    t.start();
    public void run(){
    while (true){
    try{
    Thread.sleep(5000);
    }catch (InterruptedException ie){
    ie.printStackTrace();
    System.out.println("Wake up");

    Same error with this little prog.....
    Notice main method
    package wch.util;
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class test {
    public void main(){
    System.out.println("test");

  • Error when using wb_rt_api_exec.run_task api to call process flow

    Dear All,
    I am using OWBV 10.2.0.3 and currently have some issue with it.
    I have a process flow and I'm executing it using wb_rt_api_exec api.
    When I ran it, that process flow failes with below error messages.
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression null. Please modify the expression, redeploy and retry again.
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-02227: Cannot test Control Center user OWF_MGR. This user must match the login credentials of the evaluation location configured on owning module.
    ORA-01017: invalid username/password; logon denied
    But using same user when I log on to the OWB client I can run that process flow without any error. So it seems to be there is no any sesurity issues too.
    Furthermore I have done below things.
    OWF_MGR (Processflow user), OWB_MGR (repositiry user) and RUNTIMEUSR (user used to run the processflow) all registered under control center.
    There are couple of forum post here. I followed all those and didnt work anything for me.
    Early response highly regards,
    mc
    Edited by: mc**** on Jan 19, 2011 4:13 PM

    Hi,
    look these forum threads {message:id=3140661} and {message:id=2695999}
    I think you need connect with Design Center under user which you used for executing processflow and register workflow location
    Regards,
    Oleg

  • How to call iOS 6 Maps from App

    Hi,
    i am searching around for an answer but could not find one. I want to call ne the Maps app from mit App to show me the possible routes to my target location. Before iOS 6 my call looks like this:
    http://maps.google.com/maps?saddr=37.785834,-122.406417&daddr=49.305500,8.132570
    The Google Maps app open as expected with the possible routes for selection. Now under iOS 6 i changed my call like this:
    maps://q=&saddr=37.785834,-122.406417&daddr=49.305500,8.132570&view=map
    This opens the new Maps app correctly but i get the following error:
    Directions Not Available
    Directions could not be found between these locations.
    Whats the problem? Do i miss something?
    greetings Mike

    Before updating my iPhone the maps were great but with this new OS 6 the maps are not working...is there is anyway we can have the previous maps until they fix the problem?!!!

  • Are there any command line utilities(@client machine)/APIs to initate software installtion from SCCM 2012 application catalog?

    I'm searching for any utilities / APIs available for SCCM 2012 Application catalog, to initiate a Application installation from a Script(From client machine). Got to know there Client programming is possible, but not able to get good examples. Please help
    Regards, Eswar

    Hi,
    Hope the following sample could help you.
    Sample SCCM Application
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Process Composer - Mapping from a unbounded node

    Hello
    I´m following the documentation Workflow Pattern Coverage in SAP NetWeaver BPM 7.11 (http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8026f177-f32f-2c10-b7b0-9cc31d92984d) to create a Process Composer with a "While" Loop.
    According to page 23, I should use 2 variables to call my tasks: the "Batch" and the "Index". According to the document, I should "extract next line item from batch and increment the index". Incrementing the index its easy, I can make a simple data mapping. The problem is that I dont know how to extract a line from batch to call my task with this line.
    I have the following source structure:
    Node (0...n)
       myString (string)
    the target is strucutre:
    inString (string)
    I already tried many expressions but all are invalid:
    Batch/Node[1]/myString
    Batch/Node/myString
    Batch/Node(1)/myString
    How can I map that ?
    Thanks ?

    Hi Kirill
    There is some basic information available at SDN:
    http://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/cea1b4d8-0701-0010-1b89-b4542c524281 [original link is broken]
    Hope this helps for the moment.
    Best regards,
    Martin

  • Call task flow action from dialog

    I want to call an action from task flow when i press OK on my dialog
    it was work when i was calling it after i press on button,

    if i drag task flow in page and add button in this page I can select one of the actions in task flow in the property inspector panel, ACTION filed of this button
    so when i click on this button the browser will to to the destination of the action
    how can i do that if i have dialog instead of button
    and sorry for my bad english

  • SNMP stat isn't updated by Sun WebServer if started from comand line

    Reproduce steps:
    - Configure server instance for SNMP monitoring( from webconsole or server.xml)
    - restart snmp master agent and subagent server
    - start server (/opt/SUNWwbsvr/https-server1/start)
    Server information appears in SNMP start but its status(1.3.6.1.4.1.42.1.60.1.1.8) is always 0.
    Woraround: start/stop sevrer from web admin console
    and it starts to update SNMP start for next command line launches
    Problems appears at
    version: 6.1 SP4
    platforms: Linux RHEL3, AIX.
    (At Window all is fine.)
    I'm wondering if somebody met this problem and perhaps knows the sollution.

    Can you do the following and let us know the result :
    (a) ps -ef | grep httpagt
    (b) send a SIGHUP signal to httpagt process and then try to access after few seconds to see if it updates the status of the server.
    kill -HUP <pid of httpagt>
    (c) Can you see any log in <install_root>https-admserv/logs/log.httpagt ?
    Are you running both instance and admin server as different users?

  • Voice call processing flow (cisco routers)

    Hi,
    i have a doubt regarding to, What is applied first by a router acting as a voice gateway (translation rule?, dial peer?)
    i mean what is the call flow once the call starts to be processed by the router.
    best regards,

    Every CME is an independent system, you can surely steer calls anyway you want them to go via dial-peers, but it may get little challenging for some scenarios.  Is there a reason you do not want to propose centrelized system such as BE6K?
    What is your PSTN connectivity, is it SIP or TDM based i.e. PRI? If the second I dont see any voice cards, also do you have a requirement for any analog devices? If so where are they connected to?
    HTH, please rate all useful posts!
    Chris

Maybe you are looking for

  • How can I place Tagged Text in InDesign

    I use tagged text in the files I place in InDesign. For example, <cn>This is the chapter number <ct>This is the chapter title <cst>This is the chapter subtitle <bt>This is the beginning of the body text <ah>This is an A-level head                 and

  • Multi-monitor support

    I've added a second monitor to my system, to drag some of the proerties boxes out of the way. The boxes will go about half-way onto the second screen then stop. Is there a setting/switch somewhere to allow me to take advantage of both screens while I

  • Steps to create a Repository

    hi there, Can you guide me the steps to create a repository? thanks

  • Add on Development

    hi guys, I develop one add-on using VB.net.When I run the program from VB.net it works fine. But when I make add-on It give the Error. Error :- "Connection String does not match UI Development work mode" When I am trying to create identifier string f

  • Back lighting on early 2008 imac not working

    the top portion of the imac is not lighting up. if i restart or put it to sleep then wake it up the light will be on for about a second or two then it turns off.