Workflow Process stuck in Active status

Hi,
My workflow stuck in Active status and user is not able to proceed further. But it is not happening every time. Sometimes the process activty gets stuck. Could anyone please let me know the reason for this behaviour and how to fix this issue?
Thanks

You need to get more information as to what is going on, identify more facts around the issue:
1. First off, run wfstat.sql to get a history of the activities of the process as well as its attribute values.
2. Once the workflow gets 'stuck' what makes it progress? For instance, does running the background engine with parameter Stuck processes=Yes fix the problem?
3. Are there activities deferred that do not get process by the background engine?
4. Does the process get stuck after a notification is responded to but 'nothing' happens?
It would also be useful to have the complete DB version.
Regards,
Alejandro

Similar Messages

  • Cannot execute workflow process definition

    Hi,
    I am new to Siebel. We are researching on Siebel Public Sector Case screens.
    I have installed Siebel Client & Tools and defined the Debug configurations in the Tools. When I hit F5 in Tools, the Client loads. However, when I click on the Eligibility button on the Case screen I am rendered the error: *"cannot execute workflow process definition 'PUB Eligibility Determination Workflow'. (SBL-BPR-00158)"*.
    Browsing through the Administration - Business Process -> Workflow Monitor, I noticed that none of the Workflows (available in the Tools) are getting displayed. Please let me know if there is any configuration that I might have missed out.
    Thanks in advance.

    Hi,
    In case this is a new installation of Siebel, by default Workflow processes are not activated on the Server. As a result you will face the mentioned error.
    In this case just go to the Administration - Business Process -> Workflow Deployment -> Repository Workflow Processes and in the top applet query for the Workflow causing the error. Also query for the same in the lower applet as well. If there is no record in the lower applet or if the Repository Version in the lower applet is not matching to that on the upper applet, you need to click on the Activate button on the Top applet to enable the latest version on the server.
    By Check In process it means that you check-out i.e. lock a particular object for exclusive modification and then checking it in i.e. publishing the changes onto the server for all the other developers.
    With Regards,
    Tanmay Jain

  • Workflow activity stuck at Custom Nodes and is in Active Status

    Hi Team,
    We have one issue with our Custom Order Management--> Order  Booking workflow. Can you please help us.
    Issue:
    Our Workflow Activities are in the following sequence.
    Start --> Activity A ---> Activity B --> Activity C --> End
    Code at Activities A, B, C involves Third part tool Integrations which involves business events, invoking Https Urls with Req/Res Xmls
    Ideally whenever an issue encounters at any one of these nodes, either workflow should go back or should proceed further.
    But in our case, process gets stuck at some Node (either A, B or C) with Activity status as ACTIVE. Upon checking Workflow diagram, seems there is no 'Y' or 'N' signal from any one of the above activities, once processes at respective Activity's gets completed.
    Can you please review this issue and suggest if anything could be checked.
    1) We came across some hint in google and found that missing COMMIT statement could be the issue.
         But we checked our custom code and there is no issue with COMMIT.
    2) We have even checked the FINAL RETURN status at each of the Activity's by adding debug messages and we could see that the return value is appropriate but not sure what is causing this
         issue.
    Upon retrying the Activity from Workflow Administrator resp, the same activity (that is stuck before) is getting Completed Normally.
    Also this is an intermittent issue and not sure, if this is happening inconsistently due to some environment params or some load related.
    Request you to review the problem and suggest if anything needs to be checked.
    Thank you,
    Lokesh G
    Oracle Apps Consultant

    Hi Team,
    Request you to please check the issue and provide your suggestions.
    Your help is much appreciated.
    Thanks
    Sreenivasulu M

  • Workflow Activation Status is Runtime exist

    Hi All,
    I have transported a WF in ECC5.0 system from Development to Quality .
    In Quality System, When  i checked in SWDD that Workflow is not activated.
    Its Showing as 'Runtime Exists', Saved
    Please let me know what i have to do now.
    Do i have to re-import the Transport requests.
    Regards,
    Vaibhav

    Hi Bhumika,
    Workflow was active at the time of Transport.
    No error\warning in transport log.
    I executed the workflow in my Quality system and after that i went to SWDD and there i saw a new runtime version was created after i executed the WF. There are so many runtime versions created after the transport to Quality system.
    I already re-imported that transport request to Quality system.
    But still the Workflow is in Runtime Exist status(not Activated).
    Now i have generated a New Version of workflow in Development system and i m going to transport it.
    Please let me know if i have to take care for any particular things before transporting.
    Regards,
    Vaibhav

  • Background step in workflow remains in process: Workflow gets stuck up

    Hi Gurus,
    I have custom workflow for organization management. The workflow takes information from e-forms(notifications) and updates the infotypes.
    The step which updates infotypes is run as background step.However in some cases the workflow gets stuck up in this step.
    This happens irregularly (once or twice in a month).
    On processing these workflow instances using SWPC , nothing happens and the workflow remains stuck up in the same step.
    Also checked for dumps but nothing available under WF-BATCH.There is no regular pattern for occurance of these instances.
    Can you please suggest what can be the possible cause of them getting stuck up in the background task.
    Regards,
    Rohit

    Check ST22 shortdumps again. Look not only for WF-BATCH but also look for the intitator or the last processor's ID. Sometimes they would be the assigned the user to execute the step ecven if it's a background task.
    Also, I would suggest looking through the code of the method that is being executed carefully. Make sure there are no 'EXIT' or LEAVE' statements. This could also 'sometimes' cause the background process not to return correctly. In addition, check that you are not executing an ever lasting loop.
    If you have access in PRODUCTION, try to execute the method in debug mode to see where the program is inappropriately stopping (t-code SWO1).
    Derrick
    Banks & Company, LLC

  • Plz help me how i remove previous id that is stuck in activation process and me not know password and id  plzzzz help m,

    plz help me how i remove previous id that is stuck in activation process and me not know password and id  plzzzz help m

    Read this: http://support.apple.com/kb/PH13695
    If it is locked with your ID, then re-set the password at https://iforgot.apple.com

  • Color workflow process status

    Hello,
    i want adding some color to the workflow process status.
    I find a link (http://www.orahyplabs.com/2010/08/customize-workflow-in-hyperion-planning.html) ...that explains how to do this...and so I'm wondering how access to two tables HSP_PM_ACTIONS
    and
    HSP_PM_STATES
    Cheers,

    in SQL Server I executed the code:
    update HSP_PM_STATES set COLOR = 'BLUE'
    where name = 'First Pass'
    update HSP_PM_STATES set COLOR = 'ORANGE'
    where name = 'Under Review'
    update HSP_PM_STATES set COLOR = 'GREEN'
    where name = 'Approved'
    update HSP_PM_STATES set COLOR = 'PURPLE'
    where name = 'Signed Off'
    update HSP_PM_STATES set COLOR = 'RED'
    where name = 'Not Signed Off'
    there's the color of the status 'First Pass' is changed to 'Blue'. the color of other statutes not.
    I verified the syntax of the names of various statutes ... it's okay
    why the other colors are not displayed
    i use Version 11.1.1.3
    cheers,

  • DIM Workflow - How can I return task status for workflow process

    Hi all,
    I'd like to build a DIM workflow process to run a unix shell script. Under the workflow, I've created a task object and assign the unix shell script into it.
    Although the DIM workflow works fine to run the unix shell script in the normal case, however, it cannot return the error status in the task when my shell script is failed (such as exit 2 at the end of script).
    May I know if there any setting in the workflow/task, in order to change the status on DIM workflow.
    Many thanks,
    hw

    Hi Ramesh
    Thanks for your reply but is it possible that i can go in as sysadmin user and update the notification .I tried looking into the sysadmin user and workflow admin but i couldnt find it .It says that i cant update the notification that has already been approved

  • Email notifications stuck in Mail status

    Hi,
    The notification mailer is up and running and we receive emails when we run the test. However, when a user goes through the application, lets say the Purchase requisition process, the process completes successfully, we see the notification in his worklist, we see the notification in the wf_notifications table with status of MAIL, but the user does not get the email notification. The email address is defined both on the employee record and on the user record. The background process is running but it doesn't pick up the notification. After a while the notification gets expired.
    does anyone have any clue as to why the test notification from the mailer works but we don't get an email when we go thru the requisition process although it completes successfully ?
    Any help is appreciated.
    Regards
    Preeti

    There are various aspects to troubleshooting this issue.
    Let me explain the mailer architecture in a nutshell and then troubleshooting tips.
    1. Notification activity in a workflow process is executed by the engine. The activity makes an entry in WF_NOTIFICATIONS table with appropriate values for RECIPIENT_ROLE, SUBJECT and MAIL_STATUS based on recipient's notification preference.
    2. At the same time, an business event is raised for that notification and enqueued on to the WF_DEFERRED queue.
    3. The Workflow Deferred Agent Listener dequeues the event, builds a XML message for that notification and enqueues it again to WF_NOTIFICATION_OUT queue.
    4. Workflow Notification Mailer polls the WF_NOTIFICATION_OUT queue and when a message arrives, it dequeues it, parses the XML for that notification and builds a MIME message. Sends the MIME message to the intended recipient_role's e-mail address.
    In summary the message for e-mail goes like this...
    Ntf Activity -> WF_DEFERRED -> WF_NOTIFICATION_OUT -> Notification Mailer Now things to check.
    1. Is the Deferred Agent Listener or Deferred Notification Agent Listener running?
    2. Is the Notification Mailer running with Correlation ID parameter set to null? Because the mailer could be configured to only process e-mail notifications from a specific Item Type.
    3. Is the intended RECIPIENT_ROLE's e-mail address and notification_preference values in WF_ROLES view correct? The email address should be valid and notification preference should be MAIL%.
    There is a debug script $FND_TOP/sql/wfmlrdbg.sql. Run this for the given notification id and you will be able to see in which queue the message is stuck.
    Hope this helps.

  • Drop Ship workflow Process Name

    Hello,
    Does anyone know the seeded Process Name that could be used for drop ship orders. According to the documentation I've read about drop ship, they explained to use the Generic Order Flow which I did. The problem is with the line level process name. I've tried Line Flow Generic and several other process names but my orders get stuck at the booking level. Other types work just fine. I've also changed the source type to external but nothing works!
    I'm using Vision 11.5.7
    My setup is as follows:
    Item = transactable, stockable, customer ordered, customer orders enabled, shippable, oe transactable
    transaction type: Drop ship, order category= order, order workflow = order flow- generic, Assign line flows-->Process name= Line flow- generic
    Line type --> source type= external
    Set up defaulting rules as well
    Orders get stuck at booking! Should be awaiting receipt
    Your help will be appreciated
    Cheers
    Riad

    Hi Sandeep,
    Are you sure whether the Workflow Background Process has picked the order line and workflow activity is not errored out? Please check the workflow, has it completed Purchase Release activity or is it still in the Purchase Release - Deferred state?
    If the workflow is in the Purchase Release - Deferred state, then the line will be in the Booked status. So, run the WBP program (item key - OM Order Line, Process Stuck - Y, Process Timeout - N) & see the line workflow activity & the line status should be progressed to Awaiting Reciept.
    Also, make sure you have provided the List Price (greater than zero) & Default Buyer in the Purchasing tab at the Item master level for the dropship item. If these information are not provided then the Requisition will not be created.
    Regards,
    Hemanth

  • FTP error in oracle workflow process

    Hi All,
    I have written a workflow process which deletes a file on FTP. The process is deleting the file but is showing a warning message. Does anybody have a idea regarding this. One more thing even if file is not found the process completion status is successful. Its status should be error.
    The ftp site is on the same machine as owb server.
    The following values have been passed
    Command: ftp
    Parameter List: /-A/localhost/
    Success Threshold: 0
    Script: delete filename
    Output Message Received:
    Starting Execution ETN_DELETE_FILE
    Starting Task ETN_DELETE_FILE
    Starting Task ETN_DELETE_FILE:FTP
    Completing Task ETN_DELETE_FILE
    Anonymous login succeeded for [email protected]
    WARNING: Log file truncated - see RAB for further information.
    Completing Execution ETN_DELETE_FILE
    Please let me know about this.
    Thanks & Regards
    Bang.

    I am not saying your method is not correct, but if you give a shot to go with User Defined Activity. Yep that's correct , just write line in a shell script and call that script in user defined activity.
    Property values
    command ksh
    script     pathname with that script file name (/tst/usr/script/filename.ksh)
    or
    command     mv
    parameter_list     pathname with that filename
    I feel this is very simple and easy to manage too.

  • Recommandable Profile Option PO:Workflow Processing MODE (Background/Online

    Hi
    We are using oracle11i 11.5.10.2 on windows 2000 server
    which Value is Recommendable for Profile Option PO:WORK FLOW PROCESSING MODE (BACKGROUND or ONLINE)?
    for PO Approval
    Thanks
    With Regards
    A-Z

    Hi,
    It is advisable to Set "PO:Workflow Processing Mode" profile option to "Background" which is a default value
    If you set it as Online, it completes an entire approval workflow process before letting you proceed to the next activity, but provides you with an updated Status (for purchase orders) as soon as it finishes.
    When this profile option is set to Background, you must start the Workflow Background Engine, which you access through the System/application Administrator responsibility. It is recommended that you set this process to run frequently (Schedule), if you are using it for Background mode approvals.
    /S.P DASH

  • Async call gets stuck with pending status

    Hi,
    I am working on Tasklayer where need to invoke Async. call, the .bpel file has Invoke activity and below that it has pick activity with branches one for OnMessage and another is also OnMessage but, this is for fault. Now, when it invokes the Async. what i see in the instance is that the OnMessage activity gets stuck in Pending status, it doesn't proceed further. Kindly let me know if any one has faced similar issue.
    Thanks & Regards,
    Sanjay

    Hi Sanjay,
    you are saying that u r calling an asyc process.
    So as an async process do not send the response back to parent through same port, you have to send the fault back to parent by invoking it(parent).
    Here you can send the fault by using existing callback port otherwise you can define separate port for fault can send through that(you have to do it in WSDL).
    So here for the first case no need to have the pick as u r getting both success and fault through same port. If you are going for separate one you have to have pick(one for success and other for faulted one)
    So as Steven said you have to have a catch and invoke to send the fault back to parent.
    Regards
    PavanKumar.M

  • Not able to find Workflow processes

    Hi all,
    I need to check Sales order line workflow for a stuck sales order. I have Workflow administrator, when I log in through that and click on Find Processes, The Find processes window opens; but the Item Type dropdown has only "All" value. No other workflow names are availble. Please help.
    Thanks,
    Sudip

    I need to check Sales order line workflow for a stuck sales order. I have Workflow administrator, when I log in through that and click on Find Processes, The Find processes window opens; but the Item Type dropdown has only "All" value. No other workflow names are availble. Please help.If SYSADMIN is the workflow administrator then you need to login as that user to see all workflow items.
    User is Able to Query Only the Workflow Items They Own in Status Monitor [ID 755223.1]
    Unable To Login As Workflow Administrator As Sysadmin [ID 396821.1]
    Thanks,
    Hussein

  • SAP Workflow got stuck

    Hi Guys,
    We have a very peculiar situation in our project where a workflow got stuck in the system when processed.
    We have Leave Request as workflow in our system, it has been there for around 2 years and so. It's been working absolutely fine but couple of days ago when an employee raises a request for leave, it gets stuck in the system after being rejected (2 points I'd like to bring to knowledge that it was not the first time any request was being rejected and the user in question had many other requests which worked absolutely fine).
    The request shows in the inbox of the approver but when he opens he can't do/see anything (creates a lot of confusion for him).
    We have already fixed the issue by approaching the requester and asking him to delete his request BUT still everyone is wondering how the situation had arisen.
    Has anyone faced something this before? Can anyone explain me situations under which it can happen?
    Anything that makes sense and helps us to avoid the situation in future.
    Thanks in advance,
    Sean

    I am a bit confused. You say that a work item is stuck in the user's inbox, but then you say that the issue has been fixed? If the work item is still in the inbox, but a user cannot process it (or it opens as empty, etc.), I would say that you still have an issue. This is not normal.
    You need to get rid of the work item (perhaps after this your department lead will relax?). What is the status of that work item that is sitting in the inbox? If it is NOT in status COMPLETED or CANCELLED (=logically deleted), then it is logical that the work item is still in the inbox. Then you just need to logically delete the work item (or preferably you should delete the parent item of the whole workflow).
    If the work item is already completed or deleted, but it is still visible, then you have something wrong in the system. I assume that by inbox you mean UWL? If UWL is displaying an already completed item, then your problem is in UWL / Portal server (probably you need to clear cache, perhaps restart the server, or something like that).
    What comes to the root cause analysis: You need to open the workflow log and check the details of each work item. You should pay attention to the approval work item (and if there are no error messages in that, then check the parent work item). Perhaps you will find there some semi-logical explanation for this problem ("Work item cannot be completed because of...").
    Kind regards,
    Karri 

Maybe you are looking for