04-13-2006 7:58 AM
Guy's
i have one unique problem,in flow step of business
connector ,i have used loop ,for example loop over
"/Final/recordWithNoID",where recordWithNoID contain
multiple records,this loop work's fine if there are
more than one record,but fail when there is single
record,i don't know ,what's the problem
sanju
04-13-2006 8:05 AM
Hi Sanju,
How you are looping , are you giving any where condition.
can you show your code. and are you sure there is a record when the loop fails.
did you check it in debug mode.
Regards
vijay
04-13-2006 8:23 AM
in business connector you can write
flow step,which provide in built function like loop,repeat,exit etc,you can select any one of them
and assign a record to it,it will loop over that
record,in debugging i found that loop is getting falied
if there is a single record
04-13-2006 8:27 AM
05-18-2006 3:41 AM
Sanju,
Use 'length' service. Find the length of the array and then branch out. 'Default' should be looped at and the second sequence with value = 1 for length, should not be looped.
Best luck,
Datta