How to implement wait activity in OWB process flows?

Hi,
I am using OWB 10G R1.
There is no wait activity in process flows.
My scenario is, whenver a trigger file is created, I want to proceed with the process flow. If the trigger file doesnot exist, then I want to put the process flow in a wait state, until the trigger file is created.
Here I used File_Exists activity. But it is checking for the file only once. And it returns warning.
After that, I want to add an wait activity for certain period of time. How can I do this? Is there is any package,procedure or function to do that?
Any help is appreciated.
Thank you,
Regards,
Gowtham Sen.

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.

Similar Messages

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

  • How to execute SQL scripts using OWB Process flows ?

    Hi,
    I have some SQL Scripts. I have to execute them using OWB Process flows.
    Can i get any document or link which helps me in achieving this?
    Thanks in Advance,
    SriGP

    Sutirtha,
    Thank you very much. I really appreciate all of your responses.
    I have one more question ( Sorry for flooding you with lot of questions :) )
    How to capture the errors which occured inside the SQL Scripts.
    My scenario is like this. I have two sql scripts Script_1.sql and Script2.sql namely. I would like to put dependency on the execution of the scripts.
    If Script_1.sql executes succesfully without any errors, then EXECUTE Script_2.sql
    else if Script_1.sql execution contains errors then DON'T EXECUTE Script_2.sql
    As of now, i observed that the Process flow shows Success State even if there is an error in the sql script execution. Because of which i was not able to put dependency on the execution of the scripts.
    I think i can do it by tweaking(changing) the code inside the SQL Scripts, like logging the errors in some log table and reading it before the next script execution.
    But the restriction is, I Should not touch/change the existing SQL Scripts.
    Do we have any mechanism in the ProcessFlows to identify the SQL Errors that occurred during execution of SQL Scripts ?
    Please suggest any idea on this. It will be great if you can help in this.
    Thanks in advance,
    SriGP.

  • 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

  • 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

  • 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

  • How to implement checkpoint restart in OWB 11gR2?

    How to implement checkpoint restart in OWB 11gR2?
    Which will enable us to restart the OWB mapping from the last successfully inserted checkpoint onwards.
    Edited by: user4593813 on Jul 6, 2010 10:23 AM

    Hi Borkur,
    Thanks for reply.
    Actually I want to implement it in OWB. But after I got the answer from you, I decided to do in some othere way.
    The way you mentioned is right when we are performing the operations directly on a table.
    But in my scenario, an intermediate data is generating. I want to perform lag over operation on those records. Its possible by view.
    So for performing operations for intermediate result, Oracle is providing Table Function concept. I can pass the result to it.
    But the problem again is, how to implement the lag over operation there.
    Any idea.?
    Thanks and regards
    Gowtham sen.

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

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

  • How to set E-Mail Activitie in Process Flow

    Hi All,
    I am very new to OWB and i created process flow based on documents.Process flow run successfully.Now i need to set E-mail Activity to that process flow. i read some of links and help topics.But iam not clear.so pleaseme tell how to do.
    Thanks,

    Hi
    You just add the Email icon to the palette and if a process runs sucess or error (depends on your transition). Just add the email icon and click on it. Fill in the necessery values, such as
    From
    To
    Subject
    Body
    SMTP server.
    If you have a mailserver installed on your machine - just enter "localhost".
    Else you will need to use an existing email server.
    BR / Ander

  • Load .csv file data with OWb Process flow using Web

    Hi,
    I Have a file in my local machine( Machines on multiple user's), need to load data through Web user interface.
    Let's say have a web page with multiple radio buttons respective to different sources, by clicking on each button will pass the path of .csv file to through Application, (API or Java programming interface) execute owb Process flow as a accepting file path as a input parameter to execute for loading purpose.
    Should facilitate view data, Update data through web based on user requests.
    Need your guidence how can i implement this with OWb 11g R2.
    Assuming with Web browser functionality. Please confirm it and if yes, please throw some light how could be the steps to implement.
    Thanks

    Hi David,
    Thanks for your reply.
    Undersatnd your proposed solution.But my requirement should be as follows.
    1. Currently under consideration using web page likely to be implement with Java, allowing users to load .csv file data into staging area.(Loading flat file into Data abse table)
    Case 1, Assuming OWB software is not installed on user machine. I think no.
    Is it possible through web page (this case Java page) to trigger java procedure/Pl/SQl procedure or integration of both to laod data into staging area.If yes, how it could effect performance of data load with 1 GB file.
    Case 2, OWb client software installed on User machine, while runtime passing parameters means passing manually?
    In case it is automated, how should i pass machine name & Path to owb runtime web browser.
    Could you please show me guidence how should I acheive this functionality with APEX customization part?
    Thanks agin for your support.
    Anil

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

  • 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

  • Running sqlplus from an OWB process flow

    I have two SQLplus scripts that I need to run as part of a process flow. The flow calls the scripts at different moments, using Unix commands that look like
    sqlplus userid/passwd@sname @startReadseq.sql
    sqlplus userid/passwd@sname @idenTransac.sql
    Script startReadseq.sql drops and then re-creates a sequence that I need to begin at 1 every time. Script idenTransac.sql runs a PL/SQL program on a table. Both scripts have been tested many times from the SQL prompt and they always run satisfactorily there, under the same userid employed by the process flow at runtime.
    However the two calls to SQLplus are ignored by the flow. The sequence is not reset, and the PL/SQL routine doesn't even write its log file. I looked up our forum but apparently there's no article on this topic yet.
    What am I missing or doing wrong? ... thank you for any help.
    Santiago Gomez

    Santiago, Would you help me?
    I have problems in starting sqlplus activity from a process flow. The process flow is very simple ( START - sqlplus activity - END).
    I wanted to start sqlplus and execute some commands in it.
    I set PARAMETER_LIST as @absolute_path_to_script_that_starts_sqlplus@
    and left the other three parameters(RESULT_CODE, SCRIPT, SUCCESS_THRESHOLD) blank.
    Inside the script that starts sqlplus is:
    sqlplus user/password@sid @absolute_path_to_script_that_contains_commands_to_run_in_sqlplus
    The Validation, generation and deployment passed successfully, but the following message is logged during execution:
    SQL*Plus: Release 10.2.0.1.0 - Production on Thursday Sep.27 17:26:25 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    password: ERROR:
    ORA-12560: TNS: protocol adapter error
    please enter user name:
    I've tried using "sqlplus /nolog" and "sqlplus" to avoid verifying user name and password, but I still got the message above.
    I also specified the absolute path to OWB's sqlplus executable and still failed.
    If I execute "sqlplus user/password@sid @absolute_path_to_script_that_contains_commands_to_run_in_sqlplus" in dos command line, it just works fine.
    I'm used to start just the listener and OracleService<sid>, and I also started OracleDBConsole<sid> to wish it works, but it doesn't help.
    It's really gnawing :-(
    Thanks in advance.
    My environment is Windows XP, Oracle 10.2.0.1.0, workflow server 2.6.4, OWB repository 10.2.0.1.0 design center 10.2.0.1.31

Maybe you are looking for

  • IDM 8.1 deprovisioning of domino user thowing error

    Hi, I am using Sun IDM 8.1. I configured Lotus Domino as an resource. I am able to do the following successfully. 1) Creation of a user 2) Modification 3) Change password I am facing problem in deprovisioning or deleting a user from the resouce. Erro

  • 11.5.10.2 front end problem

    Hi All, In front end concurrent Processing is showing down,what might be the problem.

  • BAPI for MIRO Incoming Invoice

    Hi All, I want BAPI for MIRO Posting ie for Incoming Invoice. .here MIRO is being done with Delivery Note number Following are the necessary entries for MIRO Posting Invoice date Reference Amount Calculate Tax Tax amount Delivery Note Vednor Business

  • Erecruitment - Employment Opportunities - how they are displayed

    Good  morning Under "Employment Opportunities" we have a "Current Vacancies" tab. The jobs advertised are listed and it will say something like "Row 1 of 24", "Row 2 of 24 " etc. How can we change this so that we get 1 long listing displayed, without

  • IPod Touch delayed to New Zeland ???

    Well I just spoke to Harvey Norman, because I wanted to know if they would be in for the 28th. The seller told me that NO they got an e-mail today saying that they wont be in until mid to late next month!!!! and there wont be any stock in the country