Is it possible to perform a dynamic contains(me) search on a Watchlist?

perkinsarm
Mega Guru

We have had requests to create a shared report that would allow a person to see all of the task-based records that they own, are assigned to, or are watching that have been updated since some past interval. I'm very close to having this with the exception that I have to hard code my name in the Watchlist contains part of the search. I was hoping for something similar to the

assigned to - is (dynamic) - me capability. Does it exist?

1 ACCEPTED SOLUTION

you don't need (current.user) that was a typo on my part earlier.


This screen grab should help:


find_real_file.png


View solution in original post

4 REPLIES 4

asilva3
Mega Expert

can you do that by using javascript:gs.getUserID() as your criteria?


Andres,  



I just tried Watch list contains javascript:gs.getUser(current.user) and the report returned 0 rows.


If I change that to Watch list contains Brad Perkins I get the results I expect.



I haven't mixed Javascript into end user reports yet and wasn't aware this was possible. I'm I missing some special syntax?



Thanks!


you don't need (current.user) that was a typo on my part earlier.


This screen grab should help:


find_real_file.png


That works! Thank you. This will be very helpful.