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

Question

Question

Dynamic selection of profile in Run Capture Profile activity?

asked on January 12

Hi all,

I am building a workflow to process invoices in Laserfiche Cloud using Workflow and the Run Capture Profile activity. I have configured several capture profiles, and have a strategy for identifying which entry requires a given profile. Our organization does not have/use Smart Invoice Capture.

My question is regarding the most efficient way to select the correct profile in the "Run Capture Profile" activity. I had initially hoped that it would be possible to dynamically select a profile based on a token (for example, a string token called "Vendor") within a single "Run Capture Profile" activity. However, I haven't seen a way to make this work. For any given Run Capture Profile activity, it only seems possible to statically select one profile.

I have a functional solution using a Conditional Decision activity and each branch has a corresponding capture profile activity with the correct profile selected. This works, but it is cumbersome and repetitive to build, especially as I scale up the workflow (and number of unique capture profiles for the invoices) from testing to actual use. 

Is there a better approach? 

I briefly tested if Capture Profile Groups could be used in this manner (i.e., for selecting between many disparate types of invoices), but had mixed success, and Capture Profile Groups are evidently limited to 10 profiles per group. 

Would be grateful for any insight or suggestions. 

Thanks, 

Alex

0 0

Answer

SELECTED ANSWER
replied on May 2

Sorry for the delay--I missed this post.

Using Condition Decision branches is the right approach.  The difficulty with allowing a token to select the profile is that you couldn't know what the output parameters of the profile would be because you couldn't know which profile was going to run until the Workflow actually ran.  And without the output parameters, well, there's no point to having the activity.

Capture Profile Groups might help in this situation, but it's not really what they were designed to do, so I'd suggest you keep with the Condition Decision branch approach.

0 0
replied on May 2

Hi Jacob, thank you for the explanation-- that makes sense. I'll continue developing using conditional decision activities. 

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.