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
pranavshahpranavshah 

Automation Process

one more thing , if i have a stock object in one custom object and if stock is 0 then available checkbox should become false otherwise it should be true... How it can be done , whether by validation rules or workflow rules???
Best Answer chosen by pranavshah
Deepak Maheshwari 7Deepak Maheshwari 7

Hi Pranav,

 

You can achieve it by workflow as well as formula field.

 

For Formula field:

Please create a checkbox type formula field and put below condition:

 

IF(Stock__c=0,False,True)

All Answers

Ashish DevAshish Dev
Now a days you should use process builder.
Deepak Maheshwari 7Deepak Maheshwari 7

Hi Pranav,

 

You can achieve it by workflow as well as formula field.

 

For Formula field:

Please create a checkbox type formula field and put below condition:

 

IF(Stock__c=0,False,True)

This was selected as the best answer
Deepak Maheshwari 7Deepak Maheshwari 7

Hi Pranav,

 

Hope this works for you!

If not please let me know.

 

Thanks
Deepak
dpkm20@gmail.com

pranavshahpranavshah
Deepak,

thanks a lot..its working,.