gs.getUserID() need basic understanding.

naresh1019
Mega Expert

Hello Guys .....Can you please guide with the following requirement.

1) I have a form with with only two date fields.

2) I want to create ACL to update the entries depending on the users who creaetd it .

3) find_real_file.png

The following sript condition is not working.

4) please guide me ,

1 ACCEPTED SOLUTION

tvani
Tera Contributor

Hi Naresh,



You can use the below script as sys_created_by stores the user_name of the user.



if(current.sys_created_by.equals(gs.getUserName())


return true;


View solution in original post

21 REPLIES 21

Community Alums
Not applicable

Remove the semi colon from if statement


naresh1019
Mega Expert

Thanks Guys ..It worked with the following script what few of them mentioned earlier....



find_real_file.png