NSSJohn 0 Posted January 23, 2018 Report Share Posted January 23, 2018 Hi, I am new to X2CRM and X2Workflow. I am trying to find out if it is possible to, and if so, how to, update the Account for an Opportunity based on the Contact saved for an Opportunity. For example, if I create a new Opportunity, and select a Contact, I would like the Account field for the Opportunity to automatically populate if said Contact is tied to an Account. I have tried a number of things in the X2Workflow configuration, but nothing seems to work. Any ideas? Thanks! Quote Link to post Share on other sites
X2Isaiah 47 Posted January 24, 2018 Report Share Posted January 24, 2018 Do you want this all happening on the creation form? If so, you won't be able to have it auto-populate as you fill out the new Opportunity form, but you can have to populate in the database upon saving the form, using the workflow Record Created and doing a comparison if the field is populated. Quote Link to post Share on other sites
NSSJohn 0 Posted January 26, 2018 Author Report Share Posted January 26, 2018 Thanks so much for the reply! We are trying that as well, but are still muddling through exactly how to refer to the field(s) when setting up the Workflow. I am digging through the X2Workflow In-Depth User Manual to try to move forward. So if my Workflow is triggered by Record Created, with Record Type: Opportunities, and Attribute Account is Empty, then I add Update Record task. It is here that I have had no success. I select Account from the drop down under Update fields on associated record, but am unsure was to what to put in the box next to Account to properly update the Account field in the Opportunity based on the Contact's assigned account. I tried {contacts.company} but that doesn't populate anything in the Account field in the Opportunity. Quote Link to post Share on other sites
X2Isaiah 47 Posted February 1, 2018 Report Share Posted February 1, 2018 Instead of {contacts.company}, use {contactName.company} 1 Quote Link to post Share on other sites
NSSJohn 0 Posted February 1, 2018 Author Report Share Posted February 1, 2018 Awesome, that did it! Thanks so much! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.