Workflow Soluiton

 View Only
  • 1.  Workflow Designer locking up when changing between models.

    Posted Apr 25, 2012 11:15 PM

    Hi guys,

    Recently I have been creating a web service and after creating about 2 or 3 invocation targets the Wrokflow Designer locks up when changing between models for about 30 seconds or so.

    The workflow at the moment has 7 invocation targets.

    Doesn't happen in other workflows with several models with only 1 invocation target.

    Does anyone know if there is a solution or a work around for this one?

    Many thanks,

    Max



  • 2.  RE: Workflow Designer locking up when changing between models.

    Posted Apr 26, 2012 07:19 AM

    Which version of Workflow are you using?



  • 3.  RE: Workflow Designer locking up when changing between models.

    Posted Apr 26, 2012 06:09 PM

    Symantec Workflow Designer 7.1.1460.1974

     



  • 4.  RE: Workflow Designer locking up when changing between models.

    Posted Apr 26, 2012 06:54 PM

    This also happens to me (using the same version of Symantec Workflow Manager) using Windows 7 x86.

    It appears that when I switch models, the csc.exe process starts and consumes an entire single thread of my CPU for a significant amount of time. This causes the Workflow Manager to be come unresponsive, however if you wait long enough the csc.exe process will end and the new model appears for editing.

    Note that if I have multiple workflows open, only the window in which I changed models becomes unresponsive. The rest are fine.

    The csc.exe exhibits the same behaviour when I try to publish the workflows with numerous invocation targets. The time to publish is almost excatly the same amount of time it takes to switch models, and again the csc.exe process starts and consumes a single CPU thread for almost the entire time (the utilisation varies a bit). Sometimes this makes for a very lengthy publish process on the client, however looking on the server where the workflow is being published, the workflow has already been published with the changes well before I receive a "success" notification in the Workflow Manager.

    The workaround is to remove all invocation targets from the workflow - switching between models is then instant - but it would be good to have a fix!



  • 5.  RE: Workflow Designer locking up when changing between models.

    Posted Apr 27, 2012 02:41 AM

    Are you using a script components in your projects?

    I've noticed a similar issue but I don't use a multiple targets.
    In my case the Designer locks up when it contains a Script Components.
    I've discovered that it is caused by validation which is done during model switching. This validation compiles the code from scripts and that's why the csc.exe (C# Compiler) is run.



  • 6.  RE: Workflow Designer locking up when changing between models.

    Posted Apr 29, 2012 05:54 PM

    I wasn't before the locking up had started but I am now.

    I've noticed as I add more models the lock up time is even longer. It also seems to have affected publishing time too.