function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sameera GaidhaneSameera Gaidhane 

Getting error for : Developer Beginner: Formulas & Validations: Using Formula Fields

I have tried this using 2 developer orgs but not working :( User-added image
Best Answer chosen by Sameera Gaidhane
Sameera GaidhaneSameera Gaidhane

Hi All,

Thank you for your response.
There was a trigger on Account object that was creating the problem.
I deactivated it and and the challenge worked :)


Thanks,
Sameera

 

All Answers

Swayam@SalesforceGuySwayam@SalesforceGuy
Hi,

Please verify the Field Visiblity byt clicking Set Field Level Visibilty for System Administrator and also make sure formula is on Case object.


Hope this hepls

--
Thanks,
Swayam 
Anuj PatelAnuj Patel
Hi Sameera, 

This is a known Trailhead issue and worked out in many different ways for people. For me, I did got that badge in following way. There is only one difference thats Decimal Places. You have 0 where as I have 2.
User-added image
But, Here are few more findings that worked out for people and you can give a try. 

1. TODAY()  - DATEVALUE(LastModifiedDate)

2. (Today()- Account.LastActivityDate)

Source of results,
https://developer.salesforce.com/forums/?id=906F0000000BQmZIAW


Please mark it as the best answer if you find it useful.

Thanks,
Anuj.
 


 
Amit Chaudhary 8Amit Chaudhary 8
Please create one formula field with Number type on case object like below
(Today()- Account.LastActivityDate)
Please copy paste same formula. I hope will help you.
Please refer below screen shot. I hope that will help you
User-added image
Same worked for me.

Please let us know if this will help u

Thanks,
Amit Chaudhary
 
Sameera GaidhaneSameera Gaidhane

Tried all the answers still not working.....
Check FLS: visible to all
Field accessibility : read-only (as formula )

User-added image

  

Anuj PatelAnuj Patel

Hi,
Please contact : trailhead@salesforce.com

It is a known issue to Salesforce team, they will be able to help you on this.



Please mark it as the best answer if you find it useful.

Thanks,
Anuj.
Sameera GaidhaneSameera Gaidhane
Hi,

I have send a mail to trailhead@salesforce.com , waiting for salesforce response.
Also I have send my query on : https://www.salesforce.com/in/form/contact/contactme.jsp?d=70130000000Fm5e&internal=true 

Thanks,
Sameera
Jeff DouglasJeff Douglas
Sameera,

Send me an email (jdouglas at salesforce) with your login credentials and I'll take a look. Sorry for the inconvenience.

Jeff Douglas
Trailhead Developer Advocate
Sameera GaidhaneSameera Gaidhane

Hi All,

Thank you for your response.
There was a trigger on Account object that was creating the problem.
I deactivated it and and the challenge worked :)


Thanks,
Sameera

 
This was selected as the best answer