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

Question

Question

Error- "No entry was specified"

asked on March 26, 2015

Hi, 

I am trying "Assign Field Values" activity in the workflow and it keeps throwing following error- "No Entry was specified". 

 

I have this workflow kick off by a Laserfiche Form (by a 'Task' in the Process Modeler). 

Please see attached error. 

Would appreciate your input. 


Thanks. 

Service Task from the form.jpg
Workflow.jpg
Error.jpg
Workflow.jpg (185.79 KB)
Error.jpg (41.51 KB)
0 0

Replies

replied on March 27, 2015

My understanding is that when we call a workflow from a Form and use- 'Retrieve Laserfiche Form Content' activity, the Entry that started the workflow is  considered 'Starting Entry' (see attached). This 'Starting Entry' should stay with the 'workflow' till the end. 

But in my case, workflow identifies the 'Starting Entry' through the first few activities (as I am able to see form data getting processed), but when I use ' Assign Field Value' activity later in the workflow, the activity can NOT identify the 'Starting Entry', and the system throws the error- 'No Entry was Specified'. 

 

What I am trying to do is- after I am done with all the  processing, I am trying to assign a 'Template' to the document (entry) and store it in the Repository. 

 

Form starting workflow.jpg
1 0
replied on March 27, 2015

When you start workflow like this, it does not put anything in the Laserfiche repository hence no starting entry found. You have a couple options if you want the form data in image form. One is to use the Save Entry to Laserfiche task or you can make your own by using the fillable PDF functions inside workflow.

1 0
replied on November 3, 2015 Show version history

As a followup, what is the best way to combine the "Save Entry To Laserfiche (pdf or tif)" Image File generated by Forms in Laserfiche to the "Retrieve Forms Content" activity in the workflow?

 

EDIT* I'm currently using:


Find Entry at: \Forms\%(BP Name)\%(BP Instance ID)_%(Submission Timestamps#<\d\d?//\d\d?//\d\d\d\d>#)

 

Is the above the best method?

0 0
replied on November 3, 2015 Show version history

The best way to do it would be to have Forms set the instance ID and submission ID as field values, then let the document creation start the workflow. Then you'd have the doc as the starting entry, you could read those fields and specify them in the Read Forms Content activity's advanced properties (under the gear icon in the top right corner of the properties pane for the activity).

1 0
replied on March 26, 2015

When Forms starts a Workflow, there is no Laserfiche document or folder involved. So what are you trying to do?

0 0
replied on August 2, 2019

I am running into this error too. I have a Form that I use the LF Forms' "save to repository" activity then run a workflow activity. This workflow:

Finds all entries in a folder (temp folder),

Retrieves form variables,

Parses through each entry

If its an receipt it moves the entry

If its a claim then assign field values

moves the entry.

 

Although every time I get the no entry was specified. This only happens on the Assign Field Values activity but not for any other entry activity. I am able to move the entries with no problem, but only when I try to manipulate the field values. I'm not sure why it keeps complaining about a starting entry as I even have it turned off in my workflow properties. The For each Entry goes through all the entries found in the folder specified. Obviously I am able to move the entries using the select "other Entry" to for each entry output value. If those activities can find the entry, why can't the assign values when they use the exact same "other entry" selection. I have to use the Retrieve Business Process Variables activity because I have to parse through specific tables and format data before adding them as field values. Is there another way to retrieve the form values if Forms is not able to run the workflow properly?

 

Thank you,

 

James

0 0
replied on August 5, 2019

What version of Workflow are you using? Can you show us screenshots of your workflow?

0 0
replied on August 6, 2019

I am using Workflow version 10.4. Here is my workflow, I have tried assigning field values one at a time and parallel. The current setup is parallel as you can tell. I assign IDs from the last Forms document saved which are retrieved in the Retrieve Field Values. Then I get all the process variables using the IDs and after trying different ways to have the fields properly populated I tried using the Route Entry to Folder instead of the Move Claim Entry below (currently disabled). I then added an Assign Tokens step, which assigns only 2 tokens for the Cell Phone Expenses + other. All the rest use the value directly from Retrieve Business Process Variables. I was hoping the Assigned tokens would work instead but no luck. 

 

Thanks

 

James

 

0 0
replied on August 6, 2019

Which of the Assign Field Values activities fail with "no entry was specified"? (The Messages tab in the instance details should have the activity name). What entry is that specific activity set to?

 

0 0
replied on August 6, 2019

Sorry, I have done a lot of changes since I first posted. 

Originally, every assign field value task would give the error. This would happen when I run the workflow from forms. Even when I searched for the PDF and used the entry within each the Assign Field Values they would all give the no entry specified error.

I ended up redesigning my Form Business Process to now drop my Receipts into a different folder and save the claim in another. I added a rule for when an entry is created run the workflow instead. This removed the no entry specified error. But now the workflow runs completely but nothing will populate the field values. I am able to use an email task and use all the variables I am using to populate the fields, and they correctly show in the email. But when they are used to assign field values, they do not seem to save. I even made another workflow that runs that I have only placed just the Assign Field Values task and still I get this error. 

Perhaps I do not understand how this task works, but I cannot seem to update any field value.

 

Thanks again,

 

James

0 0
replied on August 6, 2019

Are you still running them in that Conditional Parallel in your screenshot above? If yes, did you check the Conditions tab in the instance details to see if any of the branches had their conditions satisfied?

0 0
replied on August 6, 2019

Yes, and Yes. I have checked the ran workflows to make sure the conditions were met. I have tried removing the condition parallel entirely to make sure its not that. I have tried using a single Assign Field Values task that only updates a single field but I get the same error. Although the tasks show they are reached and ran completely with no errors.

0 0
replied on August 6, 2019

Try adding a Track Tokens before your Assign Fields to double-check that the token values are what you expect them to be.

Have you checked if there are other workflows being triggered on the same document?

0 0
replied on August 6, 2019

I have added a track tokens, I have checked the values and it appears they are properly populated from the Retrieve Business Process Variables. 

For checking other workflows, it appears none are running, but I will double check.

 

Thanks again!

0 0
replied on August 6, 2019

So, I have tried a completely different template that we use for one of our other processes that works. It appears that the Assign Field Values works with the other template not the one I am currently trying to use (that fails). I am going to investigate further to figure out what is wrong with my broken template, and will fill you in with the error (once I find it).

0 0
replied on August 8, 2019

I discovered the real issue with this. It must be a versioning mis-match as my Workflow Designer was 10.4 and our Workflow Server is 10.3. But if I use Workflow Designer 10.2 (this was installed on our server) and republished the workflow, it worked first try. 

1 0
replied on June 15, 2021

Ran into this exact issue and this post exposed the cause, thank you!

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

Sign in to reply to this post.