Start OWB Process Flow Schedule Job in Workflow Manager

I am trying to get the Oracle Workflow Schedule to execute my Oracle Warehouse Builder (OWB) Process Flow. Please note that execute Process Flow from the OWB deployment manager works fine. I did the following but nothing being executed:
Info:
OWB: 10g
Oracle DB: 10g
Oracle Workflow: 2.6.3
OracelAS: NONE
1. From the Oracle Workflow Manager browser, click the Background Engines->Submit New
2. Insert the following parameter:
Work Item Type: LD_STG
Run Date and Time: 10/18/2004 17:40:00
Run Every: 0 days, 00 hours, 01 minutes, 00 seconds
3. Click ok and system showed "Successfully submitted Background Engine with job number 107"
However, after the specificied schedule time, nothing happened. No error shown in the Work Item.
Any help are greatly appreciated. Thanks.

This is a Oracle Workflow client problem. Can you post this to the workflow forum (Workflow
Regards:
Igor

Similar Messages

  • How to stop OWB Process Flow job

    I have a problem.
    For scheduling OWB Process Flows I use EM (create Job - SQL Script) in which I schedule jobs with script @/home/oracle/scripts/oem_exec_template.sql.
    Sometimes it happens, that the job doesn't finish and I also can't expedite it through Workflow manager because it is not listed there. So next executions for this job doesn't fire, because it is still active (it is shown in EM as Running …..and also I can't stop it there).
    I also can't find the session for this job and also in dictionary I can't find the job, I went through these views, but nowhere I can't find any of my scheduled jobs, and of course also not the ones that are still running.
    DBA_SCHEDULER_JOBS
    DBA_SCHEDULER_RUNNING_JOBS
    DBA_SCHEDULER_JOB_RUN_DETAILS
    Where in dictionary can I find my jobs?
    How can I kill my running jobs?
    OS: Red Hat Linux 3
    DB: 10.1.0.3.0
    OWB: 10.1.0.2.0
    I'm quite desperate about this isue,
    Thank you,
    Gorazd

    Gorazd,
    the best way to identify problem with processflow execution - using OWB Runtime Audit Browser.
    Other variant - using public OWB runtime view, for example for reporting executions of you process run this select under OWB repository owner or any OWB user:
    select created_on,elapse_time,return_result from all_rt_audit_executions
    where object_name='<your processflow name in uppercase>' order by created_on;
    RETURN_RESULT must be equal 'OK' and ELAPSE_TIME (in seconds) greater then 0.
    If this query returns rows with null RETURN_RESULT or RETURN_RESULT<>'OK' or with zero elapse_time and this cases match (by date) with EM problems then you need analyze process executions in more detail with Runtime Audit Browser.
    Alternatively use select from view ALL_RT_AUDIT_EXEC_MESSAGES / ALL_RT_AUDIT_MAP_RUN_ERRORS / ALL_RT_AUDIT_PROC_RUN_ERRORS.
    Oleg

  • Oracle 10G Database Control and Scheduling OWB Process Flow

    Does anyone know how to go about scheduling an OWB Process Flow from
    Oracle 10G Data Base Control. I knew how to do this with Oracle Enterprise Manager 9.2 but we recently upgraded to Oracle Db 10G and the interface has changed significantly.
    Now the interface seems to require a PL/SQL stored procedure to be executed.
    Is there a template procedure that is installed with 10G Data Base Control as there was for 9.2 i.e. oem_exec_template.sql?
    Thanks! Deadline approaching fast...
    Marion

    I've used the oem_exec_template.sql successfully with OWB 10.1 and Oracle 10G Database Control, with a little trial and error at first.
    I'm assuming that your job execution environment is set up correctly, ie. that you can properly execute jobs via the host agent.
    1. Log on to Database Control as SYSTEM, select Jobs from the links at the bottom of the page
    2. In the Results section, Create Job, select "SQL Script" and press Go
    3. In the General section, enter Job Name, and as SQL Script enter e.g.:
    @/u01/app/oracle/owb_oracle_home/owb/rtp/sql/oem_exec_template.sql owb_runtime WF_LOC PROCESS MY_PROCESS , ,
    4. In the Databases section, add your target database
    5. In the Credentials section, I select "Override Preferred Credentials" and use the agent account (oracle on my Linux system) and db user owb_access (OWB Runtime Access user)
    6. Review Schedule tab and submit
    Comments on step 3:
    - the oem_exec_template.sql script must be installed according to the path specified in step 3, on the database host where the OWB Runtime Repository is located
    - owb_runtime is the owner of my OWB Runtime Repository
    - WF_LOC is the name of my Workflow Location as seen in OWB Deployment Manager
    - MY_PROCESS is the name of a deployed Workflow Process
    - the commas indicate that I don't supply any system or custom parameters.
    - step 3 is actually a shell command line that is interpreted by eg. /bin/sh on Unix or cmd on Windows, and must obey proper quoting rules. On windows, I had to specify the empty commas as "\," (including dblquotes)
    Regards, Hans Henrik

  • OWB process flow & Oracle Workflow

    Hi,
    In order to deploy the OWB process flow packages, is it necessary to have Oracle workflow installed on the Target server? When I tried to deploy a process flow package to the target database (10gR2 db), it required a user called owf_mgr. As far I know, owf_mgr is the admin user for workflow. Can this feature work without OWF being installed?
    Thanks for your help
    regards

    You also might be interested in this thread...
    OWB and Work Flow (being dessuported)
    Just in case you are starting an implementation.

  • How to start/stop process flow from sql*plus?

    Hi,
    i know how to start a process flow via sqlplus_exec_template.sql, but i cannot find any information on how to stop (and rollback) a working flow from sql*plus. Any help would be appreciated.
    Greetings
    Christoph
    Message was edited by:
    ctrierweiler

    Hi,
    I've had a go.
    How should I interpret the results of list_requests:
    owner_owr@ORKDEV01> @list_requests
    ====================
    DEPLOYMENTS
    ====================
    Audit ID Status Name Date Owner
    2706 READY Deployment Fri Nov 11-NOV-05 10:49:59 OWNER_OWR
    11 10:46:37 CET 2
    005
    ====================
    DEPLOYMENT UNITS
    ====================
    Audit ID Status Name Date Owner
    2707 READY Unit0 11-NOV-05 10:49:59 OWNER_OWR
    ====================
    EXECUTIONS
    ====================
    Er zijn geen rijen geselecteerd.
    owner_owr@ORKDEV01>
    Whilst a process flow is executing the last query will list executions, all of which have status BUSY:
    owner_owr@ORKDEV01> @list_requests
    ====================
    DEPLOYMENTS
    ====================
    Audit ID Status Name Date Owner
    2706 READY Deployment Fri Nov 11-NOV-05 10:49:59 OWNER_OWR
    11 10:46:37 CET 2
    005
    ====================
    DEPLOYMENT UNITS
    ====================
    Audit ID Status Name Date Owner
    2707 READY Unit0 11-NOV-05 10:49:59 OWNER_OWR
    ====================
    EXECUTIONS
    ====================
    Audit ID Status Name Date Owner
    394512 BUSY PF_ONB01 04-MEI-06 09:11:12 OWNER_OWX
    395328 BUSY ONB:FULL_PREPARE 04-MEI-06 09:11:55 OWNER_OWR
    395324 BUSY PF_ONB01:ONB 04-MEI-06 09:11:55 OWNER_OWR
    owner_owr@ORKDEV01>
    As an aside, I will attempt to get rid of the READY deployment and deployment unit using deactive_deployment.sql
    Now, if I attempt to use deactivate_execution.sql on any of the executions with status BUSY I get:
    owner_owr@ORKDEV01> @deactivate_execution
    Voer waarde voor 1 in: 396136
    declare
    FOUT in regel 1:
    .ORA-20003: The object is not in a valid state for the requested operation
    ORA-06512: at "OWNER_OWR.WB_RTI_EXCEPTIONS", line 94
    ORA-06512: at "OWNER_OWR.WB_RTI_EXECUTION", line 774
    ORA-06512: at "OWNER_OWR.WB_RT_EXECUTION", line 90
    ORA-06512: at line 4
    owner_owr@ORKDEV01>
    So all the seems to remain is to use abort_exec_request.sql
    This does the job, but the script itself hangs.
    I think it has to do with the l_stream_id not being checked again after the initial IF. I think it should probably be part of the loop condition as it is again reset in the do_acks inside the loop.
    Cheers & thanks,
    Colin

  • How to call OWB Process Flow from APEX?

    Hello.
    I was wondering if there is a way that I can have a OWB process flow kick off from a button in APEX? I know you can have APEX perform PL/SQL upon being clicked, so I am wondering if there is a way that I can do the same for a process flow? We are looking to have a manual kick off for a job and we are trying to use APEX for this. Any information would be great!
    Thank you

    Hi,
    Using SOAP ?if there is a way ... please provide some examples.
    I finished my EDQ process, and now i am trying to find how to call it from APEX
    My web service WSDL is
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Header/>
      <soap:Body>
        <dn:request xmlns:dn="http://www.datanomic.com/ws" id="?">
          <dn:record>
            <dn:ID>?</dn:ID>
          </dn:record>
        </dn:request>
      </soap:Body>
    </soap:Envelope>You did not state your Apex version. If you are on 4.x then see
    Creating a Web Service Reference Based on a WSDL
    Cheers,

  • OWB Process flow deployment into auto sys

    Can some one tell us the steps to be followed for deploying the owb PROCESS FLOW into Auto sys.
    Thanks

    Hi
    There was some work a few years ago, but not sure it was ever productized. You can integrate with any 3rd party scheduler (in a course manner), see the post here;
    http://blogs.oracle.com/warehousebuilder/2008/11/using_3rd_party_schedulers_with_owb_1.html
    Cheers
    David

  • How to check SQL activity in OWB Process flow

    Hi,
    In OWB process flow,I need to check SQL activity. How to check that? I am using OWB 11g R2.
    Regards,
    Rashmik

    Gowtham,
    Well the following hint is provided by oracle warehouse builder help.........
    The time-out setting for the workflow engine determines how long the File Exist activity waits for a file. If the file does not arrive before the time-out setting expires, the File Exists activity terminates with errors.
    well someone with deep workflow knowledge can answer this one...
    If you get the answer please share with us.....
    Regards,
    Suraj.

  • External commands in OWB Process Flow

    Hello *,
    how can I embed an external command (e.g. a batch file) in an OWB process flow.
    I know the User Defined Activity but I didn't succeed in embedding this.
    Has someone an example for me?
    Thanks and regards
    Michael

    hi thomas...
    thanks for your reply...
    I changed the parameters of runtime.properties to NATIVE_JAVA as u said...but it still not running....
    I will give u a celar pic..what I am doing now..
    I wrote a bat file called cmd.bat with the following commands..
    d:
    cd temp
    copy var.dat d.txt
    del var.dat
    I kept the path of this file(d:\temp\cmd.bat)..in the script parameter of userdefined activity...
    and the path of the cmd.exe (c:\windows\system32\cmd.exe) file in command parameter
    I created a basic process flow(ch)..with start, userdefined and stop activities...
    I just want to copy the data from var.dat to d.dat and delete the var.dat..
    the deployment and running of this process(ch) from the control center manager is success...but the actual copying and deletion that was mentioned in my cmd.bat..is not happening...
    I am using owb 10gr2....
    anymore suggestions plzz..
    thanks
    gopi

  • OWB Process Flow stuck

    Hi Gurus,
    I'm new to OWB, I hope to get some help from you!
    I'm supporting a ETL system based on OWB. We have daily process flows scheduled to run without any issue, however, these couple of days the ETL process can not complete. It's always stuck at certain step. We kill the process, and re-run the process, but still can not solve the problem.
    Have anyone of you encountered such a situation? What need to check?
    Thanks!

    You might want to check to see if you have anything "parallel" running
    We recently had an issue with one of our mappings where one day it decided to just stop working and "freeze"
    Our DBA found that we had a Oracle hint for "Parallel" in the code and removed it. After that the mapping ran fine.
    Best of luck

  • Linking Location to Process Flow & Schedule OMB Script in OEM.

    Hi All,
    Oracle 9i Warehouse Builder Client: 9.2.0.4.0
    Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
    I created a process flow in OWB proj1 & selected loc1 as deployment location from the drop down help.
    Is it possible to link a different location let us consider Loc2 from different OWB project prj2?
    Can OMB PLUS Script invoke OWB Mapping or OWB Process Flow? Also can the OMB Plus Scrpit be scheduled in OEM?
    Can someone please let me know ?
    Thanks in Advance.
    Regards,
    Vidyanand

    Hi Vidyanand,
    Lots of questions... but I'm not sure what you mean with linking Loc2 from Prj2. Can you elaborate?
    Easiest to execute mappings is SQL Plus or EM. You can use the SQL_EXEC_TEMPLATE to do this, take a look at the documentation in execution of mappings...
    Jean-Pierre

  • (urgent)how to run the sqlldr script in owb process flow?

    dear all:
    In my oracle warehouse ,i have to load much *.dat file
    into database with sqlldr in owb process flow. In owb process flow, I use the external process to run the sqlldr file with following configuration:
    1:======external process==========
    command : /app/ftpfile/sqlldr2.sh
    parameter list:
    success_threshold:0
    script:
    ================================
    2:create a file location in FILE LOCATION node:
    =============
    ODS_LOCAL_LOC
    =============
    3: in the runtime repository i register the location
    ============
    user name: oracle (for the sqlldr should run in oracle user)
    password : oracle
    host name: localhost
    root path: /app/ftpfile/
    ============
    4:configure the process flow
    ============
    path settings
    working locations:ods_local_loc
    ============
    after deploy them success in runtime repository,
    i run it ,it show me error following:
    ==========
    SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12545: Connect failed because target host or object does not exist
    ===========
    please help me!
    with best regard!

    Hello,
    our developers were getting this error code just the other day. They are using "sqlplus_exec_template" script to initiate these things. In our case, I had to do two thing:
    1) Modify their "initiator" script (the one that connects to runtime access user, and then calls "template") - it has to use tns connectivity "user/passwd@service_name"
    2) Create TNS entry (server side) for the "service_name" above.
    Now these SQL*LOADER mappings run successfully.
    Alex.

  • Execute Shell Script from OWB Process Flow

    I am trying to execute a Shell Script from a User Defined activity of OWB Process Flow. As I have not done such things earlier
    I need to know:
    1. Where I will put the Shell Script (move_file.sh)?
    2. What are the values in need to enter in the external process parameters (such as Command, Script, Result Code, Parameter List, Sucess Threshold etc)
    Please reply this thread. It would be a big help for me and probably for others as well.
    Kind Regards
    Zakir
    Message was edited by:
    Zakir

    Check this out,.
    http://download-uk.oracle.com/docs/cd/B31080_01/doc/owb.102/b28223/ref_processflows.htm#i1173362
    And answer to your question1, the shell script should be on the unix server.
    Regards

  • OWB Process flow restart??

    OWB Process flow restart??
    Set up:
    OWB repository 10.2.0.2.0
    OWB client 10.2.0.2.8.
    Oracle version 10G (10.2.0.3.0).
    I have created a process flow(PF1) that has say 5 maps and on'SUCCESS' or FAILURE sends an email.
    I would like to restart the PF1 (after data fix) from the point of failure.
    Did any one has any idea for such a scenario ?
    Thank you!

    So, if you have a process flow package with 2 processes, process1 and process2, create a third process called RunAll.
    In process RunAll you will first run process1, then connect it to process2 with an transition arrow having the conditon set to Success.
    You could also have 2 other transition arrows going from process1 having conditions of Error and Warning (these would go somewhere else besides process2.).
    Then, you would merely run process RunAll. If process1 fails, then process2 never runs, since the transition arrows define the path of success, error, and warning.
    Hope this helps!

  • Passing parameters from shell script to OWB process flow

    Hi all,
    I am running OWB process flow (using the template script provided by oracle) and i want to pass two date parameters as shown below:
    sqlplus -s $SQL_USER/$SQL_PWD@$ORACLE_SID @$HOME_DIR/src/vmc_oem_exec_script.sql OWB_OWNER VMC_POST_DW_PF_LOC_SIT PROCESS VMC_NM1_PORT_MAIN "," "P_DATE_FROM=$DATE_FROM,P_DATE_TO=$DATE_TO"
    How do i catch those values in process flow and pass those to mappings in Process flow?
    Do i need to create PF variables with same names or any name will do?
    Thanks in advance

    This document is explaining how to pass data between activities in process flow.
    I am passing parameters from a shell script.
    Any ideas,how to pass parameters from shell script and then initialize the process flow variables based on those values and then pass them further to mappings.
    Thanks

Maybe you are looking for

  • LSMW Problem

    I want to add start stocks with 561 movement via MB1C transaction. When I do it manually it is ok. But when I want to do this in LSMW batch input session. I give an popup screen with titled "Account Assigment Block". But I didn't see this popup in th

  • Pre-mapping

    Hello Gurus, I asked yesterday how to do a pre-mapping and I closed the topic because it's still not clear. What I want to achieve is the following: I have a 3 messages Source 1, Source 2 and Target. I get an incoming msg which can be Source 1 or Sou

  • Initialization parameters not getting populated correctly during DBCA

    This problem is observed on Oracle 10.2.0.1 Linux x86 and RedHat Enterprise Linux 4 ES Update 5. I tried to use DBCA template file to create an Oracle database (see below for the template file content). The DB creation was successful, but the initial

  • IPod Shuffle Skipping Issue

    I bought my iPod just less than 2 weeks ago and now recently it is just randomly skipping my music and not at the same point like a CD it just randomly skips everywhere, and I can hardly get it to play a whole song. BTW I'm not pressing the buttons.

  • Implicit fact columns

    Hi all, I have 5 dimensions and 6 fact tables. I have created common fact table which contains all other fact measure columns. I have to assign Implicit fact columns in presentation layer. Please Guide me which column i have to assign. Thanks in adva