CurrentUserRelatedObjectFieldValues
Returns information that is related to the user associated with the current session based on related fields.
Syntax
CurrentUserRelatedObjectFieldValues(relationshipKey, fieldName)
Enabled for
Search/Dashboard | Yes |
Business Rules | No |
Quick Actions | Yes |
Workflow Objects | No |
Reports | No |
Parameters
relationshipKey | The name of the related business object. |
fieldName | The field in the related business object. |
Return Value
List of text values. Lists of text values are only valid in certain places that accept lists, such as the in list operator in saved searches.
Example
The following example return the list of teams to which the current user is a member. You can use this in a search using the in-list operator:
$(CurrentUserRelatedObjectFieldValues("StandardUserTeam#.Rev2", "Team"))