cancel
Showing results for 
Search instead for 
Did you mean: 

Context 0..n as model input

Former Member
0 Kudos

Hi all!

I have a question for you.

I have a web service that has a cardinality 0..n node as input for a function, that is, function expects like a table in its input. For example, if you wants to send a set of customer names for finding them.

The thing is that I have to bind each element in the input node with a model instance programatically.

If I have this scenario, Do I have to iterate through every element in the node binding it to a model object?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

For sending a set of values the answer is YES.U have to iterate through all the elements.

Create a new instance for the model node and then with that instance access the attributes that u are in need.

Hope it helps,

Regards,

Nagarajan.

Answers (0)