I need to create a field that tracks every time a user performs a certain action in a page / view.
(e.g : when user clicks on a button "SEND MAIL" - I wish to see how many times users have clicked SEND MAIL till date.
I need it to COUNT how many times that user performs that action
Hi,
If this is a workflow action you can do the steps below:
- Create a trigger to update field value (integer field). Trigger has no timing and returns like the code below
return parseInt("{!Counter}") + 1;
- In your workflow action specify to run the trigger so every time a user click on that action it will fire the trigger.
Hope this may help.
Regards,
Orchid
Hi,
If this is a workflow action you can do the steps below:
- Create a trigger to update field value (integer field). Trigger has no timing and returns like the code below
return parseInt("{!Counter}") + 1;
- In your workflow action specify to run the trigger so every time a user click on that action it will fire the trigger.
Hope this may help.
Regards,
Orchid