boffsey | Posts: 6

Laserfiche Connector with Workflow on PDF

0 votes

We have everything working great with Laserfiche Forms, where after the signatures are completed, OneSpan knows to assign a certain metadata field to the specified document to indicate to the corresponding workflow that processing can continue. We have no issues on that end. However, when I try to use the integration with a document instead of through Forms, this is what happens. See screenshot below for some visual assistance:

  1. We use an Attach Word Document activity to fill in a variable on a local Word template and turn it into a PDF
    1. The Word template has the same anchor text we used for signature/date as on the form
  2. ​​​​​​​Laserfiche Workflow creates a blank document in the repository
  3. We attach the electronic file from the PDF to the created entry and use that as the target document for the OneSpan Request Signature action.
    1. Otherwise, I do not change any values within the properties of Request Signature from our successful Forms workflow
  4. The workflow sends out an email for someone to sign the document, then waits for the metadata field PackageStatus_OSS to be assigned when signing is complete

Workflow diagram

But even though I get the email that signing is done, the field never gets assigned, so it gets stuck waiting for entry change. I tried reviewing the documentation for a hint, but all I could come up with was using EntryId:[the entry ID of the document] in the Laserfiche Documents String field, but all that did was cause 2 requests for signature to be sent out instead of 1. Is there something I’m missing? If I manually set the PackageStatus_OSS field, the workflow continues, the signed copy comes into Laserfiche as intended, and it is signed and dated perfectly. But the part where the field gets assigned is supposed to be automatic when signing is complete.


MoshiurReza | Posts: 26

Reply to: Laserfiche Connector with Workflow on PDF

0 votes

Hello Brian,

The possible reason for the issue can be - the "Wait for Entry Change" is not monitoring the correct Entry. The "Wait for Entry Change" should get the entry id from the Output Entry of the "Request Signature" entry. If this does not resolve, please let us know. 

 

Thanks,

Moshiur Reza

 


boffsey | Posts: 6

Reply to: Laserfiche Connector with Workflow on PDF

0 votes

Hi Moshiur,

 

This is already how the workflow is configured. It does not work.

WF action target


boffsey | Posts: 6

Reply to: Laserfiche Connector with Workflow on PDF

0 votes

Just following up


MoshiurReza | Posts: 26

Reply to: Laserfiche Connector with Workflow on PDF

0 votes

Hello Brian,

Please send us an email at [email protected] 

We will take it from there.

 

Thanks,

Moshiur Reza

 

 


mplane | Posts: 3

Reply to: Laserfiche Connector with Workflow on PDF

0 votes

I'm having an issue getting the activites to run properly for Laserfiche. They are installed, connection profiles are set up and I can send from the web app, but workflow generates an error each time on the Request Signature activity saying it can't connect to the workflow server.

 

5/9/2022 13:51:18Request SignatureAn error occurred communicating with the workflow server. View error log for more details. [0604-WFSO0]
For more details, see the logs in windows event viewer.

 

Event Viewer:

5/9/2022 4:40:57 PMError message from exception - 
An error occurred communicating with the workflow server. View error log for more details. [0604-WFSO0]
Client trace
   at Laserfiche.Workflow.Internal.WorkflowServerClient.Connect(ConnectionOptions options)
   at Laserfiche.Workflow.WorkflowConnection.Connect()
   at Laserfiche.Workflow.WorkflowApplication.ConnectToServer(WorkflowConnection connection)
   at Laserfiche.Workflow.WorkflowApplication.Open()
   at EslConnector.LFWFRequestSignatureCA.RequestSignatureCA.Execute(ActivityExecutionContext executionContext)

Laserfiche.Workflow.Connection.ConnectionResults Connect(Laserfiche.Workflow.Connection.ConnectionOptions)
WFSOException

Error message from inner exception - 
An error occurred communicating with the workflow server. View error log for more details. [0604-WFSO0]
Client trace
   at Laserfiche.Workflow.Internal.WorkflowServerClient.Connect(ConnectionOptions options)
   at Laserfiche.Workflow.WorkflowConnection.Connect()
   at Laserfiche.Workflow.WorkflowApplication.ConnectToServer(WorkflowConnection connection)
   at Laserfiche.Workflow.WorkflowApplication.Open()
   at EslConnector.LFWFRequestSignatureCA.RequestSignatureCA.Execute(ActivityExecutionContext executionContext)

Laserfiche.Workflow.Connection.ConnectionResults Connect(Laserfiche.Workflow.Connection.ConnectionOptions)
WFSOException


Error message from inner exception - 
An error occurred communicating with the workflow server. View error log for more details. [0604-WFSO0]
Client trace
   at Laserfiche.Workflow.Internal.WorkflowServerClient.Connect(ConnectionOptions options)
   at Laserfiche.Workflow.WorkflowConnection.Connect()
   at Laserfiche.Workflow.WorkflowApplication.ConnectToServer(WorkflowConnection connection)
   at Laserfiche.Workflow.WorkflowApplication.Open()
   at EslConnector.LFWFRequestSignatureCA.RequestSignatureCA.Execute(ActivityExecutionContext executionContext)

Laserfiche.Workflow.Connection.ConnectionResults Connect(Laserfiche.Workflow.Connection.ConnectionOptions)
WFSOException


Error message from inner exception - 
An error occurred communicating with the workflow server. View error log for more details. [0604-WFSO0]
Client trace
   at Laserfiche.Workflow.Internal.WorkflowServerClient.Connect(ConnectionOptions options)
   at Laserfiche.Workflow.WorkflowConnection.Connect()
   at Laserfiche.Workflow.WorkflowApplication.ConnectToServer(WorkflowConnection connection)
   at Laserfiche.Workflow.WorkflowApplication.Open()
   at EslConnector.LFWFRequestSignatureCA.RequestSignatureCA.Execute(ActivityExecutionContext executionContext)

Laserfiche.Workflow.Connection.ConnectionResults Connect(Laserfiche.Workflow.Connection.ConnectionOptions)
WFSOException

 

Also, I get an error when trying to change from the default profile in configuration of OneSpan on the Web App.

Error - Error: [$rootScope:inprog] http://errors.angularjs.org/1.7.8/$rootScope/inprog?p0=%24digest

I can make changes from the database and they are effective, but pulling up the config page always causes this.

 

I'm on the latest version of everything on Laserfiche 11. Separate Workflow, Forms, Web application and database servers. I signed the .ps1 installer and have run it again since installing to update to the latest version. The credentials for everything in configuration validate.


MoshiurReza | Posts: 26

Reply to: Laserfiche Connector with Workflow on PDF

0 votes

Hello Mike,

 

Please check the port number of the workflow server. The default port number for workflow server is 8085. Please make sure you have the correct port number in the configuration. 

 

Regarding the issue in Configuration Tab, please let us know which web browser you are using ? We have everything tested on Chrome. You can also try clear the cache from your browser. 

 

Changing the in database is not the correct approach. that will make the integration unstable. We should fix the issue in the web browser first. 

 

Thanks,

Moshiur Reza

 


mplane | Posts: 3

Reply to: Laserfiche Connector with Workflow on PDF

0 votes

port number is 8085, verified a couple of times. no firewall between the two servers.

At this point, it's actually working now. I think some of the fields marked as optional in configuration need to have some info.  I still get the error in configuration sometimes. I'm using Edge (Chromium), I just tried in Chrome on a different machine, same error - screenshot included.

Now Workflow will send out the signing invite, but doesn't pick it up when it's done. I've double checked the notification setup on the web server. the address is reachable from outside. The notification back to me connects to 443, correct, no other ports?


Attachments
MoshiurReza | Posts: 26

Reply to: Laserfiche Connector with Workflow on PDF

0 votes

Hello Mike,

Do you receive any callback failure message after completing the all signatures ? Callback failure message are sent to the Owner email address of the OneSpan Sign account. Please login to OneSpan Sing, then go to Admin -> Senders, you will be able to find the owner email address. 

 

Please also check callback setup in the OneSpan Sign Account.

Please login to OneSpan Sing, then go to Admin -> Event Notification. You should be able to find your Callback URL, Callback Key (encryped) and Selected Events, which should look like below  -  

  

Event Notification

 

If your setup does not look like this, then do not make any changes here. Go to Laserfiche Web Access, then open the OneSpan Sign integration UI, go to Configuration tab, then update you Callback URL and key in the "OSS Callback Info" tab.

 

Thanks,

Mohsiur Reza

 


mplane | Posts: 3

Reply to: Laserfiche Connector with Workflow on PDF

0 votes

This is all i have under Admin... no notification settings.

I have changed the key in Web Access within the past few days while trying to get this to work.


Attachments
MoshiurReza | Posts: 26

Reply to: Laserfiche Connector with Workflow on PDF

0 votes

You should see the Event Notification link in that menu. Please contact OneSpan support. They will be able to fix the issue. 

Here is link for OneSpan support - 

https://www.onespan.com/support

You can call or email support to resolve the issue.

 

Thanks,

Moshiur Reza


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off