Hi,
I am using CDT "AM_Business" in one of the interface. I may get an array of values.
Now, I would like to test the interface by passing multiple rows of data.
I was able to test with single row of data, but not sure the format for passing multiple rows of data.
Can any one help here.
{ 'type!{urn:com:appian:types:AM}AM_Business'( 'businesskey': 148, 'headerkey': 95, 'dbkey': 3 )}
Discussion posts and replies are publicly visible
I think "Mike" has already suggested the correct way, to simplify you can do it by following the simple steps:
1- Make sure the rule input for the CDT accepts is an array (Select it as Multiple)
2- Pass an array of manual entries in the testing pane as follows
{ 'type!{urn:com:appian:types:AM}AM_Business'( 'businesskey': 148, 'headerkey': 95, 'dbkey': 3 ), 'type!{urn:com:appian:types:AM}AM_Business'( 'businesskey': 149, 'headerkey': 96, 'dbkey': 4 ), 'type!{urn:com:appian:types:AM}AM_Business'( 'businesskey': 150, 'headerkey': 97, 'dbkey': 5 ) }