Why I am getting error 'A workflow or approval field update caused an error when saving this record.' when saving a record?
|Knowledge Article Number||000005308|
When saving a record using API or Visualforce and/or updated by Process Builder, users are getting "A workflow or approval field update caused an error when saving this record." error.
This error can occur if there is a workflow or approval process that does a field update and that update violates any field data type constraints.
Note: This error doesn't occur if you are saving the record via standard UI save as standard save truncates the value and completes the update. This only happens with API/apex save.