Process Flow showing as busy - though Complete

Hi,
A Process Flow is stuck because one mapping had only two out connections - OK, and Error, but no 'OK with Warning' route. The Process Flow was then moved forward by using 'Expediate'. The Process Flow completed, but the Status in the Runtime Audit Browser still shows the status of the Process flow as busy.
How can this status be reset to complete?
- Jojo

Hi
Use the following scripts from ORAHOME\owb\rtp\sql to complete your process flow in OWB:
1. list_requests.sql : list the busy runnings
2. deactivate_execution.sql : deactivate your process flow
3. deactivate_execution.sql : set status to complete your process flow
Ott Karesz
http://www.trendo-kft.hu

Similar Messages

  • Oracle Workflow - Process Flow showing as busy

    Am working on a Workflow that has several mappings strung together. The Mapping is successfull, but the status shows up as busy.
    How can we diagnose/debug?
    Same thing is showing up on Workflow Monitor.
    - Jojo

    Hello Jojo,
    Look at one of my previous posts on how to expedite stuck processes:
    Re: Process flow stuck while execution - Fork being used
    The Workflow documentation on "stuck processes" mentions setting up "Background Workflow Engines" that periodically check for processes that cannot proceed and terminate them.
    There has been some OWB-related discussions on this in the Workflow forum, eg:
    Re: Engine:  process in NOTIFIED status
    Regards, Hans Henrik

  • Process Flow with Status Busy

    Hello
    In Warehouse Builder Browser I have one Process Flow with Status Busy. I have restarded the whole server and status is still Busy.
    Through Oracle Workflow I try to Find Active Processes and there just is no one.
    Why is my Process Flow still Busy and how do I stop it? (Maybe the there is an error in Warehouse Builder Browser, it is not busy?)
    Best regards,
    Tina

    Just logout and login into Warehouse Builder Browser again. It is not busy any more ;-).
    /Tina

  • Process Flow for the Business Scenario

    Hi,
    The scenario is service industry ex. House keeping service.
    We are using Project system module for the above service industry. The modules which are being implemented apart from PS are SD, MM, FICO and HR.
    The Project duration is normally 1 year. The client requirements are as follows:
    1) Quotation price should be based on the planned cost of the project (No Inquiry)
    2) Create a Contract once Quotation is approved.
    3) Month wise billing based on actuals of resource and materials consumed for the project.
    As per my understanding, Resource related billing and Easy cost planning to be used. Pl let me know whether this is correct and let me also know how to handle the above scenario.
    Rgds,
    Prasad

    Hi,
    You are correct that you need to do resource related billing for your requirement.
    Basically, In your scenario, once you get a go ahead from PS, you will be able to create a contract.
    You can use the standard contract document type and assign the WBS element created in PS to it either at header level or at item level depending on your requirement.
    Create a DIP profile in PS.
    Create a new item category and attach this DIP profile to your item category. Based on this the system will be able to identify that RRB needs to be performed on this material.
    You can post the costs in PS or FI using various activity types. Once the costs are posted to the activity type, you can run RRB by using transaction DP90.
    (This will bring on all the costs which are associated with this line item/WBS element.)
    Then in DP90 you can create a billing request, this will create a debit memo, and then you can do a billing to this debit memo.
    Thanks

  • Mapping complete - process flow busy

    Hi all,
    I've a problem with a process flow I've imported from another server.
    If I run this process flow in the testing server it runs and complete without problems.
    Now, I've imported this process flow in the production server but it doesn't complete. In Audit browser I see that all mappings have "complete" status but the process flow is still busy after 1 hour.
    In the process flow there are 7 mappings and 3 user defined operations that use shell scripts.
    What I've missed?
    Oracle and OWB 11gR1
    OS: Sles 10
    Thanks
    Gul.

    Hi Gul,
    We are using OWB 11.1 and we've experienced the same thing.
    We solved this by:
    - adding an index on the runtime repository
    - clean up the runtime audit tables
    - collect statistics on the runtime tables
    There should be plenty information about the step above.
    If you're not familiair with it, then I can include it in a next message.
    - check the process flows for errors.
    We found out that some process flows got corrupted after export-import.
    Some transitions had flase numbering.
    Example: a mapping had an success (0), error (1) and warning (1).
    The error and warning lines had the same number.
    After correcting this the flows worked correctly.
    Regards,
    Emile

  • Audit  browser showing complete for all process flows.

    Hi,
    My process flows are executing success fully.
    Based upon the activities I am ending the process with END_SUCCESS, END_ERROR or END_WARNING acitivities.
    But here even, the process flow is ended up with END_ERROR activitiy the process flow status is shown as 'Complete'. But its not showing the final status as "Error".
    In the backend, in the audit tables its showing the return status as "Failure"
    Could any one please explain me, how to show its status as fialure.
    Thank you,
    Regards,
    Gowtham Sen.

    Hi,
    From your description, I know you do not want to close your browser when users sign out SharePoint 2013.
    As you know, “the browser has to terminate the session and clear the cache.”   You can customize your sign out page by referring to this article: https://controlzet.wordpress.com/2014/02/17/sharepoint-custom-sign-out-page/.
    Best Regards
    Vincent Han
    TechNet Community Support

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

  • Re-Run Partially Completed Process Flow

    OWB Version:10.2.0.2.8
    All,
    Is there a way to re-run a process flow from a point of failure i.e. if Process Flow A has 10 steps and failed on step 3, after doing some remedial work, I want to re-run the process flow from step 3 to completion. Any help with this would be much appreciated.

    Login to SQL PLUS as Workflow owner and run
    call wf_purge.Move_To_History(null,null)
    Search this forum for posts from Oleg from Kiev. He knows what he is doing and his posts helped me a lot. I have seen few posts from him related to this subject.
    Vladimir

  • Problem with execution of process flow

    Hello! I'm new in OWB, and I hope you will help me.
    I started execution of process flow and then connection to my server failed.
    The problem is: In Runtime Audit Browser all mappings are complete, but process flow is in "Busy" status. I waited for 24h, and nothing changed. (execution of mappings costed 4h).
    what should I do?

    Hi,
    Use any SQL tool like TOAD and see from the backend if the OWB process is running, if it is still running, kill it. Due to server connection failure the OWB process might have been killed but the Runtime Browser might show it as busy.
    Go the Workflow Repository Schema and run the following query:
    update wf_item_activity_statuses set activity_status = 'COMPLETE'
    where item_type = <Your Process Flow Package Name> and actvity_status != 'COMPLETE'.
    This should solve the problem.
    Regards
    -AP

  • Process Flow Error

    I ran into a problem with one of my process flows, within my staging area. I have not had this problem before. My process flow looks as follows:
    --- > Map2
    --- > Map3
    --- > Map4
    Map1 --- > Fork --- > Map5 --- > AND --- > Map 9 --- > Map10 --- > Map11 …
    --- > Map6
    --- > Map7
    --- > Map8
    Mappings 1 through 8 ran successfully and populated their staging tables. The process flow showed success of mappings 9 through 16 (the last one) and successful completion of the process flow. However Mapping 9 was still extracting data and had not yet loaded its staging table. I was watching the execution in OEM. Mappings 10 through 16 did not execute after completion of Mapping 9.
    This is a weekly large data load into our data warehouse so I will not be able to run this process flow again until this weekend. Map 9 was running with a degree of parallelism of 16, if it matters, and did not fail.
    Has anyone run into this issue before?
    Thanks.
    Scott

    user10483084 wrote:
    I ran into a problem with one of my process flows, within my staging area. I have not had this problem before. My process flow looks as follows:
    --- > Map2
    --- > Map3
    --- > Map4
    Map1 --- > Fork --- > Map5 --- > AND --- > Map 9 --- > Map10 --- > Map11 …
    --- > Map6
    --- > Map7
    --- > Map8
    Mappings 1 through 8 ran successfully and populated their staging tables. The process flow showed success of mappings 9 through 16 (the last one) and successful completion of the process flow. However Mapping 9 was still extracting data and had not yet loaded its staging table. I was watching the execution in OEM. Mappings 10 through 16 did not execute after completion of Mapping 9.
    This is a weekly large data load into our data warehouse so I will not be able to run this process flow again until this weekend. Map 9 was running with a degree of parallelism of 16, if it matters, and did not fail.
    Has anyone run into this issue before?
    Thanks.
    Scottperhaps there's an error at MAPPING before MAPPING10, but it's not detected
    I suggest you to add 2 transitionto COMPLETE ERROR and COMPLETE WARNING
    from MAP1; AND; MAP9, MAP10, MAP11, ...
    and fill the transition; enumerate ERROR for ERROR, enumerate WARNING for WARNING,
    and the other line; enumerate SUCCESS
    --- > Map2
    --- > Map3
    --- > Map4
    Map1 --- > Fork --- > Map5 --- > AND --- > Map 9 --- > Map10 --- > Map11 …
    --- > Map6
    --- > Map7
    --- > Map8
    so you can know what MAPPING that doesn't success, and you can test it manually with control center, to know the error message
    Thanks

  • EMail and SQLPLUS activity in process flow

    Hi Guys,
    I am struggling to get the email activity working. I entered all the details but no email is sent?
    Secondly, I had an easy sql plus script that I pasted into the script property box
    But the sqlplus just does not execute?
    truncate table xxx;
    quit
    Any ideas?

    Make sure there are no spaces after you have replaced DISABLED with NATIVE_JAVA.
    Any space after the NATIVE_JAVA will not work.
    Can you give details like what are you using Script or Parameter list etc ?
    Did you configure the deployed location for the SQLPLus parameter ??
    Regarding Your EMAIL -
    Is your process flow showing any error regarding email ??
    Create a simple process flow with email activity only.
    Set FROM_EMAIL , TO_EMAIL , SUBJECT ,MESSAGE_BODY, SMTP_SERVER , PORT
    SMTP_SERVER and PORT values are very important.
    Check connection to SMTP_SERVER by running the following command on dos prompt
    telnet smtp_server_name port
    If this works this means your smtp server is working. Now just deploy and run your processs flow.
    If it still doen't send you email, check whats in the log.
    The log should give you any errors regarding email like ORA-06512: at "SYS.UTL_TCP", line 17 ,etc (if any).
    Thanks,
    Sam.

  • Oracle Warehouse Builder Question about Process Flow

    Oracle 11.1.0.7:
    We currently have various mappings and what we want is in process flow to fork and merge back and only if all those mappings are successfully completed then go further in the process flow. I see that it allows fork for parallel processing but there is no merge. So how do I merge them all back and go to the next step in process flow. Next step of process flow is dependent on successful completion of all the previous mappings. And we want all the previous mappings to be executed in parallel for performance reasons.

    Could someone help answer my question?

  • Process Flow Question

    Oracle 11.1.0.7:
    We currently have various mappings and what we want is in process flow to fork and merge back and only if all those mappings are successfully completed then go further in the process flow. I see that it allows fork for parallel processing but there is no merge. So how do I merge them all back and go to the next step in process flow. Next step of process flow is dependent on successful completion of all the previous mappings. And we want all the previous mappings to be executed in parallel for performance reasons.
    I earlier posted this question on Database General.

    Hi ,
    Just use the "AND" operator in the process flow. Take the success transition from all your mappings to a SINGLE "AND" operator.
    Make the successful transition of all the mappings to go into AND operator. AND operator will make sure that all the mappings are executed and then it will be move ahead processing other activities in your process flow.
    After AND operator you can put a FORK or other mappings or any other objects in your process flow.
    Thanks,
    Sam.

  • Transform activity in Process Flow

    Hi Guys,
    After wasting hour trying to get the SQLPlus activity working I noticed that I can just drop the stored procedures into the flow as a
    "Transform activity". I linked everything up but as soon as I put the "Transform activity" in the process flow it failes with
    a complete failure. The OWB Browser gives NO details. It just says complete failure. The stored procedure aka. "Transform activity" validates fine
    and executes fine when I do it manually via the DB console.
    Any ideas?

    Hi MccM,
    The OWB browser tells me that the sql load worked and the procedure did not. (I am not familiar with audit views but I doubt that the problem is on the database side since the stored procedure complies fine from there). I noticed that I can configure the activity and set the execution environment with is "NATIVE" in my case. - I dont have any options there.
    Here is a [screen print|http://www.metallon.org/test/e34.jpg] of the OWB browser.
    This is urgend now so I would be very happy for any help and generously give out the "Helpful" post points :)

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

Maybe you are looking for