New answers tagged conditional
2
votes
Accepted
Formula field date subtraction
Simple date subtraction, as Amit suggests in the comments, would be a decent approximation. Datetimes (and their closely related cousin, Dates) can be subtracted to give you a decimal (in the case of ...
0
votes
Formula field date subtraction
I found that I messed up the order of substraction. Below the correct way which is working:
IF( AND(((YEAR(End_Date__c) - YEAR(TODAY()))*12) + (MONTH(End_Date__c) - MONTH(TODAY())) < 3,NOT(ISBLANK(...
1
vote
Get Records with condition not working in Flow
I found the issue with this flow. The choice group on the screen element is associated with a record choice set which is fetching all opportunity products for the opportunity and it did not have the ...
2
votes
Illegal conversion from List<String> to List<Beverage__c>
Because Apex is strongly typed, you have to return the type of object that your method specifies - in this case a List<Beverage__c>
You can either return an empty beverage list ie:
return new ...
Top 50 recent answers are included
Related Tags
conditional × 140apex × 40
visualforce × 33
if × 16
lightning-web-components × 14
formula × 11
rendered × 11
lightning-aura-components × 9
lightning × 7
marketing-cloud × 6
trigger × 6
ampscript × 6
formula-field × 6
soql × 5
process-builder × 5
javascript × 4
email × 4
html × 4
string × 4
aura-if × 4
visual-workflow × 3
email-template × 3
visualforce-component × 3
aura × 3
validation × 3