Forum Discussion

FICO's avatar
FICO
Community Manager
6 years ago

Is it possible to use a parameter of Type: Array in RMA?

We are able to use Type: Array from IDE, but its not displayed in the RMA. Is there anything that needs to be done for using parameter type Array inside RMA. Also can we use "for each" for looping through Array from RMA just like we use it in IDE.

1 Reply

  • FICO's avatar
    FICO
    Community Manager

    Array is not available as a parameter for a component in the RMA, but it can take an object so if you have a class with an array property you can access that. You can use "for each" looping through arrays when using the Advanced Builder option in any RMA component. Within a ruleset, you can also use a pattern referencing the array you want to loop through and the rules referencing that pattern will evaluate each of the items in the array.