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

Question

Question

How to Route Back Up to a Certain Point in Workflow?

asked on August 27, 2015

I'm pretty sure I have done this before, but I cannot find the activity to do it.

I have a workflow that at a certain point has a Conditional Decision to see if a value exists or not in a token. If it does then it continues down the workflow. If it does not, I need it to route back up to a certain point in the workflow to check it again. How would I go about doing that? Below is a screenshot of the current flow and what I need it to do:


1 0

Answer

SELECTED ANSWER
replied on August 27, 2015 Show version history

There's no "GOTO" functionality in workflow but there is one way you can handle this: Use a "repeat" function. 

 

 

Make sure you don't endlessly loop! Set your max number of repititions to something sane!

0 0

Replies

replied on August 27, 2015

Should have waited another moment to post this. I have re-discovered the Repeat activity and that looks like it will do what I need. I do have an additional question though. Below is my new setup. If I create the NetworkUseAgreementSigned token and set it to nothing before the repeat activity, if in the Read XML activity I am creating an XPath Expression Token with the same name, will it update the original token?

0 0
replied on August 27, 2015

Hello Blake, 

 

If you choose the Create a token option in the Read XML activity, it will create a different token. If you want to update the token, then there is an update token option in the Read XML activity that should be used.

 

Hope that helps!

1 0
replied on August 27, 2015

Thank you for the information. I think this is my last question. In my above screenshot I have a delay activity. It is set to wait 24 hours. I only want the delay to happen if after checking the status of the agreement and reading the XML, the agreement still has not been signed. Then it should wait 24 hours and then repeat. Any ideas how to accomplish that?

0 0
replied on August 27, 2015

Hello Blake, 

 

You could put the Delay in a Conditional Sequence activity which checks if the status of the agreement has or has not been signed. 

The Conditional Sequence makes it so that the Delay is only triggered if the condition is satisfied. In this case, it would be if the agreement has not been signed. 

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

Sign in to reply to this post.