Can we run process-flow from outside OWB

Hi All,
I am scheduling my process-flows daily in night. If any process-flow fails, they will rectify the problems and they want to run the process flow manually, outside own, like SQL.
Regards,
Kumar.

Hi Detlef,
I tried to execute the following, I dint get any response and the sqlplus closed automatically. When I saw the execution details no executing had taken palce. And even I tried to execute the command by commenting the exit in the script.
sqlplus RA_OWB1/RA_OWB1@RADEV1 @C:\OraHome_1\owb\rtp\sql\sqlplus_exec_template.sql RA_OWB1 PlatformSchema ProcessFlow SAI_PF "," ","
Is there any external (oracle function), so that I can pass any number of Process-flows as parameters for execution. Client will create a form with a list of check boxes and execute button. when the user selects the check boxes according to his rerquirements and click execute. then all the process-flows should run.
Regards,
Kumar.

Similar Messages

  • Running process flow from sqlplus

    hi everyone,
    using sqlplus_exec_template.sql to run process flow.
    but message keeps appearing that task is not found
    I have an oracle workflow repository on another server.
    what should I use as parameters?
    for example location name?
    thank you
    owen veeneman

    Hi
    If you can create the Process Flow code, you can deploy and execute from SQLPLUS as follows.
    1. First you have to compile the package from SQLPLUS into you target get schema. For example. SQL>@c:\package.pls.
    2. Then find out the prarmeter from function main of the package. Write a simple code as follows and run it from SQL. Just substitute whatever applicable to you.
    declare
    V_PROCESS_CODE           VARCHAR2(10);
    V_FREQUENCY_CODE     VARCHAR2(1);
    V_RETCODE                NUMBER(10);
    V_WB_RT                WB_RT_MAPAUDIT.WB_RT_NAME_VALUES;
    begin
    V_PROCESS_CODE := 'CF_SUMM’;
    V_FREQUENCY_CODE := 'D';
    v_retcode := DM_CASHFLOW_SUMM_MAP.main(V_PROCESS_CODE, V_FREQUENCY_CODE, V_WB_RT);
    dbms_output.put_line(v_retcode || ' Retcode.');
    end;

  • Problem Running Process Flow When Database Objects Deployed Outside of OWB

    Hi
    I am having a few problems running process flows that I'm deploying through OMB.
    My set up is as follows:
    All database updates are done outside of OWB (for version control purposes).
    Each object within OWB is exported to an MDL file, which is then imported into the production repository using an OMB Script.
    Once everything has been imported into my production version, I'm then deploying the process flows from within the OMB script.
    When I then go to run the process flow, I get the following error ...
    RPE-02075: Oracle Workflow failed to process the execution request for Activity LOAD_COUNTRY_PF:LOAD_COUNTRY. This may be because dependent objects have not yet been deployed.
    I can see through the Control Center, that the status of all the objects that the process flow is going to use are set to having a Design Status of 'New'. So obviously OWB doesn't realize that these objects already exist in the database, which is why the process flow errors.
    Is there any way around this? Can I somehow set the Design Status of all the objects to 'Unchanged' through OMB? Is there a way to fool the process flow into thinking that the objects do exist? Can I run the process flow outside of OWB?
    Any help would be appreciated.
    Thanks
    Liffey

    Hi Liffey,
    Is there any way around this?
    Can I somehow set the Design Status of all the objects to 'Unchanged' through OMB?
    Is there a way to fool the process flow into thinking that the objects do exist?of course you must deploy mappings before deploying processflow
    and as I know there is no legal method for avoiding this.
    Regards,
    Oleg
    PS. Look at this thread [Deploying without Deploy|http://forums.oracle.com/forums/thread.jspa?messageID=2655726&#2655726]
    It seems for OWB10gR1 exists method for manual modification OWB runtime repository tables for mark mappings as deployed

  • Error when running the OWB process flow from the shell script

    Hi,
    I am able to deploy the process flow succesfully but when I execute the process flow from the shell script,I am getting the following error.Previously it worked fine.
    I had to make some chnage in the IP address,so i had to deploy again.
    Connected.
    SQL> @/oracle/product/owb92028/owb/rtp/sql/oem_exec_template.sql OWB_RTR LOC_P_REL PROCESS P_W_SOURCE "," ","
    Elapsed: 00:00:00.00
    Elapsed: 00:00:00.01
    Stage 1: Decoding Parameters
    | location_name=LOC_P_REL
    | task_type=ProcessFlow
    | task_name=P_W_SOURCE
    Stage 2: Opening Task
    declare
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 17
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 137
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 164
    ORA-06512: at line 205
    Thanks in advance.
    Vinay

    Hi Kamal and kanakam kolla,
    This is just to let you know that,I solved my problem little differently by creating a new location and deployed the process flow.Now my process flow is working fine when i call from the shell script.What i see is that, it does not update properly when we update and redeploy the process flow.So far this is the work arround i could think off and i succesfully tested this.
    Thank you Kamal and kanakam kolla,for giving a thought towards my problem.
    Thanks
    Vinay

  • Error while importing process flow mdls in OWB 11.2.0.3

    Hi All,
    I am facing below error while importing process flow mdls in OWB 11.2.0.3:
      ERROR
      Informational: MDL1328: PROJECT MTH not imported since the object in MDL file
      is the same as the object in the workspace.
      Error at line 11: MDL1261: Error importing PROCESS_FLOW_MODULE MTH.MTH_PF.
      Detailed Error Message:
      MDL1409: Cannot import PROCESS_FLOW_MODULE with physical name <MTH_PF>
      because a PROCESS_FLOW_MODULE <MTH_PF> with the same physical name already
      exists.
    Can someone please let me know on how this can be resolved.
    Thanks in Advance.

    the first information warning message is ok, the 2nd ones should be gone if you use the replace mode
    OMBIMPORT FROM MDL_FILE 'pfm_mod.mdl' USE REPLACE_MODE  MATCH_BY NAMES
    let me know if that fix it

  • Error time of running process flow.

    Hi All,
    I am new to datawarehousing . I have installed 11gR2 on linux machine without any error .
    Now i have imported all object of ocdm_sys and ocdm_sample_sys .Now when i am trying to start the process flow .
    Its throwing me error RTC-5190 There is no location associate with current module operation abandon .
    Can u please tell also the steps to running the ETL process . I am trying using ocdm_sample_sys user with all sample data.
    Please tell me the steps i need to do after installation to run ETL process also like any changes need to be done.?
    At the time of workflow creation i got this error is that above error related to this ..
    WorkflowCA: Workflow component container deployed in OC4J: /u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -Doc4j.autoUnpackLockCount=-1 -Doracle.security.jazn.config=/u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_Workflow_Component_Container/config/jazn.xml -Djava.security.properties=/u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/config/jazn.security.props -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/oc4j.jar -userThreads -config /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_Workflow_Component_Container/config/server.xml
    WorkflowCA: Executing :/u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/admin.jar ormi://v-agilent29:6041 oc4jadmin welcome -application WFALSNRSVCApp -testDataSource -location jdbc/WorkflowDS -username OWF_MGR
    WorkflowCA: :nullError: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused for app:WFALSNRSVCApp
    WorkflowCA: Executing: /u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/admin.jar ormi://v-agilent29:6041 oc4jadmin welcome -application WFALSNRSVCApp -installDataSource -url jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=v-agilent29)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ocdm))) -username OWF_MGR -password ->pwForOwfMgr -className com.evermind.sql.DriverManagerDataSource -location jdbc/WorkflowDS -xaLocation jdbc/xa/WorkflowDS -ejbLocation jdbc/WorkflowDS -connectionDriver oracle.jdbc.driver.OracleDriver
    WFCA OUT: Error: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused
    WorkflowCA: Exit Val: 2
    WorkflowCA: Created a redirected data source with application WFALSNRSVCApp :
    WorkflowCA: Executing :/u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/admin.jar ormi://v-agilent29:6041 oc4jadmin welcome -application WFMLRSVCApp -testDataSource -location jdbc/WorkflowDS -username OWF_MGR
    WorkflowCA: :nullError: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused for app:WFMLRSVCApp
    WorkflowCA: Executing: /u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/admin.jar ormi://v-agilent29:6041 oc4jadmin welcome -application WFMLRSVCApp -installDataSource -url jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=v-agilent29)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ocdm))) -username OWF_MGR -password ->pwForOwfMgr -className com.evermind.sql.DriverManagerDataSource -location jdbc/WorkflowDS -xaLocation jdbc/xa/WorkflowDS -ejbLocation jdbc/WorkflowDS -connectionDriver oracle.jdbc.driver.OracleDriver
    WFCA OUT: Error: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused
    WorkflowCA: Exit Val: 2
    WorkflowCA: Created a redirected data source with application WFMLRSVCApp :
    WorkflowCA: Executing: /u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -Djava.security.properties=/u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/config/jazn.security.props -Doracle.security.jazn.config=/u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_Workflow_Component_Container/config/jazn.xml -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/jazn.jar -user oc4jadmin -password welcome -adduser jazn.com pwForOwfMgr <WFCA WF PASSWORD>
    The specified user already exists in the system.
    WorkflowCA: Created obfusticated password for redirect datasource:
    WorkflowCA: Executing: /u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/admin.jar ormi://v-agilent29:6041 oc4jadmin welcome -shutdown
    WFCA OUT: Error: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused
    WorkflowCA: Exit Val: 2
    WorkflowCA: Executed OC4J Admin script to shut down the OC4J instance :
    WorkflowCA: Mon Jun 21 18:03:30 IST 2010
    WorkflowCA: Workflow Configuration has completed with error.
    WorkflowCA: Terminating...
    I drop the owf_mgr schema 3 4 times and tried it but still i am getting the error.

    Hi
    If you check out the post here you will see the script sqlplus_exec_template.sql mentioned, this can be used to execute mappings and process flows from the command like;
    http://blogs.oracle.com/warehousebuilder/2008/11/using_3rd_party_schedulers_with_owb_1.html
    Cheers
    David

  • 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

  • How can i run unix script from my apex page

    how can i run unix script from my apex page and take the output of unix script as a hidden variable and display it on the report region of that page

    I had a requirement to run a Fortran program against some data that woudl be extracted from the database after the user set up their filtering criteria and made some additional input. SInce the program was to complex to conver to PL/SQL, we decided to try and invoke it from Apex. This is how I did it.
    1. I followed the steps in Tim Archer's excellent article "Oracle External Procedure to Run Host Commands" (http://www.timarcher.com/?q=node/9). If the link does nto work, google the article's title.
    Using this steps I created a function which accepts any OS command, including calling my own shell scripts, and runs them. I called my PL/SQL function "shell" instead of "USF_RUN_HOST_CMD " as Tim did in his example (step 9).
    2. In Apex,
    a. I created a button to run my shell command. (I named it P2_RUN_SHELL)
    b. I created a PL/SQL process whose source looks as follows:
    shell('/home/ackness/scripts/cr_xcf_file.sh > /tmp/cr_scfp_file.log');
    and which was conditioned on the the button P2_RUN_SHELL.
    It works like a charm.
    Note: since you can run your own scripts using this method, you can encapsulate a series of commands in a UNIX shell script and invoke that script from Apex. This allows you to be able to test or run you commands from the command line as well as Apex and makes it easier to develop/debug/enhance the scripts in the future.
    Ackness

  • Is it possible to run process chain from the certain process/point?

    Hello
    Is it possible to run process chain from the certain process?
    How?
    Thanks

    Hello,
    yes it possible! use the following steps.
    1. Goto the process which you want the chain to start from.Goto display messages>> Chain tab. In the generated instance note the variant and instance.
    2. Goto table RSPROCESSLOG and give variant and instance and get logid details.
    3. t codese37>> run FM RSPROCESSFINISH.
    4. give the deatils u have got in RSPROCESSLOG table here and say execute.
    This will solve ur problem.
    Hope this helps!
    Reg
    Deepmala

  • Can you run Hardware Test from older DVD?

    Hello,
    My mini2,1 came with OS 10.4. I have the two original system discs. SInce I bought it right before 10.5 was released, Apple sent me a single Leopard Upgrade disc. Does anyone know if the Apple Hardware Test is on the 10.5 upgrade disc? If it isn't, can I run the test from Disc 1 of the original 10.4 DVD's even though the mini is now running 10.5?
    Thanks in advance.

    Excellent. I found the hardware test on the original 10.4 OS X Install Disc 1. Glad to know that the test on the DVD is for my specific computer hardware, and that the current OS on that machine does not matter.This was not clear to me and I could not find an answer on Apple's help pages. And that explains why the hardware test isn't on the 10.5 upgrade DVD.
    Thanks BD and Niel.
    Dr. Rock

  • How can I buy subtitled movies from outside the US?

    how can I buy subtitled movies from outside the US?

    People here are users, you need to contact Apple Inc. by phone and see if you can resolve this problem.
    http://support.apple.com/kb/he57

  • Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro?  All my apps I was used in my iPad, thanks guys!!!!

    Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro?  All my apps I was used in my iPad, thanks guys!!!!

    The Mac OS X and iOS versions are separate products

  • Can an American use iTunes from outside the US to download movies?

    Can an American use iTunes from outside the US to download movies?  The Terms & Conditions that just popped up as I was going to download a movie seems to indicate "no."  So Americans traveling abroad are out of luck?

    You can only use the Store for the country that reflects your billing address. This applies worlwide, not just to Americans.

  • Can you run programs from time capsule? IE can I run microsoft office from it?

    can you run programs from time capsule? IE can I run microsoft office from it?

    Yes, probably can.. but it won't be fast. You are better storing programs locally and data remotely.

  • Can I Re-process Idoc from status 68 to any other status?

    Can I re-process Idoc from status 68 to any other possible status?

    Hi,
    You can use this standard program RC1_IDOC_SET_STATUS to change IDoc status 68 to another status.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

Maybe you are looking for

  • Downloaded pdf files open in wordpad and cant be read

    after downloading some files they open up in wordpad and cant be read.they appear as some kind of code.this happens with both text and photo files.i cant seem to find another application to try open them in.  This question was solved. View Solution.

  • How to get total of ROW in the UDF defined in header

    How would we calculate the TOTAL of a COLUMN at a ROW level and get it into UDF at Header level before saving......... Please need the Query urgently.......... Ex There are 90 items entered into GRPO and now i need to calculate the total of BED, Cess

  • Weblogic throws NullPointerException when using ServiceControl.setTimeout

    We are invoking a SOAP service via a com.bea.control.ServiceControl that was generated from a WSDL (right click WSDL, Generate Service Control) using Weblogic 8.1.6. SOAP service execution is successful using an http and https endpoint. However, when

  • Seeing a lot more app crashes since upgrading t4.2.1?

    I have been seeing a lot more apps just quit without explanation since the upgrade. Interestingly enough, most of them are apps that I acquired after upgrading iOS and they are supposedly tested and compatible with 4.2.1. Anyone else having this prob

  • Safari Display

    In Safari, is there a way to change displaying two page continuous (side by side) to single page continuous when reviewing multiple pages in a website?