You need to sign in to do that
Don't have an account?
Stephanie Wong 59
Process Builder and Workflow Date Fields
Hello,
I am working towards populating contact date fields to opportunities. When a contact stage changes, it is recorded as a date stamp and that is populated in opportunities using a process builder. However, this process does not work when a new opportunity is created. For that, I created a lookup relationship and a workflow. The workflow seems to be working, but the issue is it is populating the PQC stage when a new opportunity is created even when the field is blank on Contacts. I have combed through each step and nothing entails it.
Any insights would be great.
Date fields
Workflow Rule
I am working towards populating contact date fields to opportunities. When a contact stage changes, it is recorded as a date stamp and that is populated in opportunities using a process builder. However, this process does not work when a new opportunity is created. For that, I created a lookup relationship and a workflow. The workflow seems to be working, but the issue is it is populating the PQC stage when a new opportunity is created even when the field is blank on Contacts. I have combed through each step and nothing entails it.
Any insights would be great.
Date fields
Workflow Rule
Since you have the entry criteria as TRUE so it will run on all the conditions and as soon as it finds the value on the related contact record, it will add it to the Opportunity fields.
You need to create different workflow rules for all your field updates and add specific condition in the rule criteria. By specifying the entry criteria you can make sure that the field update will only happen when opp stage is changed and match the specifc value.
Since you have so many conditions so its better to go with a process builder or trigger.
Let me know if you need any further help on this. You can contact me directly for any immediate help.
Gmail: abhibansal2790@gmail.com
Skype: abhishek.bansal2790
Thanks,
Abhishek Bansal.
All Answers
Since you have the entry criteria as TRUE so it will run on all the conditions and as soon as it finds the value on the related contact record, it will add it to the Opportunity fields.
You need to create different workflow rules for all your field updates and add specific condition in the rule criteria. By specifying the entry criteria you can make sure that the field update will only happen when opp stage is changed and match the specifc value.
Since you have so many conditions so its better to go with a process builder or trigger.
Let me know if you need any further help on this. You can contact me directly for any immediate help.
Gmail: abhibansal2790@gmail.com
Skype: abhishek.bansal2790
Thanks,
Abhishek Bansal.
H iAbhishek,
Thanks for the fast response. I did try this with a process builder but it didn't work. Workflow does the job well for all the date stamps except PQC- I just am running a block with that one. Any suggestions?
Cheers,
SW
It might be possible that the value is coming from a different source. Please deactivate your workflow rule and check if you still get the same value or not.
Thanks,
Abhishek Bansal.
Yes, you can set the date field to nulll using the Type = Global Constant and Value = $GlobalConstant.Null
Please find the below screenshot for your reference:
Thanks,
Abhishek Bansal.
I am not able to see the image. And i am also not sure why you are hitting the governor limit. If possible, try to connect on a call, I will definitely sort this out once I look into your org.
Thanks,
Abhishek Bansal.
The issue is now if I add the "Global Constant.Null", it won't let me update it if there is a new field change. The issue is everytime one of the XXL stages get populated, I am trying to make sure the PQC stage does not populated because it is still a prospect. Make sense?
Thanks for your help!
- Pengeluaran sgp (https://dufestival.com/)
- Keluaran sgp (https://dufestival.com/)
- Result sgp (https://dufestival.com/)
- Data Sgp (https://dufestival.com/)
- Sgp prize (https://dufestival.com/)
- Pengeluaran hk (https://dufestival.com/)
- Keluaran hk (https://dufestival.com/)
- Result hk (https://dufestival.com/)
- Data hk (https://dufestival.com/)
- Hk prize (https://dufestival.com/)
Still we need to have a look in to you org. Not possible to just look and figure out of the issue.
Let me know if it possible to connect on a call or not.
Thanks,
Abhishek Bansal.
Hello Abhishek,
I sent you an email to check with your availability. Let me know then I will send you an invite.
Cheers,
SW