Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Business connector ,problem

Former Member
0 Kudos

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

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos

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

0 Kudos

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

0 Kudos

show the code....

Regards

vijay

Former Member
0 Kudos

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