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

Question

Question

Conditional sequences and Workflow performance

asked on April 23, 2015

One of our customers has a bunch of workflows that contain a series of single-branch conditional sequences, one after the other.

I'm wondering if it would be better to compile them into a single conditional decision activity with several branches, where the current vertical order of conditional sequences is transferred to the conditional decision branches from left to right. Would there be any performance difference?

0 0

Answer

SELECTED ANSWER
replied on April 23, 2015

If they're supposed to be mutually exclusive, then yes, you should combine them so Workflow will stop checking conditions once it found a match. Depending on the number, there may be a performance difference (basically the difference between a Conditional Parallel - all conditions checked - and a Conditional Decision - conditions checked until a match is found)

0 0
replied on April 23, 2015

Each conditional sequence contains an End Workflow activity, so I don't think checking unnecessary conditions is an issue in this particular workflow. But I'll keep what you said in mind for future workflows (I didn't actually design this one, just took over from someone else.)

0 0
replied on April 23, 2015

Then, yes, the performance is the same.

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.