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
David GranadosDavid Granados 

Custom Button with Rules

Hi,
This may be silly but this is what we want to do:

Add a radio button that is color red, on click it would turn green. If the status of the case does not equal "close" by a specific time (lets say 11:59pm) the button will turn back to red. All these actions will be recorded in the history of the case.

The button will be located in the section where "Priority", "Status", and "Case Number" are currently at.

User-added image

I hope someone can help me :)
GauravGargGauravGarg
Hi David,

You can use Formula Field with return type as Checkbox / Radio, add conditions to it with respect to time. I hope this will work. 

Thanks,
Gaurav
Skype: gaurav62990
Email: gauravgarg.nmims@gmail.com
David GranadosDavid Granados
I don't see the Formula Field under Fields & Relationships. Can you elaborate a little bit more? :) (I could be looking in the wrong spot).
GauravGargGauravGarg

David,

The formula field is available onclick of "Field & Relationship" button. 

Thanks,

Gaurav