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

Question

Question

What are these new tokens in WF 9.1 and how do I use them?

asked on December 19, 2013 Show version history

 Working with a form and a Workflow, I was trying to set them up like WF 9 and Forms 9, but I noticed three tokens and wanted to understand what they are and how to use them.

 

They are:

%(Instance URL)

%(FormsSubmissionID)

%(FormsBPInstanceID)

 

Found in the table here: http://www.laserfiche.com/support/webhelp/workflow/9.1/en-us/LFWorkflow.htm#Resources/Activities/Activity%20Tokens/List%20of%20Tokens.htm?

 

I want to know if I have the hidden tokens available to me after or before I use the Retrieve Laserfiche Forms Content activity.

 

Also, I want to know what this Instance URL token is, and if that relates to a form instance

 

 

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on December 19, 2013

The instance URL is not for Forms. It's the URL for accessing the instance details from WF Web. It can be used in conjunction with termination emails and timers to view the instance details without the need for a Workflow Designer.

 

The other 2 are exactly what Blake guessed: if the workflow is started through a service task in Forms, the 2 tokens are the IDs of the form submission and Forms business process instance that triggered this particular WF instance. The Retrieve Form Content activity defaults to using those values (but they can be changed from the activities Advanced properties). If your workflow starts from documents created in LF by Forms, then you will need to have the form pass those values to the document through field values in the Save to Laserfiche task and then use those field values to configure the Retrieve Form Contents' advanced properties.

2 0

Replies

replied on December 19, 2013

I'm not positive, but I will take a stab at it. In forms each form submission creates an ID. I would think that is what the %(FormsSubmissionID) token is for. Each business process also has it's own ID, so I would think that is what the %(FormsBPInstanceID) is used for. I'm not really sure about the %(Instance URL), but I would guess it might be the URL that the form was submitted from.

 

So you have a BP ID for each BP you have. Under each BP you would have individual submissions which holds the Submission ID. For each submission you have a URL that submission was sent from. That's how I see it. Someone please correct me if I'm incorrect.

1 0
replied on December 19, 2013

Well I am not even sure that the Instance URL token is even for Forms specifically, but I cant get those tokens working, maybe i need to start the WF from the form's process modeler instead of from the time at which the submission is saved to laserfiche?

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

Sign in to reply to this post.