Reply
Regular Contributor
Ketan P Solanki
Posts: 21
0
Accepted Solution

Can we use formula field in ISCHANGED() formulas in Workflow rule criteria

Hello i want to use formula field in ISCHANGED() in Workflow rule criteria but i get error like bellow.

 

Formula :

 

IF( AND ( Risk_Rating__c = 'D' , Total_AR__c > 0 ,  ISCHANGED( Oldest_Due_Date__c ) , true, false) )

 

Note : here Oldest_Due_Date__c is formula field with Date return type.

 

Error: Function ISCHANGED may not be used in this type of formula

Software Engineer
Sailfin Technologies Pvt Ltd , Surat
Trusted Contributor
@anilbathula@
Posts: 278
0

Re: Can we use formula field in ISCHANGED() formulas in Workflow rule criteria

Hi 

 

Check this link about ischanged() function in detail :-

http://ap1.salesforce.com/help/doc/en/customize_functions_i_z.htm#ISCHANGED

Thanks
Anil.B
Moderator
Ankit_Arora
Posts: 1,767

Re: Can we use formula field in ISCHANGED() formulas in Workflow rule criteria

To make it easy :

 

This function is available only in:

  • Assignment rules
  • Validation rules
  • Field updates
  • Workflow rules if the evaluation criteria is set to Evaluate the rule when a record is: created, and every time it’s edited.

Thanks

Ankit Arora

Blog | Facebook | Blog Page

Force.com MVP
Certified Developer | Twitter


Don't forget to give KUDOS if post helped you.


Latest Blog Posts : Streaming API- Easy Code AND Uploading Multiple Attachments into Salesforce - Simple Code


If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Regular Contributor
Ketan P Solanki
Posts: 21
0

Re: Can we use formula field in ISCHANGED() formulas in Workflow rule criteria

Yes i use the Evaluation Criteria

 

created, and any time it’s edited to subsequently meet criteria

 

i got the problem due to this Evaluation Criteria the above error is occur. this criteria not support ISCHANGED and PRIORVAL function.

 

Thanks

Software Engineer
Sailfin Technologies Pvt Ltd , Surat
Contributor
Guna Sevugapperumal
Posts: 4
0

Re: Can we use formula field in ISCHANGED() formulas in Workflow rule criteria

 Hi I think you have not selected the radio option  Created and every time its edited.  I have added the formula and validated with no erros.

Guna