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

Question

Question

Laserfiche Forms to Workflow to SDK Script Questions

asked on October 8, 2014

Hi All,

I am looking to generated a Word document from a submitted Laserfiche Form using Workflow.  I have the form created, and code snippets to do the work using the Open XML SDK.  Now need to tie everything together.  So a few questions:

  1. Is there a way to simulate passing the Form and all its tokens to a Workflow (in the Workflow Designer) for development and debugging purposes?
  2. Is there a way to debug SDK scripts?  May I use the Visual Studio IDE debugger or interface, or something like it?
  3. Where are the SDK scripts stored?

 

1 0

Answer

SELECTED ANSWER
replied on October 8, 2014

When you manually run a script in the Workflow Designer you can specify token values. If any of the tokens used in the script don't have values, the Designer will prompt you for them.

There is no way to attach a debugger, but the script tracks token values to the Watch Window as it runs. You can also use MsgBox for debugging purposes.

The scripts are stored as both XML and their compiled version in the SQL database along with the workflow definition.

1 0

Replies

replied on October 8, 2014

Thank you very much!

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

Sign in to reply to this post.