Skip to main content

C# Script tool causing workflows to run slowly

Comments

3 comments

  • Dan Giersz
    There is another post somewhere that mentions avoiding custom scripts if you can.  They get compiled everytime the workflow is run and it can crash the application pools.  Not sure why it would be an issue all of sudde, though, maybe increased traffic to your site?
    0
  • Permanently deleted user
    Thanks Dan. I've no idea what's caused this, or how to get it fixed up, so I think we're just going to have to take the advice from that post and remove all instances of C# code from our workflows. Thankfully our scripts aren't doing anything complex and we can rewrite what they're doing using other tools.
    0
  • Permanently deleted user
    We reworked the functionality of the C# scripts using other tools, which has done away with the problem. I've no idea what triggered the C# script tools to start running slowly, hopefully it doesn't happen to anyone else with more complex C# scripts.
    0

Please sign in to leave a comment.