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

Question

Question

If Forms Starts a Workflow...

asked on April 15, 2014

If I create a service task in Forms to start a workflow, does workflow use the Starting Rules for that workflow to find the document or how does that work?

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on April 15, 2014 Show version history

If Forms uses a service task to start a workflow, you'd most likely have the "Retrieve Laserfiche Forms Content" activity configured to retrieve the content from "The instance that started this workflow" and retrieve the content at the time of "The most recent submission (when the workflow started)." That is how it would get the form content, so the workflow shouldn't have any starting rules.

 

However, if you are saving the form submission to the repository as a TIFF or PDF and want workflow to do something with the actual document, then it would be better to configure Forms to save the instance and submission IDs into Laserfiche fields and then configure a starting rule in Workflow to run based off of that document creation in the repository (the Forms BPM shouldn't use a service task to start a workflow). Then for the "Retrieve Laserfiche Forms Content" activity, it should be configured to use "The instance with ID" and "The submission with ID" where you'd specify the correct tokens that represent those values.

1 0
replied on June 6, 2014

Can you please elaborate how one would "configure Forms to save the instance and submission IDs into Laserfiche fields "?

 

Thanks.

0 0
replied on June 6, 2014

When configuring your service task to "Save to Repository" you can click on the "Configure Fields" button and then using the token selector, select the Instance ID and Submission ID tokens to be used in your fields. In the screenshot below, I have a template called Forms with two fields, Instance ID and Submission ID. I just selected the respective tokens that would go into those fields.

 

0 0
replied on June 9, 2014

I seem to be missing a "Forms" template and don't see any template with the fields  Instance ID and Submission ID.   Any suggestions?

0 0
replied on June 9, 2014
I created that template and fields myself as an example. You would use your own template and fields that suit your business need.
0 0
replied on June 10, 2014

Thanks for your patience with these newbie questions...

 

Is this how I would setup the fields in a form? (because I don't see the fields in the Admin console)

 

0 0
replied on June 10, 2014

When configuring the template and fields in the Laserfiche Administration Console, leave the Default Value blank. In Forms, when configuring the "Save to Repository" service task, configure the fields there to use the relevant tokens.

0 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.