cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Array as an input parameter

Former Member
0 Likes
460

Hi All

Can someone please guide how can i set an array as an input parameter to a BLS transaction,Lets say for eg: I need the user to enter multiple plants as an input on the input scree,How will i pass this array of plants to the web service in my BLS transaction?Should i consider a XML for the same?

Thanks for your suggestions in advance

Regards

Shweta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Shweta,

    Use a list input type parameter in your Transaction. pass the input from the web page like

/XMII/Runner?Transaction=Default/abcd&listInput=[a,b,c].

[a,b,c] is how you pass the list.

You could use a loop to read the values or you could just use Transaction.listInput{index} to get the value in your transaction. Here listInput is the name of my transaction input parameter of type list.

You may also read

Regards

Tufale Ashai

Answers (0)