Hello,
I’m looking for a way to mass update a field on rows selected via mass actions, but depending on another field’s value, to update a different field
Example:
If Type__c = ‘New’ I want to update the field ‘Date_Paid__c’ (date/time) to “today”
If Type__c= ‘Existing’ I want to update the field ‘Date_Paid_Existing__c’ (date/time) to “today”
my table may contain a mix of both type, and we do not want to have to do it in 2 different actions.
I would like to be able to accomplish this from 1 Mass action.
Probably can be done with a snippet, so if anyone has ever attempted something similar, please let me know how, as i’m a JS noob 😦
Thank you
Question
Mass action to update different fields depending on a condition

Translate
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.