Simple Condition

francisurna
Giga Contributor

Hello.
I want to set the condition where `Created by` is the same as the logged in user.
What should I choose from the filter?

8 REPLIES 8

GlideFather
Tera Patron

Hey @francisurna,

it is important to understand what and where would you like to achieve this. Some of this is already in place in self-service, if you type "My" then you will get modules to get only records relevant to you.

 

Example:

KamilTEL_0-1751468457466.png

 

KamilTEL_1-1751469448513.png

 

Different things would be to display the catalog items, or other categories. Please the more details you give me the better answer I can give you ;))

 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Nishant8
Giga Sage

Hello @francisurna, if created by is a reference field and you want to apply filter in a list, then you can try is dynamic Me.

Nishant8_0-1751468478997.png

 

Regards,

Nishant

Okay, I'll try this. Thank you!

SanjanaK
Tera Expert

Hey @francisurna ,

 

You can edit your module in this case.

Open your Module ---> Go to Link Type ---> In Arguments field you can mention your conditions like below:
Arguments: active=true^sys_created_by=javascript:gs.getUserName();

Here, sys_created_by is a String field, so I used Username instead of UserID. 
This is for reference, you can build something similar.

**********************************************************************************************************************

Hope the answer helps!

Happy Learning!