on 07-26-2011 10:32 PM
Hi
I am trying to control the number of iterations of a Loop witihn a ccBPM Integration Process.
I have a Container name: index type: xsd:integer , which is initialised to 0 before the loop is entered.
I also have Container name: InterfaceCount which is an Abstract Interface containing the total number of iterations required.
In the Condition Editor for the Loop, if I put index!=InterfaceCount
... it complains that types xi:operation and xsd:integer cannot be compared.
Would someone be able to tell me the correct way of doing this please?
Thanks in advance.
Try index > 0
Only For string you can use compare operation sign not equal to (!=)
whereas for integer we use < or > or >=
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. Thanks for the reply.
What I need to do is compare index to a value passed in on a field on a message.
Maybe I need to define another integer container, and then use a 'container operation' to extract the interface field to this new integer container, before entering the loop. Then I can compare my 'index' integer with the new one to control the loop?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.