0

How to re-open the case within 2 days using Process builder or Apex class

Process Builder

Condition:

[EmailMessage].Parent.Status Equals Picklist Closed [EmailMessage].Incoming Equals Boolean True [EmailMessage].Parent.ClosedDate Greater than or equal Formula [EmailMessage].CreatedDate < 2 -

Error - The formula expression is invalid: Incorrect parameter type for operator '<'. Expected DateTime, received Number

0

Use process builder scheduler instead of formula. https://www.youtube.com/watch?v=V--CWh5eZlo

0

Within the formula, it has to resolve to a DateTime, so try adding the days to the Created Date:

[EmailMessage].CreatedDate + 2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.