Skip to main content
pooja biswas perguntou em #Formulas
Hi

I have a workflow rules define on Contact object which will udpate a custom text feld to some default value

Then on the same object , I have a trigger which will update the custom text field when the record is inserted or edited.

will it result in error?

My answer is NO , but pls validate my point.

Thanks

Pooja
3 respostas
  1. 20 de jan. de 2017, 09:11
    Hi Pooja,

    It will not result in an error. Instead the the trigger would override the value updated by the Workflow rule. Referring back to the order of executions I explained sometime back, this would happen because on the field update of a workflow rule it will run the trigger again (just once). Refer to the same point no 12 in the order of executions.

    Kindly mark it as an answer if that resolves your query.
0/9000