Hello Team, question for you guys. I have created ...
# general
a
Hello Team, question for you guys. I have created a workflow that creates projects from the opportunity and it is working fine, however, i have created custom fields that are both in opp and projects and when I add them to the workflow and create an opportunity, they do not update those fields, any suggestions? The fields are the same type in both opp and projects.
m
Have you enabled the workflow logs and reviewed them to see if you've encountered an error?
a
@MGBC I have looked at the logs and it does not mention those new 4 fields at all.
m
Did you check the "Show Rejected/Ignored Actions box"?
a
yes
I also tried deleting the fields and adding them again. Will clear my cache and test again
m
That is weird
How are you relating the opporutnity to the project? Did you make a custom field on the Project record to reference the Opp?
a
yes i have a project link field that is linking the project. I also have an Opp field in the project linking the opportunity. Also, just cleared the cache and tried again with no luck
j
It sounds like you made the same field apply to both the Project and Opp record. One thing you could do is make a different field on the Project record that means the same thing, and source it from the opportunity. Then it does not need to be in the workflow at all.
a
thanks, i will try that now!
m
I don't think you can have 1 field apply to both Opp and Project, one is an Entity field and one is a transation body field
But if you are setting the opportunity on the project record then you should be able to use native sourcing in our custom entity fields on the project
j
The only thing is you may need to add a opportunity refrence field on the Project record that would need to be filled by the workflow, I don't believe it is native. You can make the field hidden, but the sourcing and validation needs to have a reference. You can make the field hidden, but have the workflow still fill out the field,
a
yeah i tried to source it natively and it did not populate the fields to source. I will give this a go and let you know the results
m
I've had trouble with workflows and opportunites recently as well
Lots of weird things happening
j
Yeah like I said, probably have to make a opportunity field on Project and have worfklow populate it. Opportunities and Projects are not natively connected.
a
i have a field that already sources the opportunity. it let me chose the field so testing now
🙌 1
Heck yes it worked!
thanks guys i really appreciate it
m
👍
j
No problem!