I’m trying to add followers via Formula in EspoCRM, but I think the example I was given might not be correct.
ChatGPT suggested the following:
However, I can’t find any documentation or evidence that these Formula functions actually exist in EspoCRM.
From what I can tell, this may not be valid Formula syntax and could be a mix of pseudo-code or backend logic rather than something available in Formula itself.
What I’m trying to achieve
I need to automatically add followers when certain conditions are met (e.g. sales need to follow a new account).
Any guidance would be appreciated.
ChatGPT suggested the following:
Code:
Add a single follower
entity\addFollower('USER_ID');
Add multiple followers
entity\addFollowers(list('USER_ID_1', 'USER_ID_2'));
Example (current user)
entity\addFollower(entity\fetch('User', 'currentUserId'));
Common real-world pattern (add assigned user as follower)
entity\addFollower(assignedUserId);
From what I can tell, this may not be valid Formula syntax and could be a mix of pseudo-code or backend logic rather than something available in Formula itself.
What I’m trying to achieve
I need to automatically add followers when certain conditions are met (e.g. sales need to follow a new account).
Any guidance would be appreciated.

Comment