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

Question

Question

Can "For Each Entry" accept output entries from a decision branch?

asked on February 27, 2015 Show version history

I am building an automated follow-up email process that runs twice a month. Based on which day the process runs, I need to conduct a Laserfiche Search using different date ranges. I have a Routing Decision that checks to see which bi-monthly batch is being ran (based on the current date) and then runs the appropriate branch containing the correct date search tokens. Following that decision, I have a "For Each Entry" activity that needs to take the output entries and then retrieve fields, finds a user and send emails that contain various tokens. The problem appears to be that the "For Each Entry" activity can only accept output entries from one of the decision branches, not either. When I Select the entries on that activity, I have to choose one branch output or the other. Is there anyway to just accept whatever output entries are generated from the Routing Decision?

I know I can just duplicate everything below the Routing Decision and include them in the Routing Decision but since everything is the same after the decision step, it seems unnecessary.

 

Here is a screenshot of that part of the Workflow:

0 0

Answer

SELECTED ANSWER
replied on February 27, 2015 Show version history

How about using Assign Token Values to create a token in each of the two cases for the specific search you want?

 

 

 

 

The 2 items in each conditional branch just modify the token you create inside "My Search Token" by setting the search syntax you want. This does assume that the rest of your Search Repository activities are configured the same way though. 

 

0 0

Replies

replied on February 27, 2015

This worked perfectly Flavio! Thank you so much for the tips on using Token Values!

You have given me a whole new perspective on how I am creating workflows and business processes. Now I need to go back and look at all the ones I already have done and re-design some things!

 

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

Sign in to reply to this post.