You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Business Object Function - return array with multiple records

Received Response
edited Nov 13, 2019 9:17PM in Visual Builder 2 comments


Business Object Function - return array with multiple records to pass to web service



I have BO called, TrxHdrs, with multiple records.  I know I can create a BO Object Function to iterate over those records.

What I would like to do is write records that, for example, have a Status of, "available", to an array.  I want to write the entire record where the criterion is met.  Then I would like to pass the result (with multiple rows) to a web service (integration cloud) that sends it to ERP Cloud.  The only thing I need help with is how to create an array with multiple records in groovy.  The array will be structured to match what is expected by the web service.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!