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

Question

Question

Set Approvals Submission Data Is Invalid

asked on October 23, 2019

Hi there.

I have a forms process which runs a workflow to cull roughly 34 approvers names, approval status, timestamp, comments, etc. into a forms table based on who actually approved to give a clean approval record.  This workflow works fine in another process.  Today I copied the process and made new workflows accordingly.  I updated the forms process to call the correct workflow and visa versa.  Aside from that, no changes were made to any of the approvals which were being recorded in this workflow, this step/workflow or adjacent steps/workflows from the old process.  The beginning and end of the process are different, but nothing that touches the metadata used in this step was touched. I am getting the below error which I have been unable to troubleshoot:

 

The submission data does not match the current variables assigned to this process. [LFF708-SubmissionDataIsInvalid]

 

Details:

URL:

Error: SubmissionDataIsInvalid

Date: 10/23/2019 3:46:12 PM (Eastern Standard Time)

HTTP Status Code: 500 Business Process ID: 56

Instance ID: 16065

Business Process Name: Document Review

 

Stack Trace:

Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException

Message: The submission data does not match the current variables assigned to this process. [LFF708-SubmissionDataIsInvalid] at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)

 

Here is what I have tried:

  • I checked the forms process to ensure it is calling the correct workflow, which it is
  • I validated that the Retrieve Business Process Variables and Set Business Process Variables steps were all set to get the fields to interact with from the correct forms process, which they were
  • I re-ran the workflow and monitored it's progress.  It ran as designed with no errors or messages and the expected token metadata was populated.
  • I re-did the starting variable values in the Set Business Process Variables step to ensure these hadn't changed with the copy, and ended up with the same starting variable values.  Re-ran in case it was a misplaced space or the like by accident, but got the same results. (Picture below)
  • I checked the monitor for the instance of the process, and looked at the variables.  None of the variables the Set Business Process Variables step was supposed to set had populated. (Picture below)

 

I am fairly positive I am missing something simple, but would welcome input.

 

Thank you in advance,

 

Jason

Forms Variables.PNG
Set Business Process Variables.PNG
0 0

Answer

SELECTED ANSWER
replied on October 24, 2019 Show version history

Ok, so our IT Manager and I have been digging into this today.  Here is what we have found:

In the last entry of the tokens for the workflow, we see a deltavars which is showing that workflow is setting the attributes 4429-4432 (or something like that).  these attributes do not exist in the forms process we are using, but rather the one we copied it from.  While we did make the correct changes in workflow, this step got hung up and never actually reflected this change.

Our solution was to re-create this step from scratch, thereby selecting the correct forms process from the get go.  Once we did this and disabled the old step which was hung up, everything ran without a hitch.

2 0

Replies

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

Sign in to reply to this post.