Workflow status "In progress" remains after everything has been executed

Hello,
I'm running into a problem with visual studio workflows I'm using in my solution. It appears that some workflows randomly don't finish while the same workflow finishes just fine for an other listitem. So I got a small test envoirment which creates 30 listitems
and starts the same workflow (with 1 task inside) for all those items. After that I got some custom code which alters every task to be finished. So when the problem appears the task inside the workflow is finished, but the workflow itself remains "In
progress".
Only 3 - 5 out of 30 workflows usually remain "In progress" and sometimes every workflow is finished, so I'm wondering what the cause could be here? Sometimes a single workflow also remains "In progress" so the heavy load due to many
workflows being finished at the same time can't be the reason in my opinion.

I got a follow up question, which might lead to a solution for my problem. I'm trying to figure out how to terminate a workflow programmatically. I've found severals ways to cancel a workflow but since that's not the result a user might expect, after everything
went fine, I'm looking for a piece of code to end the workflow as it would normally do.
I understand why there is no api for this code, since a workflow normally should stop by itself, but as I pointed out in my first post that's not always the case for me.

Similar Messages

  • TS1702 I just had to restore my iPhone.  After everything has been backed up from the iCloud, 4 of my apps (Facebook, Twitter, Pinterest and Instagram) will not comeback.  They are stuck on "Waiting" and I cannot open or delete them.  HELP, please!!!

    I just had to restore my iPhone.  After everything has been backed up from the iCloud, 4 of my apps (Facebook, Twitter, Pinterest and Instagram) will not comeback.  They are stuck on "Waiting" and I cannot open or delete them.  HELP, please!!!

    I just had to restore my iPhone.  After everything has been backed up from the iCloud, 4 of my apps (Facebook, Twitter, Pinterest and Instagram) will not comeback.  They are stuck on "Waiting" and I cannot open or delete them.  HELP, please!!!

  • What is causing my usage to increase after EVERYTHING has been disabled and shut off?  I reset my stats and sat in the same spot on wifi over last two hours and watched my usage go up

    data usage increases on wifi

    Hi there sambranoronnie,
    It sounds like you are seeing lots of cellular data being used when it should be using the Wi-Fi connection for data. I would use these troubleshooting steps from the following article to help you resolve the issue here:
    iPhone cellular data connection issues
    Toggle airplane mode: Tap Settings, turn airplane mode on, wait three seconds, and then turn off again.
    Restart your iPhone.
    Make sure that your software is up to date:
    Check for a Carrier Settings Update: Tap Settings > General > About.
    Check for an iOS Software Update: Tap Settings > General > Software Update.
    Some updates may require a Wi-Fi connection.
    Remove the SIM Card and reinsert it. Allow the iPhone to acquire the network again.
    If your SIM card has SIM PIN enabled, try turning it off: Tap Settings > Phone > SIM PIN.
    Try another location. If a different location works, but the original location still doesn't, contact your carrier to report the issue.
    Reset network settings: Tap Settings > General > Reset > Reset Network Settings.
    Resetting network settings on your device will erase all current saved settings, including Wi-Fi passwords, preferred networks, and VPN settings.
    Restore the iPhone as new.
    If none of the above steps resolves the issue, contact your carrier, make an appointment at an Apple Retail Store, or contact AppleCare.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • How can i download my safari back to my macbook pro after EVERYTHING has been deleted and I don't have the disk

    MacBook Pro (15-inch, Mid 2009) and (15-inch, 2.53 GHz, Mid 2009)
    I recently bought my macbook pro from my brother and he deleted EVERYTHING off it and I do not have the disk that came with it. And now i cant get on safari or no type of internet or nothing!! HELP PLEASE!!!!!!!!!!!!

    You're going to have to get the disc(s) back from your brother or call Apple at 1-800-MYAPPLE and havethem mail you the machine specific disc(s) that shipped with your model.
    Clinton

  • Locked rows remained after Workspace has been deleted or closed

    Hi!
    I have big problem. I am unable to update rows in versioned table.
    I get message "Unable to Update row. ... Row is locked in workspace XXXX ", but there is no workspace XXXX. This workspace was deleted or merged....
    How can i get rows unlocked? executing function UnlockRows wasn't successful.
    Can i delete tablename_LOCK view?

    Thanks for your answer. I will try to do this.
    This is happening only in one table. I have more than 2000 locks but currently no workspace active. All workspaces are deleted or closed.
    Row Locks are from different workspaces.
    I will try to find out what cause this state.
    This database was upgraded from 9.2 to 10.2.

  • Photoshop CS5 shortcut problems after panel has been executed

    Hi,
    I have a problem with Photoshop panels.
    After executing a panel keyboard shortcuts stop functioning, especially copy/paste.
    My panels are simple one-button panels that call a bunch of Javascript functions.
    I tested it with a simple "create new file", with a more complicated Export panel and with the sample Colorpicker panel that is shipped with the SDK.
    After activating them the keyboard shortcuts do not work anymore.
    I am using Photoshop CS5 64Bit.
    I searched through the forums and it seems two other users had a similar problem without ever getting an answer, but I do not know where to ask if not here.
    The other two threads are these:
    http://forums.adobe.com/message/4020737#4020737
    http://forums.adobe.com/thread/744774?tstart=0
    Thanks for your help,
    Cheers,
    Malte

    Yes, basically we have all the default fonts installed on our computers, but we use a program called Universal Type Client to get the fonts we need, and UTC grabs fonts from a server and temporarily makes them usable on our computer. But everyone has this software so I dont think that would have anything to do with it.
    Could it possibly have something to do with my Video Drivers or Graphic Cards? Our tech guy mentioned it was strange that my computer had two different things (I believe he said I have a CORE i7 vPro and Nvidia NVS 5200M or something and that they may be competing?) or the amount of monitors Im using?

  • Tiles- Cannot forward after response has been committed Error

    I am trying to use following approach for my tiles implementation but i am getting error like
    java.lang.IllegalStateException: Cannot forward after response has been committed.
    I have gone thorugh the other posts regarding the same error but not helping me.
    Any clues greatly appreciated.
    Thanks,
    Sachin
    "I haven't found a way to directly dispatch to a tiles definition, but you can eliminate the need for multiple "wrapper" JSPs by creating a single "tilesDispatch" JSP that is able to dispatch to different tiles definitions, and establishing a convention for mapping URLs to that JSP, and identifying the tiles definition you want to load.
    For example, you could use the following convention to identify a tiles definition:
    /tiles/defName
    where "defName" is the name of the tiles definition (from tiles.xml) that you want to use. The code for the tilesDispatch.jsp would be as follows:
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib prefix="t" uri="http://jakarta.apache.org/struts/tags-tiles" %>
    <%
    String tilePath = request.getRequestURI();
    int slashIndex = tilePath.lastIndexOf('/');
    if (slashIndex >= 0) {
    tilePath = tilePath.substring(slashIndex+1);
    %>
    <t:insert definition="<%=tilePath%>" flush="false"/>
    The scriptlet code takes the request URL (e.g. /tiles/defName), strips off everything up to and including the final slash (e.g. defName), then the tiles "t:insert" tag is used to look up and insert the corresponding tiles definition.
    In order to map all URLs of the form /tiles/* to the tilesDispatch.jsp, you would need to add the following to your web.xml:
    <servlet>
    <servlet-name>tilesDispatch</servlet-name>
    <jsp-file>tilesDispatch.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
    <servlet-name>tilesDispatch</servlet-name>
    <url-pattern>/tiles/*</url-pattern>
    </servlet-mapping>
    Note: You may need to insert a slash before tilesDispatch.jsp in the <jsp-file> element. I am using pre-compiled JSPs, so my configuration is a little different. So if <jsp-file>tilesDispatch.jsp</jsp-file> doesn't work, try <jsp-file>/tilesDispatch.jsp</jsp-file>.
    Once you have this set up, you can refer to tiles definitions using the /tiles/defName convention in your faces-config.xml. For example, if you have two tiles definitions in your tiles.xml file: tile1 and tile2, you could have something like the following in faces-config.xml:
    <navigation-rule>
    <from-view-id>/tiles/tile1</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/tiles/tile2</to-view-id>
    </navigation-case>
    </navigation-rule>
    Note that when I have used this convention, I also have used the prefix mapping for JSF. That is, when linking to a JSF page, based on a tiles definition, from a non-JSF page, the URL would be as follows:
    /faces/tiles/defName
    In this case, the Faces servlet is initially invoked, which sets up the JSF environment. Then the /faces prefix is stripped off, and the remaining URL (/tiles/defName) is routed to the tilesDispatch.jsp, which strips off the /tiles/ prefix, and inserts the "defName" definition.
    We are currently using this approach in a number of web apps, and it is working very reliably. I hope this helps.

    Hi gimbal2,
    I hope to better explain.
    In my JSF code I have the next:
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:fn="http://java.sun.com/jsp/jstl/functions">
         <h:body>
              <ui:composition template="/template.xhtml">
                   <ui:define name="page">
                        <h:head>
                             <h:outputStylesheet ...
                        </h:head>
                        <h:form id="form1">
                             <rich:dataTable      id="table"
                                            value="#{listBeanRequest.elements}"
                                            var="element">
         </h:body>
    </html>
    In the listBeanRequest class, the method getElements() has a line, Integer h = Integer.valueOf("a");, which efforts the java.lang.NumberFormatException
    An in my web.xml I have:
    <filter>
         <filter-name>SecurityFilter</filter-name>
         <filter-class>my.filter.SecurityFilter</filter-class>
    </filter>
    I'm using JSF 1.2 running on Apache Tomcat 6

  • HT5622 I made a new Apple ID and everything has been changed and then I am trying to update candy crush and it is asking me for an old apple  ID and  this hasn't happened before

    I made a new Apple ID and everything has been changed and then I am trying to update candy crush and it is asking me for an old apple  ID and  this hasn't happened before

    Games and media are forever tied to the AppleID used to download them.
    Either log in under the old ID to update Candy Crush or delete the game and
    then download it under the new ID. All in-app purchases and progress will be lost.
    Why did you make a new AppleID, if I may ask?

  • Failed to start workflow. The workflow cannot access the item that it has been applied to.

    I have a quick question for you and it would be great if you can answer me on this.
    I'm working through SharePoint Workflow issue (developed using Nintex) that started recently where people are getting workflow error and I don't see issues if I submit it myself. Current error. - "Failed to start workflow. The workflow cannot access
    the item that it has been applied to."
    I haven't made any major changes to Workflow except for changing email notification content and publishing it. My question is, do I need to publish the rest of the workflows too that are associated to the list after I publish changes of one workflow? Looks
    like users have required permissions to submit the form. Please let me know how to get rid of this error.
    smith

    Hi Smithspd,
    According to your description, my understanding is that your users got a workflow error, and the workflow is created by Nintex.
    For SharePoint Designer workflow, once we do any change in a workflow, we need to re-publish the workflow.
    For your issue, I suggest you re-publish the workflow, compare the result.
    In addition, as your workflow is created by Nintex and this forum is for SharePoint Designer, I suggest you ask Nintex support or forum for better help.  Thanks for your understanding.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • What do i do with my downloads in my downloads folder after software has been updated? do i move it to trash? or??

    what do i do with my downloads in my downloads folder after software has been updated? do i move it to trash? or??

    So it would be safe to just delete them? the reason why i ask is because for example  when i first stared using youtube on my macbook pro(OSX Lion) it required the flash update. I updated flash but the download still remained in the download file on the dock. So it would be safe to delete once it was updated correct?

  • How to forbid any further changes for PO (QTY and price ) after it has been

    Hi,
    How to forbid any further changes for PO (QTY and price ) after it has been done GR and LIV? Thanks.

    Hi,
    Price anyway cannot be changed once GR is posted on the PO item, it can be changed only by cancelling the GR, the same applies to IR too.
    But quantity can be changed at any time.
    So if you are looking at blocking qty too, then a customized message through save exit is the option, I am not aware of any standard SAP messages that can be configured to achieve this..
    Ramesh

  • On my PC, in I-Tunes, my iPod (touch) button disappears every time I try to sync or update.  Everything has been rebooted, but no changes. Any ideas on how to sync to the IPod?

    On my PC, in I-Tunes, the iPod (touch) button disappears every time I try to sync or update.  Everything has been rebooted, but no changes. Any ideas on how to sync to the IPod?  Better yet, how to keep the ipod button on screen when itunes is open and the ipod is connected?

    - Have you tried another USB port and cable?
    - Inspect the dock connector for bend or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.

  • Set Cursor.vi fails after it has been called for 30 different panel refs in LV 7.1.1

    Make sure both attached files (Run LabVIEW_Cursor_TestCase.vi, SimpleVI.vi) are in the same folder. Run LabVIEW_Cursor_TestCase.vi notice that the -3 error code is returned from "Set Cursor.vi" after it has been called with 30 different panel refs. If "Set Cursor.vi" is replaced with "Set Busy.vi" the same error occurs.Is there a workaround for this problem other that setting the cursor image manually in user32.dll? I must be able to open more than 30 panels and set them all to busy. In the test case I used a single VI, simply to demonstrate the error.
    Message Edited by Jerred on 05-04-2007 10:06 AM
    Attachments:
    LabVIEW_Cursor_TestCase.vi ‏68 KB
    SimpleVI.vi ‏13 KB

    This bug is fixed in LabVIEW 8.0 and later.  Unfortunately, I know of no workaround in LabVIEW 7.x.  When I encountered this bug in one of my UIs in LabVIEW 7.x, my "fix" was simply to ignore the error outputs from the cursor VIs, and to live with the fact that I had no custom cursors after 30 windows had been opened.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • TS4463 I am using Windows Vista with Outlook 2007 and iCloud.  Everything has been great until this morning.  I'm suddenly getting the message "Set of folders cannot be opened.  The information store could not be opened.

    I am using Windows Vista with Outlook 2007 and iCloud.  Everything has been great until this morning.  I'm suddenly getting the message "Set of folders cannot be opened.  The information store could not be opened.  I tried running the repair utlity to repair the iCloud however I am still getting this error message.

    I tried rebooting.  It didn't change anything.

  • When i plug my ipod in, it shows up on desktop as a hard drive, but wont show up on itunes. All my music/videos everything has been wiped off somehow, restored it and still wont work! Please help!

    When i plug my ipod in, it shows up on desktop as a hard drive, but wont show up on itunes. All my music/videos everything has been wiped off somehow, restored it and still wont work! Please help!

    - Have you tried the troubleshooting here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    - You can try disabling the camer notification
    http://support.apple.com/kb/TS1500
    - Do you have any camera, scanner or similar software installed?  That may prevent iTunes from seeing the iPod.

Maybe you are looking for

  • Adobe Creative Cloud will not Sync Any Files/Folders (MAC OSX)

    I am posting this more as a guide for people having similar issues than I am a question, as it has already been resolved but I could not find this answer anywhere on the forums. Here was my situation: After a fresh install of a completely empty creat

  • Problem with Persistence.xml in JDev final after migration

    Hi, I am trying to migrate a current project from JDev 11gTp4 to the JDev production release. When deploying the EJB module I get the following problem though (Stack from DefaultServer.log) weblogic.application.ModuleException: Exception preparing mo

  • RZ70 Abap to push data to SLD not working

    Hi All, Recently for one of the staging system we moved from physical server to VM. Instance number got changed from 01 to 00 - just to keep in sync with other SRM systems. (SAP SRM 7.0). Now to push this data to SLD, RZ70 is not working. its spinnin

  • How to get a week number  for the year using oracle sql query?

    hi everyone, i have the requirement to find the week number for the calender.. so that week number should start with 01 when the year starts and it should end with week end date(that is first saturday of the january month).. so next week number start

  • Inserting Multiple Rows into Database Table using JDBC Adapter - Efficiency

    I need to insert multiple rows into a database table using the JDBC adapter (receiver). I understand the traditional way of repeating the statement multiple times, each having its <access> element. However, I am just wondering whether this might be p