Workflow is slow to open

pwilson's picture

After deploying my newly built workflow to altiris as a help desk item, the workflow is very slow in opening.  After waiting forever (it seems) the workflow runs as intended and any subsiquent time there after it open and runs quickly until the next day . I have to fire it off once again and wait for it to run. What am i missing.

matzebru's picture

Could be a couple of things...

I had some slowness in one of my published projects and there are a couple of things I could suggest to look at.

If anyone has any other solutions for slowness, please post them! Thanks

reecardo's picture

One more quick thing to

One more quick thing to check: on the Publishing tab of the project properties, make sure Auto Initialize is checked before publishing. Unsure if the KBs mention this.

matzebru's picture

Auto Initialize

Auto Initialize isn't checked by default when I open a new project and I couldn't find any reference to it in the Workflow Admin or User guides. Could you tell us what the Auto Initialize does specifically? Thanks!

reecardo's picture

Auto Initialize, in a sense,

Auto Initialize, in a sense, "preloads" your project in the workflow engine. It's probably not on by default for the reason of having multiple WFs "preloaded" on a server could be pretty memory-intensive.

matzebru's picture

Thanks for the explanation

Thanks for the explanation reecardo!

Steve Wayment's picture

Current Processes

My logs are being flooded with errors from two specific workflows.  It seems that these workflows have current processes dating back 5 or 6 months.  It looks like the user closed the browser without finishing the workflow, and the timeout functions are not working.  The log file says "Object Reference not set to an instance of an object" when attempting to follow the timeout path.  But I don't have anything between Timout and End. I have tried aborting these processes manually, but it just takes me back to the main page without actually aborting.  I even completely removed the project and re-deployed it, but the processes are still there.  Any ideas how to remove these, and what might be causing the timout errors?

stuper's picture

You deleted the projects from IIS?

You deleted the projects from IIS?