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
DhilibanThangavelDhilibanThangavel 

Difference between workflow field update and Formula field

Hello,

I would like to know the difference between formula field and workflow field update.

1. Hope Whatever we are doing in the workflow field update we can do the same in formula field as well. Major point is we can't edit formula field but it can be done in workflow field update.
2. Workflow contains three different criteria to do the field update but this can also be manajable in formula field.

Please help me to understand the major difference between workflow field update and formula field. 

Thanks in Advance
Dhiliban.




 
Shailendra Singh ParmarShailendra Singh Parmar
Hi Dhiliban,
Major difference is when you are using formula, you are basically just pulling value into formula from other fields that mean formula itself does not hold value.
Other side you create field and use fieldupdate to populate value that mean field can be changed indepedentely while formula is readonly.

Formula can be used when your purpose is just for display infromation on layout and if you are looking something like you want to populate diffult value with workflow but let use modify it then can go for workflow and their are many more situations where we use workflow over formula like we want index field, mark unique ete..

Thanks!
 
William TranWilliam Tran
Formula fields are dynamic, changes anytime it's source change, it is also restrictive like can't have RichTextArea.  You can't update or override the field.

Workflow field update is just updating a normal field (the field can be any time).  You can override the field but the workflow may over ride your over ride.

thx.