Custom Function > Get the right Modified By

Custom Function > Get the right Modified By

Hello,

We have a custom function to automatically rename a potential when we save it.

The problem is that for all potential, the modified by field is field with "xxx" because xxx is the person who have written the function. And therefore, we do not know anymore who is last person who has updated the potential.

We have tried to add " "Modified By":zoho.loginuser" at the end of the function, but it is overwritten by the function owner.

Do you have any solution ?

Thanks,

Jerome