Post

2 followers Follow
0
Avatar

Compare DateDiff value to another value in a workflow

Need to see if the number of days between two dates is more then a certain number of days. Example: DateDiff($LastLogin,$C_DateUserWasAssignedLicense,d) > 60. Getting the error, "Error: Invalid variable name or field format 'd', expected format is $FieldName"

Devlend Maul Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Devlend,

Please try putting quotes around the letter d. E.g. DateDiff($LastLogin, $C_DateUserWasAssignedLicense, "d") > 60

I hope this helps.

Roland

Roland Pumputis 0 votes
Comment actions Permalink