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

Can i create a new workflow from trigger or Apex class?

Hi All,


i want to create workflow programatically through trigger or apex class,is it possible?


Thanks in advance

Best Answer chosen by Admin (Salesforce Developers) 

Salesforce does give the ability of manipulation of Approval Process through the Approval Methods
, but there is no such facility provided for Work Flow Rule w.r.t. Creation.


Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.