I tried the following in both Opportunity and Lead modules, (created a Close Date field in Leads)
if the date difference is greater than 3 put 399 instead
=4 put 499
It seems > or < always works but neither == nor =
I have a field displaying the result so I know the dates work.
Any ideas what is happening?
- ifThen((datetime\diff(closeDate, datetime\today(), 'days')) == 1, addressStreet = 199);
- ifThen((datetime\diff(closeDate, datetime\today(), 'days')) > 3, addressStreet = 399); // works
- ifThen((datetime\diff(closeDate, datetime\today(), 'days')) = 4, addressStreet = 499);
if the date difference is greater than 3 put 399 instead
=4 put 499
It seems > or < always works but neither == nor =
I have a field displaying the result so I know the dates work.
Any ideas what is happening?
Comment