You need to sign in to do that
Don't have an account?
Problems with Automating Processes with Flow challenge/example
I completed the example and the challenge but it doesn't seem to be working 100% or I am missing something.
For the Example, if I create a tab for it is says
java.lang.reflect.InvocationTargetException
Error is in expression '{!componentBody}' in component <apex:page> in component interview.apexc
when I go to the tab.
For the Challenge, if I create a tab and enter this information
First Name John
Last Name Smith
Company Name Misc Co
Opportunity Amount 100
Opportunity Stage Prospecting
It says
An unhandled fault has occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information.
Thanks.
For the Example, if I create a tab for it is says
java.lang.reflect.InvocationTargetException
Error is in expression '{!componentBody}' in component <apex:page> in component interview.apexc
when I go to the tab.
For the Challenge, if I create a tab and enter this information
First Name John
Last Name Smith
Company Name Misc Co
Opportunity Amount 100
Opportunity Stage Prospecting
It says
An unhandled fault has occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information.
Thanks.
Opportunity Name, Opportunity CloseDate were mandatory to save an opportunity record, so try inserting some dummy values into those two fields. :)
Thanks,
Balaji
It says:
"The Flow should have a screen with fields for First Name, Last Name, Company Name, Opportunity Amount, and Opportunity Stage."
Should I also include these fields there as well? I think I added them to a different section.
"Opportunity name, close date and stage are required fields. Name the Opportunity '{Company Name} - {Last Name}', set the close date to one month from today and set the stage to 'Prospecting'."
Thanks Aron
This is what i did:
I didnt add any additional fields other than those specified in the Challenge. But, when configuring the record create action for opportunity, i configured in the below way:
Accountid is a varaible i created which will have the id of account that was inserted as part of flow. amount,stagename are the fields specified in the challenge. Close date i just given flow.currentdate which is equivalent to Today()!
and one more thing is make sure while adding drop down values for stagename as below
for each choice,
you enter the stored value property with actual opportunity stage name.
Hope this helps:
Thanks,
balaji
If I Select Amount, I can't select Screen Input Fields, only "Create New"
If I Select AccountId, it won't let me choose from Screen Input Fields. Oddly, I see {!Opportunity_Amount} and a few other options.
Aron
--
Abhi
Not able to put Prospecting in stored value
Bookmark that page ... invaluable resource.
You'll want to return a Date ... and there is a function DATE(year,month,day). If you add 1 to the month, like this: DATE(year,month+1,day), you'll be on the money. Now... to be honest, I'm not sure this is a good idea, because what if it is the 31st and there are only 30 days in the next month ... I have not checked that use case yet, but so far it work for me. The total formula is (and all the commands from this are from that link I show above):
DATE(YEAR(TODAY()),MONTH(TODAY())+1,DAY(TODAY()))
Cheers