You need to sign in to do that
Don't have an account?
bkchowdary441.3929796468488896E12
Update the parent field value based on child field value using workflows?
Hi
can any one give the steps to approach this
Update the parent field value based on child field value using workflows?
can any one give the steps to approach this
Update the parent field value based on child field value using workflows?
However, you can use a trigger to accomplish this.
Create a trigger on the parent object and use SOQL to fetch the child record to be updating depending on the value of the field you wish to check as a condition.
http://developer.force.com/cookbook/recipe/mass-updating-contacts-when-an-account-changes
Below are the steps on how you can accomplish this. Let us take Account and Opportunity objects as an example.
1. Create a workflow rule for Opportunity Object (Detail/Child object)
2. Set the evaluation criteria as required.
3. set the Rule Criteria as required.
4. Click next
5. Select field update from the 'Add workflow action' dropdown menu
6. Fill in the Name, Unique Name & Description. If you notice 'Field to update' will appear as a dropdown with two possible values a) Opportunity b) Account (As account is a master object for Opportunity)
7. When you select Account object in the above dropdown, the second dropdown shows all the standard & custom fields from account object.
8. Select any field and set the formula to update that field.
This is how you can update the parent field from a workflow rule set on child object by setting the criteria on child object.
Hope this helps !!
i am doing this with Account and contact.
my workflow is on contact, i am not able to see the account object in field updation.