Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Creating a "less than" condition in the condition editor

Hi there,

I'm designing a BPM with a loop which needs to run while a counter is less than a determined value.

I've defined the counter as a simple type container and I've used a container operator to increment this counter. But in the condition editor for the loop, I've not found a simple way to create this "less than" condition, other than creating a huge OR statement with all the possible values that the counter can assume (1, 2, ..., max_value), which I would really rather not to use.

I've read about using a XPath expression to create this less than condition, but I need to use it in a simple variable, not a message.

I've also searched through SDN about this, but I didn't manage to find anything on the topic (except for the XPath thing).

Is there any way of doing this?

Thanks in advance!

Not what you were looking for? View more on this topic or Ask a question