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

Question

Question

Workflow initiated by Forms. First activity fails because there is no instance ID

asked on January 24, 2014 Show version history

 We have a workflow where the first activity is Retrieve Laserfiche Forms Content. In the advanced properties of this activity we have it set to Retrieve the content from The instance that started this workflow.

 

The Forms application is starting the workflow via a Service Task.

 

When a Form is filled out and the workflow starts, the Retrieve Laserfiche Forms Content activity fails with the message:

 

"Workflow does not appears to be started by Forms. The Forms Instance ID was not specified or was Empty".

 

We are not specifying a specific instance ID and just allowing the workflow to Retrieve the instance that started the workflow. Can't figure out what is missing here.

0 0

Replies

replied on January 27, 2014

It sounds like Workflow isn't acquiring the correct Forms instance ID for some reason. Can you try adding FormsBPInstanceID and FormsSubmissionID as Input Parameters to your Workflow. Next, when the workflow is triggered, find that workflow instance and open up the Parameters tab to check what values of the Forms Instance and Submission ID are being sent to Workflow.

1 0
replied on January 27, 2014

If you look in the search results in the Designer, or on the Details tab in the instance details, what user is listed as the initiator?

 

Do you still have a starting rule for your workflow?

 

The Forms service task should be passing in the instance ID and submission ID automatically. They should be listed in the Tokens tab in the instance details.

1 0
replied on January 26, 2014 Show version history

There are two ways of handling the "Retrieve Content from Laserfiche Forms" activity.

 

It would appear you are setting it up wrong. In the Options side-panel you can click on the gear at the top right to customize where it takes information from. I believe it is expecting a value for the Instance ID. You should be able to set it to use the most recent instance ID from a form and that should clear everything up.

 

EDIT: Nevermind, It appears I am wrong. What about this instead:

 

Did you stop all running instances of the Workflow before publishing? It may still be using old settings when run. Otherwise, I hope that a Laserfiche Employee can provide us with further insight into what is happening so that I can understand for our forms as well if there is an essential step I might miss in the future for our clients

0 0
replied on January 27, 2014

Unfortunately this was on my co-worker's VM and he has since re-built it. Now it is working again. However being able to see what is being passed with those parameter names is useful. Thank you!

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

Sign in to reply to this post.