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

Similar Messages

  • Process flow run success but underline mapping sql still running

    We have mapping A and B in process flow. We configured Enumerated Condition (success) in mapping A to kick off mapping B after A is success. But the underline SQL in A took long time to finish therefore mapping B starts before data loading is finished in A. We need to finish mapping A loading data first (not submit the job),  What could be the best approach for this condition.
    Thanks,
    frank

    Here is the actual scenario. In my process flow I have mapping A and B, both loading data from source to target. I put Enumerated Condition (success) in mapping A so that B start only if A is done. When the job is in completed status in control center, I open job details I notice the mapping A is still running even B is finished. I guess my questions:
    1. how to run mappings in order?
    2. how do we really know the process flow job is completed?
    Thanks for help!

  • Triggering process flows (run it whenever source changes)

    Hello everyone,
    I have created several process flows which includes many mappings. Now i want to run the process flow automatically whenever there is new data inserted in the source tables of those mappings. Is there a way to do this in OWB. i am using OWB R2 and Oracle 10g. Any help would be greatly appreciated.
    Thank You

    Hi,
    one way is to create (outside OWB) an update/insert/delete-trigger on the table and start the mapping in a begin-end-block of the trigger after an insert or update.
    Look at the oracle library for triggers and you get it.
    CREATE OR REPLACE TRIGGER test_trigger
    AFTER INSERT OR UPDATE OR DELETE
    ON table_test
    DECLARE
    result_num number;
    BEGIN
    <call mapping or process flow here>
    result_num :=WB_RT_API_EXEC.RUN_TASK(p_location_name
    , p_task_type
    , p_task_name
    , p_custom_params
    , p_system_params
    , p_oem_friendly
    , p_background);
    <some code to analyze the result code>
    <exception handler>
    END;
    Regards,
    Detlef

  • Error in Process flow running in SQL owb_run_own.wb_rt_api_exec.run_task

    Hi all
    We are having issue with owb_run_own.wb_rt_api_exec.run_task using Sql Plus
    When i try to run through Warehouse Builder Process flow ran Successfully
    When i try to run through SQL Plus using owb_run_own.wb_rt_api_exec.run_task We are getting error
    ORA-20099: ORA-20003: Process Flow FailedSerious <PROCEDURE_NAME >unknown error
    RPE-02018: Oracle Workflow schema OWF_MGR on host OWD2HOST cannot be accessed using service OWDX.XXXX.XXXX through port 1523. Please check the location details and try again.
    Can any one help please
    Thanks in Advance
    Edited by: user1849 on May 5, 2009 9:56 AM

    Hi all
    We are having issue with owb_run_own.wb_rt_api_exec.run_task using Sql Plus
    When i try to run through Warehouse Builder Process flow ran Successfully
    When i try to run through SQL Plus using owb_run_own.wb_rt_api_exec.run_task We are getting error
    ORA-20099: ORA-20003: Process Flow FailedSerious <PROCEDURE_NAME >unknown error
    RPE-02018: Oracle Workflow schema OWF_MGR on host OWD2HOST cannot be accessed using service OWDX.XXXX.XXXX through port 1523. Please check the location details and try again.
    Can any one help please
    Thanks in Advance
    Edited by: user1849 on May 5, 2009 9:56 AM

  • What is the process flow in MRP - MD61+MD01,MD02+MD04+COR7

    Hi experts,
    I need one clarification for Material requirment planning ( MRP - Process industries )
    My company is newly implemented in SAP so i want some clarification in MRP side.  My company flow is 3 rd level converted of FG.
    1 st level - Raw paint - Samifinished
    2 nd level - Tin condition - Samifinished
    3 rd level - Case condition - FG
    I have raised PIR in MD61 at FG code, after MRP Run planded order created at three level ( 1 st, 2nd, 3rd - level)
    But what is the t.code used is correct recording MRP Run - MD01( Plant level ) OR MD02 ( Single item)
    what is the t.code used for over all requirment Bill of material list ( ROH & VERP)at plant based recording purchase the material.
    Kindly pls explain the flow for PIR > MRP RUN>STOCK RECUIRMENT LIST> PLANNED ORDER TO PROCESS ORDER>
    Thanks,
    Umapathy

    Hi,
    To proceed further you should firm confirm that below master data properly maintained in your system,
    - Create BOM - CS01
    - Create Resource - CRC1
    - Create Master Recipe - C201
    Now your business process starts with the requirements created in the system e.g. by MD61 in your case
    Now you can run the MRP by MDBT/MD01/MD02 for your case. It is suggested to go with MD02 for better understanding on MRP behavior for single FG material.
    Now You can analyze the MRP result for single FG material in MD04 transaction wherein you will get the planned order created through MRP run and also the order report for planning of below level components of BOM
    Then you can further proceed for Production Execution with the help of below transactional steps:-
    - COR1 - Create Process Order Manual
    - COR7 - Convert Plan Order to Process Order
    - COR6N/CORZ/CORR - Order Confirmation
    - CORS - Cancel Confirmation
    - CORT - Display Confirmation
    - CO53 - Control Recipe Monitor (Optional)
    - CO55/CO60 - Maintain PI Sheet (Optional)
    - CO54 - Process Massage Monitor (Optional)
    - MB31 - Goods Receipt For Order
    - COIK / MB1A / MIGO :- Goods Issue
    - KKS1/KKS2 - Calculate Varience
    - CO88 - Actual settlement
    - COOISPI - Order Information System
    You can see the all PR created through MRP in ME5A transaction by selecting the Creation Indicator as B for MRP as shown in below screen,    
    And for rest of analysis you can use COOISPI report.
    Regards,
    Narresh

  • What is the process flow for Asset Acquisation without PO in CIN environmen

    Hi,
    I need to do Asset Acquisation without PO (Directly through F-91) scenario in CIN environment.
    Kindly help me on *how to proceed with Direct Asset Acquisation without PO. How can i capture excise invoice for this scenario.
    When i am doing direct acquisation of asset thru F-91, how can i capture excise invoice?
    Thanks
    KB

    HI,
    This is not possible to update excise data while aquiring assets through FI......
    Because SAP has clearly mentined that if you want to avail CIN functionality then MM and SD modules must have been implemented.....
    System has copy control from GR to Excise invoice so better aquire asset though PO so that you can update register RG23C Part I and Part II.
    Regards,
    Chintan Joshi

  • Job Schedular status running after killing process flow from OWF monitor

    Hi,
    PROBLEM SCENARIO:
    Scheuled job called 'TEST' kicks off process flow called 'Child_load' under 'Parent_load_all' and gets stuck. I go into OWF (ORACLE WORK FLOW MONIOTOR) and kill both the process flows and then complete the Process flow run manually from OWB. Now, next day the scheduled job 'TEST' should execute 'Parent load all', but it doesn't do that instead it shows 'TEST' in 'Running' STATUS from yesterday when I see it in toad under Sched.Jobs. I have to drop the scheduled job and redeploy it from OWB in order for it to work.
    Any idea why its doing that?
    Thanks in advance.

    hello
    the status of the scheduled job should be 'running'
    here is what i received from oracle support on that matter:
    A scheduled job is always in BUSY status, till the moment it is stopped in the Control Center Manager.
    If you open the Control Center Manager, goto the Location and expand the plus "+" in front of Scheduled Jobs. There should be your job DLOAD_JOB.
    On the right bottom appears the dialog Control Center Jobs. And there is a tab "Scheduled". Click on that tab and you should see a green arrow in front of the job DLOAD_JOB. This means the job is running. (In fact it is not running but waiting to be executed again according scheduled time)
    To stop the job to run according schedule, you can right-click on the job and choose "Stop". The green arrow will disappear and the status in the Repository Browser will be "Completed"
    To start the job again, you can right-click on the job and choose "Start". The green arrow will appear again and the status in the Repository Browser will be "Busy"
    so according to this the scheduler job should be in status running;
    why it does not trigger your processes however is another thing;
    rgds

  • 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 Flows: Return Code or Message Severity

    Hi all,
    I am trying to get a decent email system set up that will let me know which part of our OWB ETL load has warnings or errors.
    I have one main Process Flow that calls several other process flows. On both levels, I need to know if any errors or warnings were encountered during execution.
    There is a function WB_GET_RETURN_CODE which I hoped to use to get the return codes of the process flows, but while testing, I noticed that there are not return codes for process flows.
    My backup solution is to check ALL_RT_AUDIT_EXEC_MESSAGES if there are any records in there. If there are, I check if they are ERROR or WARNING. Would this be a good solution to my problem?
    Or is there a better way to find errors/warnings of process flows?

    HI VRV,
    Step 1: Goto Display messages on right click of your Process chain
    Step 2: Goto "Chain" tab and copy "Variant" and "Instance"
    Step 3: Goto SE11 and Select table RSPCPROCESSLOG
    Step 4: Paste the "Variant" and "Instance" and execute it, and the value of the other fields are returned: LOG_ID, TYPE, BATCHDATE and BATCHTIME
    Step 5: Goto SE38 and enter RSPC_PROCESS_FINISH
    Step 6: Enter the values in the fields received from RSPCPROCESSLOG  table. Additionally, make the STATE as "G‟ -> Execute
    Then your Process Chain will turn to green and proceed further......
    Hope this helps........
    Regards,
    Suman

  • OWB Process Flows

    Hi,
    We have lot of process flows already created. They used Transformation object in many process flows. But they didn't write any PL/SQL code for this transfomation. They wrote shell scripts. They are giving lot of problems. Here my question is can we write shell scripts for transformation? What I know is we have to write PL/SQL code for transformation objects in process flows. If anybody have PL/SQL code for process flows transformation can you share?
    Thanks
    SS

    HI SS,
    sounds like you've got some issues there.
    You say they did not write PL/SQL But an OWB tranformation is PL/SQL. For example, it could be an entry point in a package, like WB_RT_CONVERSIONS.to_date(date). It could simply be a procedure, like WB_Disable_All_Constraints(p_table VARCHAR2 ). In either case, it is complied PL/SQL. And of course mappings become compiled packages in the target schema location.
    I'm puzzled. If there's no PL/SQL, then what does the actual work?
    Which leads me on to my next point. On the process flow pallete, there is a transformation object. You say they used many transformation objects. Then you say "they wrote shell scripts for transformation". But that's operating system code. You don't run OS code inside process flows (except in some unusual circumstances)..
    What do these shell scripts do? What do they execute?
    Finally, you write: "we have to write PL/SQL code for transformation objects in process flows" But surely, those are your mappings, no? And you don't write them, you generate them, no? And you wouldn't begin working on process flows until your mapping streams were complete, would you? Sorry, but I'm baffled by this comment.
    I'd be obliged if you could describe your software stack in a lot more detail, please. For examples, please see this thread: 10gR2: How do you run OWB from Enterprise Manager (OEM) and Scheduler? It is a discussion on running Mappings from Process Flows from Scheduler.
    I have to confess that right now, I cannot even see the shape of the stack you are trying to run, let alone conceptualize a solution, nor even grasp the meaning of your questions. More, and more detailed descriptions, would help enormously.
    Cheers,
    Donna

  • REM process flow for food manufacturing.

    Hallo,
    I want to know what is the process flow in SAP REM  for food manufacturing compony?
    Thx
    Nikam.D.A

    Dear Dev,
    Check these links for the REM flow along with the T Codes,
    Repetitive Manufacturing
    REM Cycle..........
    Regards
    Mangalraj.S

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

    Hi!
    I need some assistance regarding my email process flow.
    Lets say I have process flows. One process flow runs a single mapping . If it ends in error it launchas another process flow.
    This other process flow is my email process flow. Its just a process flow(killing my self writing process flow) which just sends out an email.
    So if my 1st PF is failed, I get an email.
    What Im trying to do now is use global variables. So I have a varible in my PF1 with value = Error in PF1. And I now want to bind this variable to my EMAIL variable in my EMAIL PF.
    This means, if PF1 Error = Send this varible into PF2.
    I have tried using IN/OUT parameters, trying to bind variables.. But I cannot get to to bind my EMAIL variable to my PF1 variable.
    Any sugg?
    Cheers

    If PF1 and PF2 are sub-process flows of e.g. PF3, then it should be possible to just use the variable i.e. on the START operator of PF2 you can define a Process Flow Parameter (IN), it should then be possible to bind the Variable to the parameter of PF2.
    Sounds like you're nearly there from what you've tried.
    Si

  • Process Flow of Creating and sending Dunning Form

    Hi Experts,
    Can you please help me in this
    What is the process flow of creating, sending Dunning form and when do we get Confirmation from vendor and when the condition type should be triggered in messages of PO.
    I will appriciate your help
    Regards,
    Sheral

    Hi,
    Check these links.
    http://forums.sdn.sap.com/thread.jspa?messageID=3537642#3537642
    http://forums.sdn.sap.com/thread.jspa?messageID=5337739#5337739
    Regards
    Ayyallas

  • 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

Maybe you are looking for

  • Can I get Garageband to recognize the drum kit channel on my midi keyboard?

    I can pull up a large selection of drums on one of the channels which are located on the first 16 white keys of my midi keyboard, unfortunately they aren't accessible like the other midi instruments but are on a channel all on their own. I am using a

  • Exporting 400 emails and merging into 1 pdf

    I have to export 400 or so emails from Mail into one PDF document to enter into evidence for a legal case. Does anyone know how I would go about this? Many thanks in advance for the loan of your esteemed brains. Message was edited by: Living In A Box

  • How to upload my fillable PDF to my website?

    I created an interactive PDF application form for my company and we want to be able to upload it to our website and make it so that people can fill it out online and submit it. I do all of the back end work on our website through Wordpress and was wo

  • Premier Pro 2.0  Output to AVI is making the Video 24p

    Hi: I've run into a Premier Pro 2.0 mystery I've not encountered before. I have a sequence that I want to export to avi. It is a mix of 16 x 9 video (not hi-def), and photos. Its a widescreen project. I've done this type of project before, never had

  • MDB from AQ in OC4J R2 developers preview.

    Does any one have an example of the configuration reqired to instantiate MDBs from an Oracle AQ. I can see no Oracle docs on this although it is listed as one of the features in OC4J R2. Cheers, Matt