You are viewing limited content. For full access, please sign in.

Question

Question

Script Warning / Failure

asked on April 14, 2016 Show version history

When I run a script, it works fine. However, when it's part of a workflow, it throws a Warning and doesn't perform the script as when I ran it manually.

 

This (manually running) works. No build errors.

However, the same script as part of the Workflow gives me these and the script does not run. Nothing has changed involving the assembly being referenced in the message between the manual run and automated. Also, Laserfiche Workflow (service) is running as a Domain Admin so there should be no permissions issues there. I also made sure that the location of that assembly is included in the Workflow Admin Console and Folder permissions are Everyone-Full Control.

 

Any ideas on why it doesn't want to play nice automated?

 

0 0

Replies

replied on April 14, 2016

I've had luck with DLL issues placing the DLL in the Laserfiche Workflow Server folder..  By default under C:\Program Files\Laserfiche\Laserfiche Workflow.  Seems this is one of the locations WF will look for DLL's required for workflow Script activities.

0 0
replied on April 14, 2016

Thanks for the suggestion Brandon. I will give it a shot.

Initially it made no difference but I plan on restarting the Workflow service to see if it needs to refresh.

Did you have to do that or just move the DLLs in?

0 0
replied on April 14, 2016

I've always had to restart the service after putting DLLs inside the WF folder. I figure it probably clears the references from cache. /shrug

0 0
replied on April 15, 2016

After restarting the Workflow service, it broke Workflow altogether. Not just one, but all workflows stopped.

 

I found that the DLL file I'm trying to use is the same name as one in the Workflow program folder, but a different version. I'm going to continue to dig.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.