+ Start a Discussion
Kathryn Lee 10Kathryn Lee 10 

Trailhead: Creating Wizards with Visual Workflow

I am working on the Creating Wizards with Visual Workflow challenge, and I have run into an unhandled exception. My workflow is running fine when just creating an Account record. It worked when creating and Account record and a Contact record with just first and last name. The problem popped up when I created a variable for the AccountID to link the Contact record back to the Account record. Here's what I have:




I have a feeling the error has something to do with the variable I created, but I can't figure out what to do. I tried other data types, but that didn't seem to work. 
Hi Kathryn,

I guess you to use {!Create_Account}.Id as default value. For more details, refer this link:
https://help.salesforce.com/HTViewHelpDoc?id=vpm_designer_crossobject_reference.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=vpm_designer_crossobject_reference.htm&language=en_US)

Let me know, if you need any other help.

Chloe Majors 6Chloe Majors 6
Sorry this is late. I think the input/output type is your problem on this one.