Skip to main content
6 events
when toggle format what by license comment
Feb 3, 2015 at 23:54 comment added Jay Weera I tried with workflow option, It looks like impossible as CreditValuesSum is sitting on the parent object. But we setup the workflow rule on the child object. we can't select the CrditvaluesSum field in the Rule Criteria section.
Feb 3, 2015 at 20:17 comment added Jay Weera Thanks you very much for your solution. I will try both options so that I can learn trigger as well.
Feb 3, 2015 at 2:25 comment added dino ursic Sorry, indeed I have. I'll update my answer, but you could still use the workflow-based solution. The addition would consist of a formula field on (let's call it CreditValuesSum) the parent object summing up the values from the children records. Then you could just edit the workflow rule and select 'ObjectA: CreditValuesSum' from the Field dropdown.
Feb 3, 2015 at 2:14 history edited dino ursic CC BY-SA 3.0
added 1495 characters in body
Feb 3, 2015 at 2:01 comment added Jay Weera Many Thanks for your answer I tried with Workflow. I think you missed the point here: not the single value of Credit value to reach 10, But the trigger should fire when the sum of Credit value of existing records reaches 10 (after update OR after Insert)
Feb 3, 2015 at 1:50 history answered dino ursic CC BY-SA 3.0