Get service items
See also: Contained in service items, Data service update
The Behaviour type Get service items returns the current data service records as a list for an item in the group of List elements.
If no element is linked, the service entries of the executing element are evaluated.
If an element is linked, the service entries of the linked element are evaluated.
If the respective element does not belong to the group of List elements, no actions are executed.
If the respective element belongs to the group of List elements, but does not currently contain any service entries, an empty array is passed to the Actions on 'true'.
►IMPORTANT◄ The Behaviour type only returns the entries currently loaded locally into the element by the data service. If the service configuration settings include paging ('Max. results' per loaded page), search restrictions, etc., these may affect the return value. Stable results can only be expected if a data service is used that does not use paging but always provides all configured entries 'statically' (e.g. based on a dynamic enumeration).
Example
A sales employee is required to nominate one of his customers every month as a 'favourite customer' via a portal based on subjective criteria. On the basis of turnover criteria, which will not be discussed in detail here, the system makes a certain pre-selection and offers a maximum of 10 candidates to choose from. Against this background, when a selection is made, it should also be recorded from among how many qualified candidates a 'favourite customer' was selected.
Runtime example:
Configuration:
|
The pre-selection in the system for the most qualified candidates is defined by the service configuration for the 'Candidates' Combobox. This selects a maximum of 10 Company accounts on the basis of criteria not described in detail here, which are offered for selection in the portal via the 'Options' display type.
|