asked on May 27 Show version history

After upgrading from Laserfiche 11 to Laserfiche 12, our custom Web Client action button that previously triggered a workflow now fails with the following error:

Error: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at WebAccessCustomActions.CustomActions.CreateWorkflowInstance(String json, String workflowServer)
at WebAccessCustomActions.CustomActions.InvokeWorkflow(String server, String name, Tuple`2[] args)

This error occurs only in Laserfiche 12.
The same code, same custom action, same workflow, and same service accounts worked flawlessly in version 11.
 

How our setup works

We have a custom button in the Repo  that performs:

performCustomAction("INVOKEWORKFLOW", parameters)

This should call:

  • WebAccessCustomActions.CustomActions.CreateWorkflowInstance
  • Workflow Server executes the workflow associated with the action
  • Workflow returns the new EntryID
  • Web Client opens the form

This entire process broke after the upgrade to Laserfiche 12.

 

0 0