So I'm using Workflow to move submitted Forms from LF Forms. It's pretty straight forward as I have an Incoming Documents folder that is monitored. However, to accomodate the possibility of a Form not being moved properly, I've created 2 starting rules...a "When Entry is Created" and "When Entry is Changed"...and both starting rules use the same criteria. However, whats happening...is when an Entry gets created...the Rules seem to both kickoff the Workflow...thus the documents template, has duplicate info (2 Address Fields, 2 Name Fields, etc.)? Is there something else I'm missing to prevent this from happening? I've attached my Workflow below.
Question
Question
Replies
You can check out the Subscriber Trace to see what events are coming in. If I had to guess, Forms creates the document first and the modifies it to set the fields or append pages. The Subscriber Trace should give you exact information on what's going on. Then you could either exclude the Forms user from the rule for Entry Change or tweak it with Entry Changes events (maybe exclude Page creation or something like that).
An alternative would be to trigger a Workflow from your Forms Business Process after each Form submission. This way, each time a Form is submitted, your workflow for moving the entry will run on that particular entry once the Forms server has finished saving the Form to Laserfiche.
Mike,
So I added a Service Task to my Processor to start the Workflow, so what I have now are 2 Service Tasks (first is to Save to Repository, second is to Start the Workflow). The issue I'm having now is my Workflow is terminating saying that "No Entry was specified" when it tries to Retrieve Field Values (which is the first step in my Workflow).
Hi Daryl,
I have noticed this on some occasions when implementing the solution myself since Workflow doesn't know when Forms has finished saving the data to Laserfiche. A workaround I have implemented is to add a 1 minute delay in the Workflow before the "Retrieve Laserfiche Forms Content" is called; this will allow sufficient time for the Forms "Save to Repository" action to be completed.
In a future version, there will be functionality to trigger the Workflow process from Forms only AFTER the Save to Repository action is complete and the delay will no longer be necessary.
Hope this helps!
Mike...just curious though...if you're doing a "Save to Repository"...then why would you also use the Retrieve Laserfiche Forms Content, as you can mapp the Forms data to fields in the "Save to Repository" configuration?
Apologies, I'm using the "Save to Laserfiche" feature that was available in Forms 9.0. You're right though Daryl, the "Save to Repository" feature in 9.1 is more robust and can directly copy Forms field data into Laserfiche metadata.