Skip to main content
deleted 6 characters in body
Source Link

I have written a formula field of data type DATETIMEDATETIME and return type text IF((ISPICKVAL(Status, 'Completed')),NOW(),'')

IF((ISPICKVAL(Status, 'Completed')),NOW(),'')

but error occurred states "Error: Incorrect parameter type for function 'IF()'. Expected DateTime, received Text" Please help out on this

Error: Incorrect parameter type for function 'IF()'. Expected DateTime, received Text

I have written a formula field of data type DATETIME and return type text IF((ISPICKVAL(Status, 'Completed')),NOW(),'') but error occurred states "Error: Incorrect parameter type for function 'IF()'. Expected DateTime, received Text" Please help out on this

I have written a formula field of data type DATETIME and return type text

IF((ISPICKVAL(Status, 'Completed')),NOW(),'')

but error occurred states

Error: Incorrect parameter type for function 'IF()'. Expected DateTime, received Text

Source Link
Swathi
  • 29
  • 1
  • 6

Error in return type

I have written a formula field of data type DATETIME and return type text IF((ISPICKVAL(Status, 'Completed')),NOW(),'') but error occurred states "Error: Incorrect parameter type for function 'IF()'. Expected DateTime, received Text" Please help out on this