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

Similar Messages

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

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

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

  • 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

  • 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

  • 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

  • What code do process flows run?

    Hi there
    Running a process flow but seems to be hanging - unfortunately can't use the repository browser to get an execution report as it is slow - don't know why?
    Anyway when run mappings I know it is running packages on the database.
    With process flows I understand it is using oracle workflow but I'm not very familiar with this - do process flows have some code on the database you can look at and run hands on in the same way you could run a mapping/transformation.
    This would help identify the error until such time as the repository browser issue is fixed. All i can see is the arrow in the control center and when right-click says error count 1.
    Any ideas?
    Many Thanks

    Hi,
    for monitoring process flows you can use Workflow Monitor.
    Regards,
    Oleg

  • Process flow Activity File Exists

    Hi
    Software: warehouse builder 11.1.0.7
    OS: Redhat 5.5
    DB: 11gR1
    I am trying to use the activity "File Exist" on a process flow to know if a file does exist, with two transitions
    one with condition "EXISTS" that ends in success and one with the condition "MISSING", when the file
    exists the process flow acts normal with end success, but when the file doesn't exist the process flow
    just hangs and doesn't finish.
    Am i missing some configuration?

    You have to provide multiple transitions (arrows) out of the file_exists activity and the define the transition conditions (in the transition view section of the window) for success and error. In that case, if the file exists, the flow will continue along the sucess transition path, if it doesn't it will continue down the ERROR path. The error path can then end up into an END_ERROR activity and that will make the process flow stop if the file is not found, just your expected behaviour.
    If you have only a single unconditional transition (arrow) out of the file_exists, the process flow will continue regardless of the FILE_EXISTS activity.
    Regards:
    Igor

  • Handling transaction in process flow

    Hi All,
    I had created one process flow which has 3 mappings in it. I want that, if any mapping fails due to any reason, any insertion or updation made by previous mappings should get rollbacked. I had pointed each mapping to END_ERROR as well as END_SUCCESS components, stating that If any error comes the goto END_ERROR, but I don't know how do I make sure that all 3 mappings act as an individual entity so that all should get rollback when any one mapping fails.
    Thanks,
    Danish
    Message was edited by:
    Danish

    Hi, Danish. Have you done it ? Would you help me on that?
    I copied the sample code to the SCRIPT parameter of a sqlplus activity from OWB documentation:
    "declare status varchar2(30);begin map1.main(status); if status!='OK' then rollback else map2.main(status); if status!='OK' then rollback; else commit; end if; end if;end if;"
    and substitued "map1" and "map2" with my mapping names.
    Also, I appended "exit" to the code, but the job always hangs and does nothing. The two mappings were configured to commit manually.
    Non-PL/SQL scripts work pretty well for me. And, honestly and shamefully, I have no knowledge of PL/SQL.
    Thank you.

  • Process Flow Scheduling

    Hi All,
    I have a Master Flow which has 5 process flows in it.
    MF = PF1--->PF2--->PF3--->PF4--->PF5
    This MF is shceduled to run every 30mins.(using the OWB10.2.0.4 inbuilt scheduler)
    I have two questions....
    1) MF first intance of MF started at 1200HRS ..... PF1,PF2 processes of MF flows gets completed ,but it hangs up at PF3 for more that 30min....
    since MF frequency is 30min.....second intance of MF will be triggered at 1230HRS before MF first instance completes. now how can we revert back the changes of PF1 and PF2 processes happened during the first instance of MF.
    2) hoc can we restrict second instance of MF to start only after the completion of first instance of MF if it takes more than 30mins
    Hope my questions are clear.
    Thanks

    1. I dont think you can since every PF is in its own session and you dont have control over it once it ends. What you can do is create procedures and use them as control service for your PF execution so when your master PF starts again first two processes that have ended dont get started again.
    2. Again, procedures to control your execution. This can be done using OWF views. Checking OWF views you can see that first instance is still running and using that you can make sure that second instance does not start until the first one ends.

Maybe you are looking for

  • Receiver determination wildcard in condition editor

    Hi experts, I have a question regarding the condition editor for receiver determinations on PI 7.1. I have an xpath expression on the left side and I need to have a condition on the right side that includes a certain pattern. One example: p1:myDocume

  • Runtime error in KM

    Hi Experts,   When i preview user profile iview it shows message like this "The requested page has been replaced by the new Web Dynpro based administration. Please refer to SAP Note 869852 if you want to use the old administration UI. Click on the fo

  • Getting javac to find javax.servlet package

    Hey all. I'm trying to get Servlets to run on my computer. I'm using jdk1.4, it didn't have the javax.servlet package to start off with. I downloaded jsdk2.0, which includes the javax.servlet package. I can't get the javac compiler to find these clas

  • Regarding ME22n Transaction

    Hi ABAPers,                       I am working on one report program which is used for to transfer purchase orders from MM to SRM.In Selction Screen Paramenters we are taken Select options for purchase order selection.while exection if i am takeing o

  • Informatica and sometimes i have ora-3135

    hello gurus,        when i download/upload data from database production to my datawarehouse, i receive ora-3135 then i suppose it is timeout problem. 1 - in the parameters informatica (client ) where my i increase the parameter timeout ? 2 - how may