I have a use case where I’d like a model to create a new row if one doesn’t exist, but load an existing row if it does exist. So far so good.
I need to have certain conditions applied only when the row is created (but not be part of the query)… conditions like Date__c = ‘TODAY’ and Nurse__c = (userinfo)(Name).
What’s the best way to handle that?
Question
model conditions to only apply for new rows
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.