UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Commodore Commodore
Commodore
224 views

Filters for view

Jump to solution

Hi to all !

Can I use expression language for view filters ?

I want to use the following filter for view of requests: AssignedToPerson.id == current_user.id 

and 

I want to use the following filter for view of incidents where groups are assigned = groups where i am a member.

Tags (3)
0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

Hello,

You cannot define expressions in the filters. For the concrete example of the current user, use the "me" user in the condition. The filter will instantiate the condition to use the current user.

Your question about the groups filter is simular to one of the ideas on the Idea Exchange:

https://community.microfocus.com/t5/SMA-Idea-Exchange/List-My-groups-incident/idi-p/2691624

Best regards,

Brindusa

View solution in original post

1 Reply
Micro Focus Expert
Micro Focus Expert

Hello,

You cannot define expressions in the filters. For the concrete example of the current user, use the "me" user in the condition. The filter will instantiate the condition to use the current user.

Your question about the groups filter is simular to one of the ideas on the Idea Exchange:

https://community.microfocus.com/t5/SMA-Idea-Exchange/List-My-groups-incident/idi-p/2691624

Best regards,

Brindusa

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.