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

Question

Question

Input Parameter in Workflow Business Process

asked on July 27, 2021

Hi,

I have created a Workflow Business Process.    I want the workflow to only update documents within a folder it is being run on, not the entire Repository.

I setup an Input Parameter named FilePath.  In the Search Query of the Workflow, how do I setup input parameter FilePath so that it prompts for the Folder Path when the Business Process starts?

Thanks,

Teng

0 0

Replies

replied on July 27, 2021

Laserfiche business processes cannot prompt the user for information. They can start on the selected entry and then you can use the "entry path" token in your search.

0 0
replied on July 27, 2021

Hi Miruna:

I presume I retrieve the "entry path" token using the "Assign Token Values".    In my Search Query area, how do I compare the users' selected entry to the "entry path" token?

Thanks, Teng

0 0
replied on July 27, 2021

No, entry path is under Global tokens and it is the entry path for the entry the user had selected when they started the business process.

If you would like to limit starting the business process to specific folders, then you should look into adding those folders as a requirement to the starting rules.

1 0
replied on July 28, 2021

In the Search Query of the workflow, I have this:

{[StudentRecords_2]:[StudentID]<>""} & {[StudentRecords_2]:[Document Type]<>""} & {%(Entry Path)="\MetadataUpdate-BusinessProcess"} 

When I ran the Business Process, it terminated.

I also tried the Test Search Query inside the Workflow, it prompted me for the Entry path.  I entered \MetadataUpdate-BusinessProcess and I got an error:  An unrecognized character was encountered. [9085]

What did I do incorrectly?

Thanks,

Teng

0 0
replied on July 28, 2021

I changed the Search Query to

 

{[StudentRecords_2]:[StudentID]<>""} & {[StudentRecords_2]:[Document Type]<>""} & {LF:Lookin="\Metadata Update - Business Process"}

 

and my Business Process Workflow is working now.

 

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

Sign in to reply to this post.