Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Agentry Application. How to use result of @COLLECTION_FIND.

Hi All

I need to find value in the collection and show value from other field of the found record.

If no value found then show message "Value is not found".

I build next expressnion

(@COLLECTION_FIND :>12"FlightScheduleCollection" (@EQSTR :>12"ScheduleID" (('60))))

From Instraction

The COLLECTION_FIND function searches a given collection for the first member for which the given second parameter returns true. This second parameter is evaluated once for each member of the collection in a Boolean context. When a member of the search collection is found, that member is returned to the caller of the function.

If no member of the collection results in the search criteria returning true, an empty property of the type within the search collection is returned.

how can I compare that returned value is "empty property"?

How to extract value from other field of found "member"?

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question