Process flow hangs in state "bussy"

Hi,
We are encountering what seems to be a "random" problem when runing process flows. In about 1 out of 4 runs the flow "hangs" with status "busy"
The technical specs are as follows:
OWB 9.2.0.2.8 on WIN2K Server SP4.
There are two runtime repositories on two different WIN2K database servers (Oracle 9.2.0.4 EE)
The symptoms are as follows:
- We have more than 10 process flows containing from 15 to 60 processes. The problem is not related any single process flow, and occurs on both our target servers.
- The process flows runs OK in approximately 3 out of four runs.
- When the process flows "hangs", one or more of the processes in the process flow also hangs in the "busy" state. The hanging process can be a mapping or an external process
- The processes that have status "busy" have actually finished. They have a completion time set, and in the case where the process sends mail, the mail has been received. In the case of mappings I have verified that the mapping has completed, and that the session performing mapping has terminated.
- When the problem occurs, there is always the same "lock" pattern displaying in OEM:
Username Session IdLockMode HelMode Requ Object Name ROWID Object OwnObject T Resource ID1 Resource ID2
OWBRT92 17TM ROW SHARNONE WB_RT_SERVICE_QUEUE_TAB OWBRT92 TABLE 61161 0
OWBRT92 17UL EXCLUSIVNONE 1073741824 0
OWBRT92 48TM ROW SHARNONE WB_RT_NOTIFY_QUEUE_TAB OWBRT92 TABLE 61145 0
OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFICATION_COMPONENTS OWBRT92 TABLE 61137 0
OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFY_QUEUE_TAB OWBRT92 TABLE 61145 0
OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFICATION_ACKS OWBRT92 TABLE 61141 0
OWBRT92 67TM ROW SHARNONE WB_RT_NOTIFICATION_STREAMS OWBRT92 TABLE 61135 0
OWBRT92 67TM ROW EXCLNONE WB_RT_AUDIT_EXECUTIONS OWBRT92 TABLE 61199 0
OWBRT92 67TX EXCLUSIVNONE 262151 87564
Session 17 is the runtime service, and these two locks are present under normal operation. Session 48 is the Sqlplus session runing the execution template, and session 67 is (i think) the session that is causing the problem.
- The advanced queue WB_RT_NOTIFY_QUEUE tab shows "Number in state ready" equal to the number of processes still in the state "busy" i the process flow.
- When the runtime service is stoped (using the stop_service.sql) The locking sessions disappears.
- When the service is restarted, the processes change status to "bussy recovery" There is now a RPE-01008 and a RPE-01009 message in the "errors" section for the mapping.
- After the failed recovery, everything looks normal, except that there are now twice the number of messages in state READY on the WB_RT_NOTIFICATION_QUEUE. The only way I have found to get rid of these is to delete them from the queue table.
Is this a known problem? We are about to go live in a few weeks, and this could be a serious show stopper if we can't rely on the daily process flows to run as expected.
I could log a TAR on this, but I suspect support would ask for a test case, and Im going to have a hard time providing it for them in this case.

Jean-Pierre,
Thanks for the update. I was afraid this was going to be one of those "hard to pinpoint" issues...
When the problems occurs the Worflow Monitor always shows the task status as "Notified".
The "Main routine" is no longer executing. The session that was executing the mapping has disconnected, and the mapping has completed successfully. (I have verified this by checking the rows in the target tables). Also, the problem is not restricted to mappings. Sometimes it happens to "mail notifications", and in these cases the mail message is received as expected.
It looks to me like there is some kind of synchronization problem between AQ and the controlling process (the runtime access user session) that can arise under a given condition (which I unfortunately have not been able to determine what is). As far as I can tell, the process executing the mapping completes and puts the message that it has completed on the Notify_Queue (hence the messages in stat "Ready" on the queue), but for some reason the process waiting to read the message fails to do so.
As for a test case, I have recently sent an export of our design repository to Igor Machin. Is it possible for you to have a look at that? As I mentioned in the first post, our Process Flows are fairly complex. Some of the flows are executing 50+ mappings in parallel.

Similar Messages

  • Process Flow hangs

    I'm executing a process flow with several activities.
    After each activity I check for status and error out if the activity fails. If the activity succeeds I go on to the next activity.
    When I execute a map within the process flow, the process flow executes successfully only if the map is the last activity. The map functions to output data to a file.
    The Process Flow hangs if after the execution of the map
    a stored procedure is called. The stored procedure dynamically creates a DBLINK and updates a table.
    When I cancel the execution of the process flow I see the map has successfully outputted all
    records. But why hasn't it gotten to the stored procedure.
    Each activity on its own works fine but in combination with each other they hang the process flow.

    Mahesh,
    I am assuming that RAB stands for Runtime Audit Browser.
    The Runtime Audit Browser tells me how many records were
    rejected but not which ones and why.
    The debugger does not give adequate information in fact it does not issue a "break" where it should.
    Are there any tools OWB provides for "catching", or
    auditting data that cannot for whatever reason be extracted to a file.
    I see that they have a mechanism for capturing problems with data coming from a file into a table. I don't see
    where there is an explanation of error handling going from a table into a file.
    Thanks!
    Marion

  • Process flow hangs when mapping execution fails

    Hi,
    Has anyone faced the 'process flow hanging' problem after upgrading to OWB 9.2.0.4? Don't know why this is happening again after the upgrade. The audit browser clearly indicates one of the mappings has failed and workflow tables indicate there was a notification upon failure. The process flow runs several sub process flows each containing 5-6 mappings.
    Also, the mapping that failed (due to unique key violations on the target table) executed the post mapping stored procedure although the post mapping run condition was set to 'ON SUCCESS'. Is this the expected behaviour for the post mapping operator when there are database related failures?
    Our environment is OWB 9.2.0.4 on AIX 5.2.
    Database version is 9.2.0.5. We recently upgraded the database from 9.2.0.4 to 9.2.0.5 and OWB from 9.2.0.2.8 to 9.2.0.4. Process flows are executed using sqlplus.
    Thanks,
    Chethan

    Hi,
    I would expect you to have less issues with 9204 as there were some fixes applied. So I have not seen this before.
    To get into the mapping a little bit more, is this a row based mapping that is under the tresshold? In any case, if you specify "on success" I would expect it to only work on success... A database related error will also cause it to get an error, so this is interesting as well.
    Does the error repeat at any case if there is a failure?
    Jean-Pierre

  • Process Flow hangs on wb_rt_notify_queue_tab

    Hi,
    We are encountering some problem on process flow.
    Environment: Oracle 9.2.0.5, OWB 10g, workflow 2.6.2, HP-UX
    The process flow has about 20 mappings. When it hangs, I can see the following:
    1. In Workflow, the status of the mappings are "NODIFIED"
    2. In wb_rt_notify_queue_tab, the DEQ_TIME shows null and the state is 0
    3. In wb_rt_audit_executions, the return_result shows "OK" for this mapping, and elapse shows the seconds
    it spent. and the data was loaded correctly.
    4. There are some locks showing
    SID 31 has locks on WB_RT_AUDIT_EXECUTIONS, WB_RT_NOTIFICATION_ACKS, WB_RT_NOTIFICATION_COMPONENTS, WB_RT_NOTIFICATION_STREAMS, WB_RT_NOTIFY_QUEQE_TAB, WB_RT_SERVICE_QUEQE_TAB.
    SID 25 has locks on WB_RT_SERVICE_QUEQE_TAB
    SID 97 has locks on WB_RT_NOTIFY_QUEQE_TAB, this is the SQLPLUS session invoking the Process Flow
    I saw some messages on the similar topic in this forum, but I guess that's for early version of OWB.
    Any suggestion will be appreciated
    Thanks in advance.

    I am also having same problem and my environment is
    Environment: Oracle 9.2.0.3, OWB 10g, workflow 2.6.2, sun solaris 2.8 - 64 bits. Does installing/upgrading OWF 2.6.2 to 2.6.3 solve the problem and does it have any ripple effect on the system if you upgrade the OWF from 2.6.2 to 2.6.3? Please help.....

  • Process flow hanging in owb 11.2.0.2

    Hello All,
    My process flow keeps on running and never completes but in the design center I see that my maps have all completed, I checked my tables and the data has been loaded.
    There is this process running in the background. I don't know what this is trying to do.
    How could i solve this problem.
    select /*+ FIRST_ROWS(1) */ tab.rowid, tab.msgid, tab.corrid, tab.priority, tab.delay, tab.expiration ,tab.retry_count, tab.exception_qschema, tab.exception_queue, tab.chain_no, tab.local_order_no, tab.enq_time, tab.time_manager_info, tab.state, tab.enq_tid, tab.step_no, tab.sender_name, tab.sender_address, tab.sender_protocol, tab.dequeue_msgid, tab.user_prop, tab.user_data
    from "OWBSYS"."WB_RT_NOTIFY_QUEUE_TAB" tab
    where q_name = :1 and corrid = :2 and (state = :3 ) for update skip locked
    SELECT MIN(MSGID)
    FROM WB_RT_NOTIFY_QUEUE_TAB N1
    WHERE PRIORITY = (
    SELECT MIN(N2.MSG_PRIORITY)
    FROM AQ$WB_RT_NOTIFY_QUEUE_TAB N2
    WHERE N2.CORR_ID = :B1 AND MSG_STATE = 'READY') AND N1.CORRID = :B1
    BEGIN wb_rt_notification.wait( :1 , :2 ,
    :3 , :4 , :5 )
    ; END;

    Hi,
    We are dealing with the same issue. Is this solved yet at your site?
    I also note there are lots of records in WB_RT_NOTIFY_QUEUE_TAB. A lot of the AQ$_WB_RT_NOTIFY_QUEUE_TAB_E records are pretty old
    Can I just delete them?
    SQL> select count(*), Q_NAME from owbsys.WB_RT_NOTIFY_QUEUE_TAB group by Q_NAME;
    COUNT(*) Q_NAME
    80223 WB_RT_NOTIFY_QUEUE
    751129 AQ$_WB_RT_NOTIFY_QUEUE_TAB_E
    best regards, Hans

  • Major problem - Process Flows hanging randomly - 11.2.0.1

    Hi,
    We are experiencing the following problem.
    Randomly process flows sit doing nothing.
    Have ran some days and totally fine. Process flows fine - each activity has all the necesassry outgoing activities.
    What causes this?
    If run again - fine.
    How do we resolve.
    We need to be able to kick off the process and leave it to run without having to check if it hanging al the time.
    Any help/advice would be great.
    Many Thanks

    Hi,
    I found out that wrong ordering of transitions may cause strange problems. In owb, check that the outgoing transistions of each operator are numbered sequenty (0,1,2, ...). Sometimes, some number appear twice, e.g. 0,1,1). This often happens after an existing transition was deleted.
    And make sure that the "else" transition (the one without any condition) always has the highest number.
    Regards,
    Carsten.

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

  • Process flow execute "complete" in Runtime Audit Browser but it hangs

    I create a process flow that contain 4 sub-process flow, each sub-process flow contains several mapping. Each mapping in the process flow will be executed one by one if previous mapping execute successfully. If any error or warning, it will be ended with "End_Error" or "End_Warning". And I deploy the process flow to the workflow server successfully.
    Sometimes the process will hang in some certain mapping when execute the process flow. After long time waiting, the status of process flow execution in Audit Browser will be "Complete", but in fact, the sub-porcess ended with that mapping and the next mappings will not be execute. This can be monitored in the Audit browser, as if the whole process "break" at that mapping.
    In workflow monitor, I found the workflow has not complete yet. The status of that mapping node is "Notified", not "complete". So I have to abort the workflow in the monitor.
    Sometimes when I try again it will be ok. If I deploy the process to another instance that in dw instance, it will also be ok. The dw instance use owb recommend parameters when we install db instance. All the mapping use the default parameters except "Default operation mode", here we use "row based".
    Can somebody give me some hint?
    Thanks.
    OWB 10g rel 1, db: 10g rel2, workflow: 2.6.4

    Hi Naidu
    Yes you are absolutely right. When you press the cancel button in the GUI, the runtime repository does not get the signal that he is been asked to stop and abort. The GUI cancels himself but the background oracle process is still on !!!. The only way to do is to kill the oracle session. Another way I tried to tackle is
    go to the directiry OWB/10.1/owb/rtp/sql and run the file @list_request.sql in sqlplus. Note that you have to login as runtime repositiry owner. After you get the audit id, run the file abort_exec_request.sql and supply the audit id that you obtained by running list_requests.sql. Sometimes it does not work also . Hence the best method is to kill the process

  • Owb Process Flow getting hanged/stuck .

    Hi,
    Problem description  :-  We have designed a Process Flow in OWB our project. The Process Flow is scheduled to run at 12.00 AM daily Dutch timings.
    We have been facing a problem for around 3 months wherein the process gets hanged/stuck in between without giving any specific error message.
    There isn't any kind of locking happening in the background as well. The OWB log gives the message "Forcibly deactivating execution with audit ID 1660235 ",
    During the time at which the process hangs  The process gets hanged in different timings in different sub processes(not in a particular process, so no specific pattern has been observed.)
    To complete the process flow, we need to kill the process and rerun it again. When reran, it runs perfectly without any error.
    The above error message appears in the log only when a process hangs. There is no such kind of logging during a successful execution.
    Can you please let us know when and why does this message appear in the OWB log file.
    Is there any specific kind of settings or configuration parameters that needs to be set to resolve this.
    Regards,
    Rosy Mukherjee

    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

  • Mapping runs through Deployment Manager but hangs in Process Flow

    Hi,
    I have a Mapping bound in a simple Process Flow.
    The mapping deploys through Deployment Manager and runs. It currently processes no rows and takes a couple of seconds to do that. It completes with a Success message.
    However, when I wrap it into a simple Process Flow...
    --- w ---> END_WARNING
    START ---> MY_MAPPING ---- s ---> END_SUCCESS
    --- e ---> END_ERROR
    .., deploy this and run it through the Deployment Manager, it hangs. I get the 'Execution in progress...' window with the moving graphic forever.
    The Runtime Repository Browser Execution Report tells me that it is 'Busy', and if I drill down to the Process Flow Run Execution Report, I see an identical Start and End Time, an Elapsed Time of 0 seconds, and no other details (Execution Parameters, Activity Details or Error Messages).
    Looking under 'Find Processes' on the Workflow Home Page, my workflow has no status in the Process List. Drilling down to the Diagram, I have a green line from the 'Start' element to my Mapping but the Mapping itself has no special colour.
    I go back to the Deployment Manager and cancel the job - which it does and reports that it 'Completed with errors'.
    The Runtime Repository Browser Execution Report now tells me that it is 'Busy' (with an information bubble), and if I drill down to the Process Flow Run Execution Report, I see different Start and End Times, and Elapsed Time of n seconds, a single Error Message 'RPE-01002: The operation was aborted at user request.', and no other details (Execution Parameters, Activity Details).
    Looking under 'Find Processes' on the Workflow Home Page, my workflow has a status of 'Complete' in the Process LIst. Drilling down to the Diagram, I still have a green line from the 'Start' element to my Mapping and the Mapping itself still has no colour and no indication that it has stopped.
    I'm running:
    Oracle9i EE 9.2.0.5.0
    Oracle10g OWB Client 10.2.0.1.0
    Oracle10g OWB Repository 10.1.0.1.0
    Anybody know how I can go about tracking down why this Process Flow is hanging - and, of course, getting it unhung :-)
    Regards
    Steve

    Hello Steve,
    It's a little difficult to read the exact flow from your ASCII graphics.
    However, from your description it seems your workflow task only has an outgoing success connector, and your execution was not a success. This will stop the execution of that branch of your process flow, since there are no valid routes to take. If you only have a single branch in your workflow, the process flow is stuck.
    To expedite your hung process you just click on the task icon in the Workflow Monitor graph window that does not have a green outgoing connector, press the Expedite button and select skip.
    Corollary: If you use conditional connectors, always use all 3 from a task. I not using all 3, have a very good understanding of why you don't.
    Regards, Hans Henrik

  • PROCESS FLOW FOR LOOP IN BUSY STATE

    Hi,
    I have designed a process flow, in which FOR loop has been incorporated,within the loop FTP activity along with check of file exsistence is done, if file does not exsist ,it again tries to perform successful FTP, else map the file to table and assigns some value to loop variable so that it exits from the loop.
    The problem is that, although FTP has been done successfully, and file has been found, even mapping has been done sussefully, and in the repository browser it shows COMPLETE EXIT for the loop, but the process flow goes into busy state, with all tasks performed well.
    Please help how to end the process flow.

    I am also facing the similar issue, The process is complete, but the process flow is not stopping, though the seperate exit condition is put. Are you using ver. 11 ?

  • User Defined Activity "hangs" Process Flow if it runs for more than 10mins

    I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before.
    However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete. If I run the process flow with a parameter that generates a shell command that executes in two or three minutes, the process flow continues past the sucessfully executed user defined activity to the next activity.
    BUT
    If I run the same process flow (without modification or even redeployment) with a different parameter , the user defined acivity sucessfully executes (after about 11 minutes or so) but the process flow , doesnt seem to know that it is finished and just says it is still executing.
    my "user defined" activity has
    COMMAND: /usr/bin/ksh
    PARAMETER_LIST bound to a variable which is set earlier in the process flow.
    RESULT_CODE:
    SCRIPT :
    SUCESS_THRESHOLD : 0
    by examining (RUNTIME CONTROL CENTER SCHEMA).all_rt_audit_execution_params
    I can see that the variable contents assigned to RESULT_CODE look like this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_SHORT'
    or this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_LONG'
    I put the -n in because I thought that may have been the problem, but I think its more likely that there is come sort of ".properties" in a runtime file that needs to be set to control the "timeout" of user defined activities.
    (like in Runtime.properties
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    except maybe
    .........Nativeexecution.timeout = .....?????
    Has anybody had a problem like this? Found a document describing available configuration properties for PF activites?
    Can anyone help?

    I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before.
    However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete. If I run the process flow with a parameter that generates a shell command that executes in two or three minutes, the process flow continues past the sucessfully executed user defined activity to the next activity.
    BUT
    If I run the same process flow (without modification or even redeployment) with a different parameter , the user defined acivity sucessfully executes (after about 11 minutes or so) but the process flow , doesnt seem to know that it is finished and just says it is still executing.
    my "user defined" activity has
    COMMAND: /usr/bin/ksh
    PARAMETER_LIST bound to a variable which is set earlier in the process flow.
    RESULT_CODE:
    SCRIPT :
    SUCESS_THRESHOLD : 0
    by examining (RUNTIME CONTROL CENTER SCHEMA).all_rt_audit_execution_params
    I can see that the variable contents assigned to RESULT_CODE look like this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_SHORT'
    or this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_LONG'
    I put the -n in because I thought that may have been the problem, but I think its more likely that there is come sort of ".properties" in a runtime file that needs to be set to control the "timeout" of user defined activities.
    (like in Runtime.properties
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    except maybe
    .........Nativeexecution.timeout = .....?????
    Has anybody had a problem like this? Found a document describing available configuration properties for PF activites?
    Can anyone help?

  • 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

  • Error in using External Process in the Process Flow

    I Created a Process Flow with an external process to Move the file from one location to another location,
    I gave the below parameters for the External Process
    COMMAND: move
    PARAMETER_LIST: ?F:\\FlatFiles\\in\\company.txt?F:\\FlatFiles\\error\\company.err
    SUCCESS_THRESHOLD: 0
    SCRIPT:
    The environment is
    Windows 2003
    OWB 9.2.0.8
    OWF Builder 2.6
    When I deploy and execute using Deployment Manager, it gave me the below error
    Starting Execution TEST
    Starting Task TEST
    Starting Task TEST:EXTERNALPROCESS
    CreateProcess: move move F:\FlatFiles\in\company.txt F:\FlatFiles\error\company.err error=2
    Completing Task TEST:EXTERNALPROCESS
    Completing Task TEST
    Completing Execution TEST
    What am I missing something here?
    Is my Parameters correct?
    GIve me the link where I can find more on using External process.
    Please...please...help me..
    Shree

    Nikolai,
    I have created a simple process flow which only calls the external process. The script is on the same host as the process flow is deployed to.
    I have used two diffent values for the command parameter.
    1. I placed the full path of the file in the command parameter and left the script parameter blank:
    COMMAND: /edwftp/ppas/scripts/ClearPPAS.sh
    PARAMETER_LIST:
    SUCCESS_THRESHOLD: 0
    SCRIPT:
    2.I placed the bash command in the command parameter and the full path in the script parameter.
    COMMAND: /usr/bin/sh
    PARAMETER_LIST:
    SUCCESS_THRESHOLD: 0
    SCRIPT: /edwftp/ppas/scripts/ClearPPAS.sh
    Both of these appear to work as they print out the statements inside the script but the files that are supposed to be removed still remain.
    Starting Execution EXTER_FILE
    Starting Task EXTER_FILE
    Starting Task EXTER_FILE:EXTERNALPROCESS
    Removing ActivatedAudit.dat...
    Removing ActivatedCustomers.dat...
    Removing ActiveAudit.dat...
    Removing ActiveCustomers.dat...
    Done!
    Create the Activated Customers data file...
    Create the Active Customers data file...
    Done!
    WARNING: Log file truncated - see RAB for further information.
    /edwftp/ppas/scripts/ActivatedCustomers.sh: /edwftp/ppas/log/ActivatedCustomers.log: cannot create
    /edwftp/ppas/scripts/ActiveCustomers.sh: /edwftp/ppas/log/ActiveCustomers.log: cannot create
    WARNING: Log file truncated - see RAB for further information.
    Completing Task EXTER_FILE:EXTERNALPROCESS
    Completing Task EXTER_FILE
    Completing Execution EXTER_FILE
    The permissions on the /log direcotry are 775. The user I register the file location with owns this directory.
    Can't think of anything else I have missed. I really appreciate your help :)
    Ryan

  • Mappings not triggered from Process flow?

    Hi,
    I have some mappings under a process flow..they are triggered daily but today they were not triggered can anyone tell me how to go about this?

    Hi ,
    If you have deployed the schedule then it will be in Disable state .
    You can check that by logging into SQL*PLUS as the Target user and running
    select job_name, state from user_scheduler_jobs;
    Use the Schedule tab on the Control Center Jobs panel in the Control Center Manager to schedule
    the job. Highlight, right click the job and from the pop-up menu select "start". Use the same query to check the current status:
    select job_name, state from user_scheduler_jobs;
    The above query will show whether the scheduled job is SCHEDULED, RUNNING or SUCCEEDED.
    Thanks,
    Sutirtha

Maybe you are looking for