0

Hi I have a formula field in objectA. based upon objectB's field I am updating the formula field on objectA. After update I have to perform some logic on objectA. As formula field update does not trigger any DML so How can I achieve this? Pls suggest.

3
  • 2
    Formula field recalculates when you are viewing it. You can try use Process Builder for updating objectA instead of formula field – Igor Vasylevskyi Apr 27 at 6:46
  • The trigger will fire only when there is a DML statement firing , when the value of the formula field changes no such thing happens , so in order to fire the trigger, update field on objectA using Process builder or trigger. – Kalpana Apr 27 at 8:11
  • @IgorVasylevskyi - you should post that as the answer – cropredy Apr 28 at 1:43
2

Formula field recalculates when you are viewing it. You can try use Process Builder (or record triggered Flow) for updating objectA instead of formula field and trigger will be fired

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.