My little brother is practicing his walking... If I am going to get the Einstein Analytics superbadge completed before he starts trying to play tag, I had better hurry! Challenge 4 is not difficult if you follow the instructions precisely! Start by uploading the dataset then create the dataflow. If you encounter this error....
You are, perhaps, taking the instructions too literally and need to tweak the formula.
Step 5 - A quiz. You're on your own!
Step 6 - The monitor function was crucial in diagnosing dataflow issues! If you get stuck, this thread on the developer community is a lifesaver: https://developer.salesforce.com/forums/?id=9060G0000005d3yQAA
Example issues:
Load Seed Bank Agencies w/Climate Data
You are, perhaps, taking the instructions too literally and need to tweak the formula.
Step 5 - A quiz. You're on your own!
Step 6 - The monitor function was crucial in diagnosing dataflow issues! If you get stuck, this thread on the developer community is a lifesaver: https://developer.salesforce.com/forums/?id=9060G0000005d3yQAA
Example issues:
In case you get stuck, here is a layout of the nodes.... The trickiest part is the formulas for Definie Temp Range and Add TempClass. Hint - The TempClass formula is different for each of the dataflows.
Load Seed Bank w/ Temperature Classification
Load Seed Bank Agencies w/Climate Data
Hi
ReplyDeleteI am completely new this superbadges. I have done ADMIN & PD1. Can you suggest which super badge i should start with?
If you are up to a challenge- I'd do the Process Automation Specialist. If you would like to start with something a little easier, I'd go for the Security Specialist. The best of luck!
DeleteI am stuck at Challenge 6,7 . Here is my JSON:
Delete{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Define Temp Range",
"mergeWithSource": true,
"computedFields": [
{
"name": "TempClass",
"saqlExpression": "case when LowTemp < 25 and HighTemp < 25 then \"Polar\"\nwhen LowTemp >= 25 and HighTemp <= 50 then \"Cool\"\nwhen LowTemp >= 51 and HighTemp <= 85 then \"Continental\"\nwhen LowTemp >= 85 then \"Tropical\" end",
"label": "TempClass",
"type": "Numeric"
}
]
}
},
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"source": "Load Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"saqlExpression": "(Seeds_Pound*Spacing)/6272640 ",
"name": "Acreage",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank",
"alias": "seed_bank",
"source": "CleanUp"
}
},
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
},
"Augment Temp Class": {
"action": "augment",
"parameters": {
"right_key": [
"TempClass"
],
"left": "Add Temp Class",
"left_key": [
"TempClass"
],
"right_select": [
"TempClass",
"TempKey"
],
"right": "Load Temp Class Mapping",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
"Load Temp Class Mapping": {
"action": "edgemart",
"parameters": {
"alias": "Temperature_Classes_Mapping"
}
},
"CleanUp": {
"action": "sliceDataset",
"parameters": {
"mode": "drop",
"source": "Augment Temp Class",
"fields": [
{
"name": "HighTemp"
},
{
"name": "LowTemp"
},
{
"name": "Climate.TempClass"
},
{
"name": "Climate.TempKey"
},
{
"name": "TempClass"
}
]
}
},
"Define Temp Range": {
"action": "computeExpression",
"parameters": {
"source": "Calculate Acreage",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "0",
"saqlExpression": "string_to_number(substr(Temperature, 1, 2))\n\n",
"name": "LowTemp",
"label": "LowTemp",
"type": "Numeric"
},
{
"name": "HighTemp",
"saqlExpression": "string_to_number(substr(Temperature, -2, 2))",
"label": "HighTemp",
"type": "Numeric"
}
]
}
}
}
I am so lost on step 6. I have the same nodes as you, but I dont understand how you are supposed to multi join or the two nodes before that. First I create a min and max temp, then how do I use two fields to get a temperature category? Can you please post your JSON for the dataflow or at least the Define Temp Range and Add Temp Class nodes? Thank you
ReplyDeleteStep 6 is tricky! (full disclosure-- I did this superbadge twice because I didn't fully understand the first time...so don't feel bad about being lost!)
Deletehttps://developer.salesforce.com/forums/?id=9060G0000005d3yQAA ---> This thread was very heplful!
Define Temp Range- I needed help to figure this one out as well!
string_to_number( substr(Temperature,1,2)) for Low
string_to_number(substr(Temperature,-2,2)) for High
Adding the Temp Class: The SAQL starts with
case
when lowTemp < 25 and highTemp < 25 then "Polar"
- then you define the rest of the ranges.
Hi All, Need help for the below:
DeleteI am trying to complete "Einstein Analytics Data Preparation Specialist" superbadge Challenge 4, I followed all the steps and cross checked multiple times still getting below error:
Challenge Not yet complete... here's what's wrong:
We can't find the 'Load Seed Chart' node in the dataflow. Confirm the node name matches the name as described in the challenge.
can anyone help me out in this?
I am getting this error from step 4
DeleteChallenge Not yet complete... here's what's wrong:
We can't find the 'Load Seed Chart' node in the dataflow. Confirm the node name matches the name as described in the challenge.
I am getting this error from step 4
DeleteChallenge Not yet complete... here's what's wrong:
We can't find the 'Load Seed Chart' node in the dataflow. Confirm the node name matches the name as described in the challenge.
Here is the JSON
{
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Load_Seed_Chart"
}
},
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"source": "Load Seed Chart",
"computedFields": [
{
"type": "Numeric",
"precision": 18,
"scale": 6,
"saqlExpression": " (Seeds_Pound*Spacing)/6272640",
"name": "Acreage",
"label": "Acreage"
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"alias": "CreateSeedBank",
"name": "CreateSeedBank",
"source": "Calculate Acreage"
}
}
}
"Load Seed Chart": {
Delete"action": "edgemart",
"parameters": {
"alias": "Load_Seed_Chart"
- Change the alias name to "Seed_Chart" - Don't ask me why.... :)
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"alias": "CreateSeedBank",
"name": "CreateSeedBank",
"source": "Calculate Acreage"
- Change Name and Alias name
Thanks, after fixing the alias it worked, Now I am stuck with step # 6 Determine Optimal Climates, getting an error
DeleteWe can't find the 'Load Climate' node in the dataflow. Confirm the node name matches the name as described in the challenge.
Here is the JSON,
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Load_Climate"
}
},
Now I am getting this lens error,
DeleteChallenge Not yet complete... here's what's wrong:
We can't confirm these are the correct values in the lens. Please check your work.
"Load Climate": {
Delete"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
The syntax on this challenge was a bit.... insane.
It took a ton of trial and error to get the right Alias names.
I was able to pass the above step and stuck at step # 6 for creating the lens.
DeleteChallenge Not yet complete... here's what's wrong:
We can't confirm these are the correct values in the lens. Please check your work.
What do you have in the lens currently?
DeleteI have created lens for Agency Temp Class, it has Continental 155, Polar 120 and Cool 66 based on Seed Bank Agencies Data Set.
DeleteAnother lens Seed Bank Temp Class based on Seed Bank Data Set has
Cool-Continental-Tropical 3
Continental-Tropical 2
Cool-Continental 2
Continental 1
Cool 1
After fixing lens configurations, now I am getting this error,
DeleteChallenge Not yet complete... here's what's wrong:
We can't confirm your lens displays the top climate class.
It's been a while.... so I hope this is good advice! I only see one temp.class on my lens- just the one with 155.
DeleteI was able to complete Data Preparation Super badge, now I am doing Einstein Analytics and Discovery Insights Specialist and stuck at step # 3 (Calculate Subscriber Acquisition Costs)
DeleteChallenge Not yet complete... here's what's wrong:
We can't confirm the Subscriber Revenue chart is filtering by the Tenure Length toggle. Confirm there's a binding that filters attrition costs displayed in the reference line.
Appreciate if you provide any help.
Hi Steve- I can't give you any help on this one... I haven't done that superbadge yet! (Working on the advanced billing specialist!)
DeleteHi Steve - How did you fix the "We can't confirm these are the correct values in the lens. Please check your work." error in challenge 6
DeleteI was able to complete the challenge
DeleteFor Agency Temp Class Lens values should be -
Continental - 155(and Polar - 120, Cool - 66)
For Seed Bank Temp Class Lens Values should be -
Continental - 26(and Cool - 15)
You would only focus Continental in the lens before Saving.
This is regarding Challenge 6. I am getting this error despite all the dataflows successful. please help, I have tried everything but getting the same error since 3 days now -
DeleteChallenge Not yet complete... here's what's wrong:
We can't validate the 'Create Seed Bank Agencies' node was created correctly. Check the required fields, field types, node name, and alias are correct.
mistake was for the case statement I had an upper case "C" in Case (which is how its always done in VC++ and VB
ReplyDeleteGlad you figured it out! (Trailhead Baby was 'gone fishing' this weekend, and didn't check for comments!)
DeleteHi please help in update the data flow.i can't update my data flow..show errors in that
DeleteI am stuck at the SAQL Expression field for 'Calculate Acreage'. Its giving me a syntax error.
ReplyDeleteWhat do you have?
DeleteCould you please let me know the issue in challenge 4:
ReplyDelete{
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Load_Seed_Chart"
}
},
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"source": "Load Seed Chart",
"computedFields": [
{
"type": "Numeric",
"name": "Acreage",
"label": "Acreage",
"saqlExpression": "(Seeds_Pound*Spacing)/6272640",
"precision": 18,
"scale": 6
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"alias": "seed_bank",
"source": "Calculate Acreage",
"name": "Create Seed Bank"
}
"Load Seed Chart": {
Delete"action": "edgemart",
"parameters": {
"alias": "Load_Seed_Chart"
Wrong Alias
Try leaving Precision and Scale blank for both low and high temp.
ReplyDeletehmm Could you post the json for the dataflow? These challenges are super tricky with syntax!
ReplyDelete"Create Seed Bank": {
ReplyDelete"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "CleanUp"
- You need a different name and alias. I didn't look through the whole JSON yet, but that's my bet.
Yay!!!!!
ReplyDeleteCould you please give me the final json? thanks.~
ReplyDeleteNo. That would be cheating--- I'm happy to provide hints, but will never share answers. This would take away from the purpose of the superbadge.
ReplyDeletehi ,
ReplyDeleteunable to find error in step 4
{
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"source": "Load Seed Chart",
"computedFields": [
{
"type": "Numeric",
"name": "Acreage",
"label": "Acreage",
"saqlExpression": "(Seeds_Pound*Spacing)/6272640",
"precision": 18,
"scale": 6
}
]
}
},
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"source": "Calculate Acreage",
"name": "Create Seed Bank",
"alias": "CreateSeedBank"
}
}
}
Hi,
ReplyDeleteCan you please let me know the correct values of both lens. I am getting exception like :
Challenge Not yet complete... here's what's wrong:
We can't confirm these are the correct values in the lens. Please check your work.
Many thanks.
Hi,
ReplyDeletei'm facing an issue in Challenge-4. i'm not able to understand what exactly is wrong with my approach.
My approach:
1. uploaded Seed Chart.txt from resource to create a dataset in mosiac app.
2. created a dataflow with name "Load Seed Bank" . Please find JSON below:
{
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
},
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"source": "Load Seed Chart",
"computedFields": [
{
"type": "Numeric",
"saqlExpression": "(Seeds_Pound*Spacing)/6272640",
"precision": 18,
"scale": 6,
"name": "Acreage",
"label": "Acreage"
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"source": "Calculate Acreage",
"alias": "seed_bank",
"name": "Create Seed Bank"
}
}
}
then ran this dataflow and created a lens with the dataset created. When validating the challenge, i'm getting an error stating this:-
"Challenge Not yet complete... here's what's wrong:
We can't find the Seed Bank dataset or required fields are missing. Check the challenge and confirm the node name and required fields."
Awaiting a helpful response.
Thanks,
Mithilesh
"name": "Create Seed Bank" - This is incorrect.
DeleteHi,
DeleteThanks for your reply. i changed "name" to "seed bank". still i'm facing the same issue. not sure what is wrong here as i followed the same approach for challenge-3.
oops... i got it solved. i was doing a silly mistake. My bad. Thanks for your help again.
DeletePerfect!!!
DeleteHi Mithilesh, Can you please tell me what was the mistake you were doing because even i followed the same steps and i am still facing the error.
DeleteHi Trailhead Baby,
ReplyDeletePlease help me. I am stuck at step 6 of Einstein Analytics Data Preparation Specialist super badge.
Message:
Challenge Not yet complete... here's what's wrong:
We can't confirm these are the correct values in the lens. Please check your work.
What should be the values for both lens ?
Waiting for your response.
Thanks
Please share some details about what you have
DeleteHi,
ReplyDeletei'm on challenge-6 and i created a dataflow called "Load Seed Bank Agencies w/Climate Data" but this dataflow is failing when i'm trying to run it.
Error:
Something went wrong while executing the Filter 2015 node: invalid field expression for field 'Date_Year': Syntax Error at position [line 1: column 11] after token Unexpected character ':' :: ;Date_Year:EQ:2015;
posting JSON in other comment.
JSON for filter node:
ReplyDelete"Filter 2015": {
"action": "computeExpression",
"parameters": {
"source": "Load Climate",
"mergeWithSource": true,
"computedFields": [
{
"saqlExpression": "Date_Year:EQ:2015",
"name": "Date_Year",
"label": "Date_Year",
"type": "Text"
}
]
}
},
Thanks
I have the action as "filter", not "computeExpression"
Deletesuch a silly mistake it was and i was stuck there for long. BTW thanks.
DeleteGlad you are past it!
DeleteHi Rebecca,
ReplyDeletein Step 4 , i am getting this error :: "We can't find the Acreage field. Check the challenge and confirm required field setting." let me know what i am missing here.
{
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"source": "Load Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"saqlExpression": " (Seeds_Pound*Spacing)/6272640",
"name": "Acreage",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Create Seed Bank",
"alias": "Create_Seed_Bank",
"source": "Calculate Acreage"
}
},
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
}
}
I just checked the seed chart flat file, and i could see that Acreage filed itself is not present, so i downloaded the zip file again and found that there is no filed called Acreage in it as well , i found this when i clicked on output fields of Load Seed Chart: edgemart.
Deleteplease let me know if this is the case and if yes how can i fix it?
There is not a field named Acreage in the zip file - It is a field you create by calculation within the data flow.
DeleteThe error is in this - A name/alias is not correct:
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Create Seed Bank",
"alias": "Create_Seed_Bank",
"source": "Calculate Acreage"
thank you for the light, tried the below ways nothing worked
Delete"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank",
"alias": "Seed_Bank",
"source": "Calculate Acreage"
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "seed bank",
"alias": "seed_bank",
"source": "Calculate Acreage"
}
},
So close! Name capitalized, alias not capitalized.
DeleteI just checked in my data sets i kind of uploaded twice for seed chart file, so i deleted the first version of it, kept the latest version under Mosiac app, named it as " Seed Chart" and api name is "Seed_Chart"
Deletehere is new error ""
and my jason is ::We can't find the Seed Bank dataset or required fields are missing. Check the challenge and confirm the node name and required fields.
{
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"source": "Load Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"name": "Acreage",
"saqlExpression": "(Seeds_Pound*Spacing)/6272640",
"label": "Acreage",
"type": "Numeric",
"precision": 18,
"scale": 6
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed_Bank",
"alias": "Seed Bank",
"source": "Calculate Acreage"
}
},
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
}
}
do i need to delete the flat file and need to upload with seed_bank as the api name?
So much banging and so silly of me, i had the issues fixed, i passed the step 4
DeleteGood to hear!!!
DeleteEven though i have done everything as mentioned, while creating the lens i am not able to see the acreage field under Bar length
DeleteWhich of the Lenses are you working to create?
DeleteTrailhead Baby,
ReplyDeleteI'm having an issue with Load Seed Bank w/Temperature Classification
I keep getting this error after running the data flow and there is no data in the lens. Im not sure were to start.
The dataflow was completed, but the LookupSingleValue node didn't augment any columns. Either the node didn't find any matches, or a join key contains only null values.
I'm happy to take a look at your json.
DeleteThanks Ill have to put this in two post.
Delete{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Define Temp Range",
"mergeWithSource": true,
"computedFields": [
{
"name": "TempClass",
"saqlExpression": "\"case \\nwhen lowTemp < 25 and highTemp < 25 then \\\"Polar\\\" \\nwhen lowTemp >= 25 and lowTemp <= 50 and highTemp >= 25 and highTemp <= 50 then \\\"Cool\\\"\\nwhen lowTemp >= 51 and lowTemp <= 85 and highTemp >= 51 and highTemp <= 85 then \\\"Continental\\\"\\nwhen lowTemp > 85 and highTemp > 85 then \\\"Tropical\\\"\\nwhen lowTemp < 25 and (highTemp >= 25 and highTemp <= 50) then \\\"Polar-Cool\\\" \\nwhen lowTemp < 25 and (highTemp >= 25 and highTemp <= 85) then \\\"Polar-Cool-Continental\\\" \\nwhen lowTemp < 25 and highTemp > 85 then \\\"Polar-Cool-Continental-Tropical\\\" \\nwhen (lowTemp >= 25 and lowTemp <= 50) and (highTemp >= 51 and highTemp <= 85) then \\\"Cool-Continental\\\" \\nwhen (lowTemp >= 25 and lowTemp <= 50) and highTemp >= 85 then \\\"Cool-Continental-Tropical\\\" \\nwhen (lowTemp >= 51 and lowTemp <= 85) and highTemp > 85 then \\\"Continental-Tropical\\\" \\nend\"",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"source": "Load Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"name": "Acreage",
"saqlExpression": "(Seeds_Pound*Spacing)/6272640",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank",
"alias": "seed_bank",
"source": "CleanUp"
}
},
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
},
"Augment Temp Class": {
Delete"action": "augment",
"parameters": {
"left": "Load Temp Class Mapping",
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue",
"left_key": [
"TempKey"
],
"right_key": [
"TempClass"
],
"right_select": [
"Acreage",
"hightemp",
"Lifecycle",
"lowtemp",
"Quantity_Pounds",
"Seed",
"Seeds_Pound",
"Seed_ID",
"Seed_Type",
"Spacing",
"TempClass",
"Temperature"
]
}
},
"Load Temp Class Mapping": {
"action": "edgemart",
"parameters": {
"alias": "Temperature_Classes_Mapping"
}
},
"CleanUp": {
"action": "sliceDataset",
"parameters": {
"mode": "drop",
"source": "Augment Temp Class",
"fields": [
{
"name": "TempClass"
},
{
"name": "TempKey"
},
{
"name": "Climate.lowtemp"
},
{
"name": "Climate.hightemp"
}
]
}
},
"Define Temp Range": {
"action": "computeExpression",
"parameters": {
"source": "Calculate Acreage",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "0",
"precision": 18,
"name": "lowtemp",
"saqlExpression": "string_to_number( substr(Temperature, 1, 2))",
"scale": 2,
"label": "lowtemp",
"type": "Numeric"
},
{
"defaultValue": "0",
"precision": 18,
"name": "hightemp",
"saqlExpression": "string_to_number(substr(Temperature, -2, 2))",
"scale": 2,
"label": "hightemp",
"type": "Numeric"
}
]
}
}
}
"left_key": [
Delete"TempKey"
],
"right_key": [
"TempClass"
I think this is the issue. Key value should be the same.
I just tried that and it I still keep getting this error.
ReplyDeleteThe dataflow was completed, but the LookupSingleValue node didn't augment any columns. Either the node didn't find any matches, or a join key contains only null values
If you post your revised JSON, I'll take a look.
DeleteHi Rebecca,
ReplyDeletein #6 for building Seed Bank Temp Class lens, they mentioned the dataset as " Seed Bank" but from the zip i do not see any flat file with that name, i could see only seed chart and seed bank orders please let me know which file i need to upload for dataset?
The dataset is created by the dataflow that you create.
DeleteHi ,
ReplyDeleteLoad Seed Bank w/Temperature Classification when ran ,getting an error like below
" The dataflow was completed, but the LookupSingleValue node didn't augment any columns. Either the node didn't find any matches, or a join key contains only null values."
{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Define Temp Range",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "\"case when Temperature < 25 then \\\"Polar\\\" when Temperature >= 25 and Temperature <= 50 then \\\"Cool\\\" when Temperature >= 51 and Temperature <= 85 then \\\"Continental\\\" when Temperature > 85 then \\\"Tropical\\\" end\"",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"source": "Load Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"name": "Acreage",
"saqlExpression": "(Seeds_Pound*Spacing)/6272640",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "CleanUp"
}
},
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
},
"Augment Temp Class": {
"action": "augment",
"parameters": {
"right_key": [
"TempClass"
],
"left": "Add Temp Class",
"left_key": [
"TempClass"
],
"right_select": [
"TempKey",
"TempClass"
],
"right": "Load Temp Class Mapping",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
i am posting remaining half in another comment due to html limit error
contd...
ReplyDelete"Load Temp Class Mapping": {
"action": "edgemart",
"parameters": {
"alias": "Temperature_Classes_Mapping"
}
},
"CleanUp": {
"action": "sliceDataset",
"parameters": {
"mode": "drop",
"source": "Augment Temp Class",
"fields": [
{
"name": "HighTemp"
},
{
"name": "LowTemp"
}
]
}
},
"Define Temp Range": {
"action": "computeExpression",
"parameters": {
"source": "Calculate Acreage",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "0",
"precision": 18,
"name": "LowTemp",
"saqlExpression": "string_to_number(substr(Temperature, 1, 2))",
"scale": 2,
"label": "LowTemp",
"type": "Numeric"
},
{
"defaultValue": "0",
"precision": 18,
"name": "HighTemp",
"saqlExpression": "string_to_number(substr(Temperature, -2, 2))",
"scale": 2,
"label": "HighTemp",
"type": "Numeric"
}
]
}
}
}
please share me your insights to fix my code or data.
deleted the data flow and re executed flow still the same old error, i made some corrections with the alias names and spaces issues but nothing is heping me to move forward ! :(
Delete{
Delete"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "\"case when Temperature < 25 then \\\"Polar\\\" when Temperature >= 25 and Temperature <= 50 then \\\"Cool\\\" when Temperature >= 51 and Temperature <= 85 then \\\"Continental\\\" when Temperature > 85 then \\\"Tropical\\\" end\"",
"label": "TempClass",
"type": "Text"
I see an issue with the SAQL
Hi,
ReplyDeleteI'm stuck at step 6... Before focus, I have: Polar 93, Continental 91, Cool 42. Are this numbers correct?
Thanks,
Antonio
Agency Temp Class lens? I have higher numbers for all.
DeleteYes! For Agency Temp Class lens... I think I have the correct dataflow "Load Seed Bank Agencies w/Climate Data"... What could it be? wrong data?
Deletehmmm I'm happy to take a look at the json if you like.
DeleteHere it goes! Thanks!!
DeleteI can't copy here all the code, so I have copy in Gdrive.
https://docs.google.com/document/d/1RaNsOtQZlsL_yVTd0NWkox9kpyV1LLJ60fWBEVQwsLI/edit?usp=sharing
If you could just post the JSON for your data flow, I will take a look.
Delete"Add Temp Class": {
Delete"action": "computeExpression",
"parameters": {
"source": "Filter 2015",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "case when Temperature < 25 then \"Polar\" when Temperature >= 25 and Temperature <= 50 then \"Cool\" when Temperature >= 51 and Temperature <= 85 then \"Continental\" when Temperature > 85 then \"Tropical\" end",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Filter Agency Records": {
"action": "filter",
"parameters": {
"filter": "IsAgency:EQ:TRUE",
"source": "ID Agency Records"
}
},
"Load Account": {
"action": "sfdcDigest",
"parameters": {
"fields": [
{
"name": "AccountNumber"
},
{
"name": "Name"
},
{
"name": "Phone"
},
{
"name": "ShippingCity"
},
{
"name": "ShippingCountry"
},
{
"name": "ShippingPostalCode"
},
{
"name": "ShippingState"
},
{
"name": "ShippingStreet"
}
],
"object": "Account"
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Augment TempClass"
}
},
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Add Agency Fields": {
"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
],
"right": "Load Agency Detail",
"relationship": "AgencyDetail",
"operation": "LookupSingleValue"
}
},
"Filter 2015": {
Delete"action": "filter",
"parameters": {
"filter": "Date_Year:EQ:2015",
"source": "Load Climate"
}
},
"Augment TempClass": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Filter Agency Records",
"left_key": [
"ShippingCountry"
],
"right_select": [
"Country",
"Date",
"TempClass",
"Temperature"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
"Load Agency Detail": {
"action": "edgemart",
"parameters": {
"alias": "Agency_Detail"
}
},
"ID Agency Records": {
"action": "computeExpression",
"parameters": {
"source": "Add Agency Fields",
"mergeWithSource": true,
"computedFields": [
{
"name": "IsAgency",
"saqlExpression": "case when Phone is not null then \"TRUE\" else \"FALSE\" end",
"label": "IsAgency",
"type": "Text"
}
]
}
}
}
I had to copy in two comments, it was to large.
Thanks for your help.
},
Delete"Add Agency Fields": {
"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
One field is missing. Hint: You can't match on a field that isnt' selected for both data sets.
I've added at the right select AccountNumber at Add Agency Fields and propagated, but still it isn't work.. this is blowing my mind!
DeleteWant to post the revised json? I didn't dig any further once I saw the AccountNumber issue.
DeleteHi ,
ReplyDeletei am getting " The dataflow was completed, but the LookupSingleValue node didn't augment any columns. Either the node didn't find any matches, or a join key contains only null values."
when i validate my step 6, i checked with existing suggestion via above posts i have corrected alias name and left key and right key for same name nothing worked and struck with from some now, please let me know what else i am missing !
thanks
kiran
Could you post the JSON?
DeleteThank you , please find my Json file , with the html limits i will be posting in 2 comments
Delete{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Define Temp Range",
"mergeWithSource": true,
"computedFields": [
{
"name": "TempClass",
"saqlExpression": "\"case \\nwhen lowTemp < 25 and highTemp < 25 then \\\"Polar\\\" \\nwhen lowTemp >= 25 and lowTemp <= 50 and highTemp >= 25 and highTemp <= 50 then \\\"Cool\\\"\\nwhen lowTemp >= 51 and lowTemp <= 85 and highTemp >= 51 and highTemp <= 85 then \\\"Continental\\\"\\nwhen lowTemp > 85 and highTemp > 85 then \\\"Tropical\\\"\\nwhen lowTemp < 25 and (highTemp >= 25 and highTemp <= 50) then \\\"Polar-Cool\\\" \\nwhen lowTemp < 25 and (highTemp >= 25 and highTemp <= 85) then \\\"Polar-Cool-Continental\\\" \\nwhen lowTemp < 25 and highTemp > 85 then \\\"Polar-Cool-Continental-Tropical\\\" \\nwhen (lowTemp >= 25 and lowTemp <= 50) and (highTemp >= 51 and highTemp <= 85) then \\\"Cool-Continental\\\" \\nwhen (lowTemp >= 25 and lowTemp <= 50) and highTemp >= 85 then \\\"Cool-Continental-Tropical\\\" \\nwhen (lowTemp >= 51 and lowTemp <= 85) and highTemp > 85 then \\\"Continental-Tropical\\\" \\nend\"",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"source": "Load Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"name": "Acreage",
"saqlExpression": "(Seeds_Pound*Spacing)/6272640",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank",
"alias": "seed_bank",
"source": "CleanUp"
}
},
"Load Seed Chart": {
Delete"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
},
"Augment Temp Class": {
"action": "augment",
"parameters": {
"right_key": [
"TempClass"
],
"left": "Load Temp Class Mapping",
"left_key": [
"TempClass"
],
"right_select": [
"Acreage",
"hightemp",
"Lifecycle",
"lowtemp",
"Quantity_Pounds",
"Seed",
"Seeds_Pound",
"Seed_ID",
"Seed_Type",
"Spacing",
"TempClass",
"Temperature"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
"Load Temp Class Mapping": {
"action": "edgemart",
"parameters": {
"alias": "Temperature_Classes_Mapping"
}
},
"CleanUp": {
"action": "sliceDataset",
"parameters": {
"mode": "drop",
"source": "Augment Temp Class",
"fields": [
{
"name": "TempClass"
},
{
"name": "TempKey"
},
{
"name": "Climate.lowtemp"
},
{
"name": "Climate.hightemp"
}
]
}
},
"Define Temp Range": {
"action": "computeExpression",
"parameters": {
"source": "Calculate Acreage",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "0",
"precision": 18,
"name": "lowtemp",
"saqlExpression": "string_to_number( substr(Temperature, 1, 2))",
"scale": 2,
"label": "lowtemp",
"type": "Numeric"
},
{
"defaultValue": "0",
"precision": 18,
"name": "hightemp",
"saqlExpression": "string_to_number( substr(Temperature, -2, 2))",
"scale": 2,
"label": "hightemp",
"type": "Numeric"
}
]
}
}
}
@trailhead baby,
Deletei just updated one alias name in above posts
from :::
"name": "Seed Bank",
"alias": "seed_bank"
to:::
"name": "Seed Bank",
"alias": "Seed_Bank"
and re ran the dataflow still have the same old issue no progress !
},
Delete"CleanUp": {
"action": "sliceDataset",
"parameters": {
"mode": "drop",
"source": "Augment Temp Class",
"fields": [
{
"name": "TempClass"
},
{
"name": "TempKey"
},
{
"name": "Climate.lowtemp"
},
{
"name": "Climate.hightemp"
}
this is incorrect
Thank you for the pointers i made some new changes the data flow ran fine finally after the drill. but when checked the challenge i am getting this error mentioned below
DeleteChallenge Not yet complete... here's what's wrong:
We can't find the 'Create Seed Bank Agencies' node or required fields, such as 'TempClass', are missing. Check the challenge and confirm the node name and required fields
{
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"source": "Load Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"name": "Acreage",
"saqlExpression": " (Seeds_Pound*Spacing)/6272640",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
]
}
},
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
},
"Load Temp Class Mapping": {
"action": "edgemart",
"parameters": {
"alias": "Temperature_Classes_Mapping"
}
},
"Define Temp Range": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"source": "Calculate Acreage",
"computedFields": [
{
"type": "Numeric",
"name": "LowTemp",
"label": "LowTemp",
"saqlExpression": "string_to_number(substr(Temperature, 1, 2))",
"precision": 18,
"scale": 2
},
{
"type": "Numeric",
"name": "HighTemp",
"label": "HighTemp",
"saqlExpression": "string_to_number(substr(Temperature, -2, 2))",
"precision": 18,
"scale": 2
}
]
}
},
contd...
Delete"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"source": "Define Temp Range",
"computedFields": [
{
"type": "Text",
"name": "TempClass",
"label": "TempClass",
"saqlExpression": "case when Temperature < \"25\" then \"Polar\" \nwhen Temperature >= \"25\" and Temperature <= \"50\" then \"Cool\" when Temperature >= \"51\" and Temperature <= \"85\" then \"Continental\" \nwhen Temperature > \"85\" then \"Tropical\" \nend",
"precision": 18
}
]
}
},
"Augment Temp Class": {
"action": "augment",
"parameters": {
"operation": "LookupSingleValue",
"left": "Add Temp Class",
"relationship": "Climate",
"right": "Load Temp Class Mapping",
"left_key": [
"TempClass"
],
"right_key": [
"TempKey"
],
"right_select": [
"TempClass"
]
}
},
"CleanUp": {
"action": "sliceDataset",
"parameters": {
"mode": "drop",
"fields": [
{
"name": "HighTemp"
},
{
"name": "LowTemp"
},
{
"name": "TempClass"
}
],
"source": "Augment Temp Class"
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"source": "CleanUp",
"alias": "Seed_Bank",
"name": "Seed Bank"
}
}
}
"Create Seed Bank": {
Delete"action": "sfdcRegister",
"parameters": {
"source": "CleanUp",
"alias": "Seed_Bank",
"name": "Seed Bank"
alias punctuation.
Thank you so much Rebeca, My step 6 is resolved finally today. i have completed my step 7 already but could not proceed because of step 6 issues. I have finally made the super badge today ! yipeeeee !
Deletewoooohooo!!!!!!
DeleteCan anyone please help on Step 4. PFB for the json
ReplyDelete{
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"source": "Load Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"saqlExpression": " (Seeds_Pound*Spacing)/6272640",
"name": "Acreage",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank",
"alias": "Seed_Chart",
"source": "Calculate Acreage"
}
},
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
}
}
I am getting the below error even after adding the lens correctly.
We can't find the Seed Bank dataset or required fields are missing. Check the challenge and confirm the node name and required fields.
@shruthi
Delete"name": "Seed Bank",
"alias": "Seed_Chart",
alias has to be Seed_Bank as well , let me know if that works out !
No Even after that it is not working it says We can't find the 'Load Seed Chart' node in the dataflow. Confirm the node name matches the name as described in the challenge.
DeleteName and alias element are really painful with this challenges i had this worked out by trial and error method and it worked back then, please try below and let me know if that knows
Delete"name": "Seed Chart",
"alias": "Seed_Chart",
@Shruthi, did you got the issue fixed? Can you please let me know what was the root cause?
DeleteThis comment has been removed by the author.
ReplyDeleteGetting the following warning when running the dataflow:
ReplyDeleteLoad Seed Bank Agencies w/Climate Data
The dataflow was completed, but the LookupSingleValue node didn't augment any columns. Either the node didn't find any matches, or a join key contains only null values.
Add Agency Fields augment Less than 1 second success 1,384 0
1,384 0
Filter 2015 filter Less than 1 second success 31,200 0
0 0
ID Agency Records computeExpression Less than 1 second success 1,384 0
1,384 0
Temp Class computeExpression Less than 1 second success 0 0
0 0
Filter Agency Records filter Less than 1 second success 1,384 0
383 0
Augment TempClass augment Less than 1 second warning 0 0
0 0
optimize-Create Seed Bank Agencies optimizer Less than 1 second success 0 0
0 0
Create Seed Bank Agencies sfdcRegister 40 seconds success 0 0
0 0
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
DeleteHi, i'm stuck at #4.
ReplyDeleteI get the error We can't find the Seed Bank dataset or required fields are missing. Check the challenge and confirm the node name and required fields.
I'm checking the Dataflow Alias: Seed Bank Name: Seed_Bank and seems ok to me, but i guess i'm wrong in a way i don't understand. If someone could be so kind to support, that would really be helpful.
Thanks a lot.
Just in case my JSON
Delete{
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
},
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"source": "Load Seed Chart",
"computedFields": [
{
"type": "Numeric",
"name": "Acreage",
"label": "Acreage",
"saqlExpression": "(Seeds_Pound*Spacing)/6272640",
"precision": 18,
"scale": 6
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"source": "Calculate Acreage",
"alias": "Seed Bank",
"name": "Seed_Bank"
}
}
}
"Create Seed Bank": {
Delete"action": "sfdcRegister",
"parameters": {
"source": "Calculate Acreage",
"alias": "Seed Bank",
"name": "Seed_Bank"
Wrong alias and name....
First of all , thanks for prompt reply. Appreciated! Sorry but where i can get the right alias and name, and this goes beyond the question. In the superbadge there's no indication of what naming convention to follow. If you could kindly give me some insight as i fear i'm missing something here. Thanks!
DeleteI understood! Beside changing the alias and name the thing i wasn't realizing is that the process was creating a dataset... but in the SHARED APP! What a sun of gun... i had to change the dataset association and now works!! Anyway, sorry for bothering. Thanks a lot!
DeleteGood!! I am so glad you figured it out!
DeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
DeleteThis comment has been removed by the author.
DeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
Delete{
ReplyDelete"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"saqlExpression": "(Seeds_Pound*Spacing)/6272640 ",
"name": "Acreage",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
],
"source": "Load Seed Chart"
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank",
"alias": "seed_bank",
"source": "Calculate Acreage"
}
},
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Bank1"
}
}
}
The above on the json for my dataflow.By using the dataset i am not able to create the lens.I cant see Sum | Acreage.Can Any one help me on this
I am also stuck in Challenge4. Getting below error. I am not able to find out where i missed.
DeleteIf anyone knows please help me.
Challenge Not yet complete... here's what's wrong:
We can't find the Acreage field. Check the challenge and confirm required field setting.
{
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
},
"Calculate Acerage": {
"action": "computeExpression",
"parameters": {
"source": "Load Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"name": "Acreage",
"saqlExpression": "(Seeds_Pound*Spacing)/6272640",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank",
"alias": "Seed_Bank",
"source": "Calculate Acerage"
}
}
}
It will be helpful for me if someone tells me why I am getting this.
Alias - is incorrect. (It's a capitalization issue)
Delete},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank",
"alias": "Seed_Bank",
"source": "Calculate Acerage"
Hi,
ReplyDeleteI am stuck in step 6 Load Seed Bank Agencies w/Climate Data while running the data flow.
Below is the Error
Something went wrong while executing the Augment TempClass node: Duplicate field TempClass (02K2x000000EEiPEAW_03C2x000000BNimEAG)
Below is the Json :
{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Filter 2015",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "case when Temperature < 25 then \"Polar\" when Temperature >=25 and Temperature <=50 then \"Cool\" when Temperature >=51 and Temperature <=85 then \"Continental\" when Temperature > 85 then \"Tropical\" end",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Augment TempClass"
}
},
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Load Seed Bank Agencies": {
"action": "edgemart",
"parameters": {
"alias": "seed_bank_agencies"
}
},
"Filter 2015": {
"action": "filter",
"parameters": {
"filter": "Date_Year:R:2015",
"source": "Load Climate"
}
},
"Augment TempClass": {
"action": "augment",
"parameters": {
"left": "Load Seed Bank Agencies",
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue",
"left_key": [
"ShippingCountry"
],
"right_key": [
"Country"
],
"right_select": [
"TempClass"
]
}
}
}
},
Delete"Augment TempClass": {
"action": "augment",
"parameters": {
"left": "Load Seed Bank Agencies",
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue",
"left_key": [
"ShippingCountry"
],
"right_key": [
"Country"
],
"right_select": [
"TempClass"
This is not correct.
Tried this
Delete},
"Augment TempClass": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Load Seed Bank Agencies",
"left_key": [
"ShippingCountry"
],
"right_select": [
"TempClass"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
But Still throwing the same error.
"Augment TempClass": {
Delete"action": "augment",
"parameters": {
"left": "Filter 2015",
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue",
"left_key": [
"Country"
],
"right_key": [
"Country"
],
"right_select": [
"TempClass",
"Country",
"Date",
"Temperature"
This Worked. Thanks much :)
Hi I am getting the bellow error. And correct me if i am wrong any where.
ReplyDeleteChallenge Not yet complete... here's what's wrong:
We can't find the Seed Bank dataset or required fields are missing. Check the challenge and confirm the node name and required fields.
Below is my JSON details.
{
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"source": "Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"name": "Acreage",
"saqlExpression": " (Seeds_Pound*Spacing)/6272640",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
]
}
},
"Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"rowLevelSecurityFilter": "",
"name": "seedbank",
"alias": "seedbank",
"source": "Calculate Acreage"
}
},
"Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
}
}
This comment has been removed by the author.
Delete},
Delete"Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"rowLevelSecurityFilter": "",
"name": "seedbank",
"alias": "seedbank",
"source": "Calculate Acreage"
Wrong alias and name
and wrong parameters
DeleteThis comment has been removed by the author.
ReplyDeleteHi all
ReplyDeleteI am having a really hard time with Step 6. I made it through all of the tempkey/temp class definitions, and everything appears to run fine but when I go to check the step in trailhead I get this "We can't validate the 'Create Seed Bank Agencies' node was created correctly" error. I've recreated the steps a number of times, and I am pretty sure all of my nomenclature is correct. I can't find any instance of this same error anywhere. Has anyone seen this?
CJ
I will take a look at the JSON if you post it
Delete{"AddTempClass":{
Delete"action":"computeExpression",
"parameters":{
"source":"Filter2015",
"mergeWithSource":true,
"computedFields":[
{
"defaultValue":"Continental",
"name":"TempClass",
"saqlExpression":"casewhenTemperature<25then\"Polar\"whenTemperature>=25andTemperature<=50then\"Cool\"whenTemperature>=51andTemperature<=85then\"Continental\"whenTemperature>85then\"Tropical\"end",
"label":"TempClass",
"type":"Text"
}
]
}
},
"FilterAgencyRecords":{
"action":"filter",
"parameters":{
"filter":"ISAgency:EQ:TRUE",
"source":"IDAgencyRecords"
}
},
"LoadAccount":{
"action":"sfdcDigest",
"parameters":{
"fields":[
{
"name":"AccountNumber"
},
{
"name":"Name"
},
{
"name":"Phone"
},
{
"name":"ShippingCity"
},
{
"name":"ShippingCountry"
},
{
"name":"ShippingPostalCode"
},
{
"name":"ShippingState"
},
{
"name":"ShippingStreet"
}
],
"object":"Account"
}
},
"CreateSeedBankAgencies":{
"action":"sfdcRegister",
"parameters":{
"name":"SeedBankAgencies",
"alias":"seed_bank_agencies",
"source":"AugmentTempClass"
}
},
"LoadClimate":{
"action":"edgemart",
"parameters":{
"alias":"global_climates"
}
},
"AddAgencyFields":{
"action":"augment",
"parameters":{
"right_key":[
"AccountNumber"
],
"left":"LoadAccount",
"left_key":[
"AccountNumber"
],
"right_select":[
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
],
"right":"LoadAgencyDetail",
"relationship":"AgencyDetail",
"operation":"LookupSingleValue"
}
},
"Filter2015":{
"action":"filter",
"parameters":{
"filter":"Date_Year:R:2015",
"source":"LoadClimate"
}
},
"AugmentTempClass":{
"action":"augment",
"parameters":{
"right_key":[
"Country"
],
"left":"FilterAgencyRecords",
"left_key":[
"ShippingCountry"
],
"right_select":[
"TempClass",
"Country",
"Date"
],
"right":"AddTempClass",
"relationship":"Climate",
"operation":"LookupSingleValue"
}
},
"LoadAgencyDetail":{
"action":"edgemart",
"parameters":{
"alias":"Agency_Detail"
}
},
"IDAgencyRecords":{
"action":"computeExpression",
"parameters":{
"source":"AddAgencyFields",
"mergeWithSource":true,
"computedFields":[
{
"saqlExpression":"casewhenPhoneisnotnullthen\"TRUE\"else\"FALSE\"end",
"name":"ISAgency",
"label":"ISAgency",
"type":"Text"
}
]
}
}
}
Thank you for the quick reply! Looks like Naveen is having the same issue below! I guess I am glad I am not the only one? Lol
Delete},
Delete"AddAgencyFields":{
"action":"augment",
"parameters":{
"right_key":[
"AccountNumber"
],
"left":"LoadAccount",
"left_key":[
"AccountNumber"
],
"right_select":[
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
],
--- Can't match on field that is not in both data sets. :)
I don't understand what you mean. Can you elaborate? This part is the JSON from the original Load Seed Bank challenge which executed without error.
DeleteI'll look again through it... Are your Latitude and Longitude uploads dimensions or measures?
Delete},
Delete"CreateSeedBankAgencies":{
"action":"sfdcRegister",
"parameters":{
"name":"SeedBankAgencies",
"alias":"seed_bank_agencies",
"source":"AugmentTempClass"
I have different spacing in the name.
My original thought was with the "augument" step- because I have seen this throw errors a ton of times if "account number" was not explicitly selected in both data sets. (IE- I don't see it in your right select)
I also have one additional character in this SAQL
"saqlExpression":"casewhenPhoneisnotnullthen\"TRUE\"else\"FALSE\"end",
Eureka! It was the Long/Lat settings in the Agency Detail upload. How frustrating! I couldn't get through challenge 3 because I changed them to dimensions, and then now I had to change them back! On to the next error LOL
DeleteHi All,
ReplyDeleteI am having a really hard time with Step 6. I made it through all of the tempkey/temp class definitions, and everything appears to run fine but when I go to check the step in trailhead I get this "We can't validate the 'Create Seed Bank Agencies' node was created correctly" error.
My JSON :
{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Filter 2015",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "case when Temperature < 25 then \"Polar\" when Temperature >= 25 and Temperature <= 50 then \"Cool\" when Temperature >=51 and Temperature <=85 then \"Continental\" when Temperature > 85 then \"Tropical\" end",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Augment TempClass"
}
},
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Load Seed Bank Agencies": {
"action": "edgemart",
"parameters": {
"alias": "seed_bank_agencies"
}
},
"Filter 2015": {
"action": "filter",
"parameters": {
"filter": "Date_Year:R:2015",
"source": "Load Climate"
}
},
"Augment TempClass": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Load Seed Bank Agencies",
"left_key": [
"ShippingCountry"
],
"right_select": [
"TempClass"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
}
}
It looks like the order of operations is a tiny bit out of order.
Delete},
"Augment TempClass": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Load Seed Bank Agencies",
"left_key": [
"ShippingCountry"
],
"right_select": [
"TempClass"
My "left": "Load Seed Bank Agencies", is different plus several additional right select items.
Can you post your Json?
DeleteI have invested a lot of time solving the step 6 but seems no luck from last 2 weeks.
ReplyDeleteChallenge Not yet complete... here's what's wrong:
We can't validate the 'Create Seed Bank Agencies' node was created correctly. Check the required fields, field types, node name, and alias are correct.
Posting json in 2 parts...
{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Filter 2015",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "case when Temperature < 25 then \"Polar\" when Temperature >= 25 and Temperature <= 50 then \"Cool\" when Temperature >= 51 and Temperature <= 85 then \"Continental\" when Temperature > 85 then \"Tropical\" end",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Filter Agency Records": {
"action": "filter",
"parameters": {
"filter": "IsAgency:EQ:TRUE",
"source": "ID Agency Records"
}
},
"Load Account": {
"action": "sfdcDigest",
"parameters": {
"fields": [
{
"name": "AccountNumber"
},
{
"name": "Name"
},
{
"name": "Phone"
},
{
"name": "ShippingCity"
},
{
"name": "ShippingCountry"
},
{
"name": "ShippingPostalCode"
},
{
"name": "ShippingState"
},
{
"name": "ShippingStreet"
}
],
"object": "Account"
}
},
"Augment Temp Class": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Filter Agency Records",
"left_key": [
"ShippingCountry"
],
"right_select": [
"Country",
"Date",
"Temperature",
"TempClass"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Augment Temp Class"
}
},
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Add Agency Fields": {
ReplyDelete"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"Currency",
"Acres",
"Latitude",
"Longitude",
"Region",
"SubRegion"
],
"right": "Load Agency Detail",
"relationship": "AgencyDetail",
"operation": "LookupSingleValue"
}
},
"Filter 2015": {
"action": "filter",
"parameters": {
"filter": "Date_Year:EQ:2015",
"source": "Load Climate"
}
},
"Load Agency Detail": {
"action": "edgemart",
"parameters": {
"alias": "Agency_Detail"
}
},
"ID Agency Records": {
"action": "computeExpression",
"parameters": {
"source": "Add Agency Fields",
"mergeWithSource": true,
"computedFields": [
{
"name": "IsAgency",
"saqlExpression": "case when Phone is not null then \"TRUE\" else \"FALSE\" end\n",
"label": "IsAgency",
"type": "Text"
}
]
}
}
}
"Add Agency Fields": {
Delete"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"Currency",
"Acres",
"Latitude",
"Longitude",
"Region",
"SubRegion"
Missing something here
@Trailhead Baby Can you post your JSON for the same?
ReplyDeleteNo. That is against Trailhead's terms of use. I'm happy to look at what you have and make suggestions.
Delete@Maulik Vadodariya Just follow instruction .My issue been resolved .
ReplyDeletehttps://success.salesforce.com/answers?id=9063A000000lixEQAQ
I am so lost on step 6. I have the same nodes as you. Getting the below error:
ReplyDeleteChallenge Not yet complete... here's what's wrong:
We can't validate the 'Create Seed Bank Agencies' node was created correctly. Check the required fields, field types, node name, and alias are correct.
here is my json
Einstein
Data Manager
Load Seed Bank Agencies w/Climate Data
DATAFLOW
Load Seed Bank Agencies w/Climate Data
Run Dataflow
JSON for 'Load Seed Bank Agencies w/Climate Data'
Download JSON
{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Filter 2015",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "case when Temperature < 25 then \"Polar\" when Temperature >= 25 and Temperature <= 50 then \"Cool\" when Temperature >= 51 and Temperature <= 85 then \"Continental\" when Temperature > 85 then \"Tropical\" end",
"label": "TempClass",
"type": "Text"
}
]
}
},
Any help is really helpful.
Regards
Sri
"Filter Agency Records": {
ReplyDelete"action": "filter",
"parameters": {
"filter": "IsAgency:EQ:TRUE",
"source": "ID Agency Records"
}
},
"Load Account": {
"action": "sfdcDigest",
"parameters": {
"fields": [
{
"name": "AccountNumber"
},
{
"name": "Name"
},
{
"name": "Phone"
},
{
"name": "ShippingCity"
},
{
"name": "ShippingCountry"
},
{
"name": "ShippingPostalCode"
},
{
"name": "ShippingState"
},
{
"name": "ShippingStreet"
}
],
"object": "Account"
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Augment TempClass"
}
},
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Add Agency Fields": {
"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
],
"right": "Load Agency Detail",
"relationship": "AgencyDetail",
"operation": "LookupSingleValue"
}
},
"Filter 2015": {
"action": "filter",
"parameters": {
"filter": "Date_Year:EQ:2015",
"source": "Load Climate"
}
},
"Augment TempClass": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Filter Agency Records",
"left_key": [
"ShippingCountry"
],
"right_select": [
"Country",
"Date",
"TempClass",
"Temperature"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
"Load Agency Detail": {
"action": "edgemart",
"parameters": {
"alias": "Agency_Detail"
}
},
"ID Agency Records": {
"action": "computeExpression",
"parameters": {
"source": "Add Agency Fields",
"mergeWithSource": true,
"computedFields": [
{
"name": "IsAgency",
"saqlExpression": "case when Phone is not null then \"TRUE\" else \"FALSE\" end",
"label": "IsAgency",
"type": "Text"
}
]
}
}
}
Close
Search nodes...
hidden
"Add Agency Fields": {
Delete"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
I have something additional in "right select"
And slightly different saql
Delete"name": "IsAgency",
"saqlExpression": "case when Phone is not null then \"TRUE\" else \"FALSE\" end",
"label": "IsAgency",
"type": "Text"
hi, i am getting the following error in challenge six,load seed bank w/climate data dataflow - Something went wrong while executing the Augment TempClass node: Duplicate field TempClass (02K2x000000ZIJLEA4_03C2x000000baEEEAY)
ReplyDeletei don't see a duplicate,could you help me out.
here is my JSON:
{
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Filter 2015": {
"action": "filter",
"parameters": {
"source": "Load Climate",
"filter": "Date_Year:R:2015"
}
},
"Add TempClass": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"source": "Filter 2015",
"computedFields": [
{
"type": "Text",
"name": "TempClass",
"label": "TempClass",
"saqlExpression": "case when Temperature < 25 then \"Polar\" when Temperature >= 25 and Temperature <=50 then \"Cool\" when Temperature >= 51 and Temperature <= 85 then \"Continental\" when Temperature > 85 then \"Tropical\" end",
"defaultValue": "Continental"
}
]
}
},
"Load Seed Bank Agencies": {
"action": "edgemart",
"parameters": {
"alias": "seed_bank_agencies"
}
},
"Augment TempClass": {
"action": "augment",
"parameters": {
"operation": "LookupSingleValue",
"left": "Load Seed Bank Agencies",
"relationship": "Climate",
"right": "Add TempClass",
"left_key": [
"Country"
],
"right_key": [
"Country"
],
"right_select": [
"TempClass"
]
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"source": "Augment TempClass",
"alias": "seed_bank_agencies",
"name": "Seed Bank Agencies"
}
}
}
hmm I have a different left node for augment temp class
Delete(left": "Load Seed Bank Agencies")
i tried switching them and the dataflow was successful. thanks a lot.
DeleteHey,
ReplyDeleteHope by this time you have got your answer if not,
Please change the alias you will get through challenge 6.
Hi, I am getting the message: Something went wrong while executing the Augment Temp Class node: Duplicate field TempClass
ReplyDeleteCan you help me with my JSON? Thanks in Advance (split in 2 for upload reasons)
{
"Load Temp Class Mapping": {
"action": "edgemart",
"parameters": {
"alias": "Temperature_Classes_Mapping"
}
},
"Load Seed Bank": {
"action": "edgemart",
"parameters": {
"alias": "seed_bank"
}
},
"Define Temp Range": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"source": "Load Seed Bank",
"computedFields": [
{
"type": "Numeric",
"name": "lowTemp",
"label": "lowTemp",
"saqlExpression": "string_to_number(substr(Temperature,1,2))",
"precision": 18,
"scale": 6
},
{
"type": "Numeric",
"name": "highTemp",
"label": "highTemp",
"saqlExpression": "string_to_number(substr(Temperature,-2,2))",
"precision": 18,
"scale": 6
}
]
}
},
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"mergeWithSource": true,
"source": "Define Temp Range",
"computedFields": [
{
"type": "Text",
"name": "TempClass",
"label": "TempClass",
"saqlExpression": "\"case \\nwhen lowTemp < 25 and highTemp < 25 then \\\"Polar\\\" \\nwhen lowTemp >= 25 and lowTemp <= 50 and highTemp >= 25 and highTemp <= 50 then \\\"Cool\\\"\\nwhen lowTemp >= 51 and lowTemp <= 85 and highTemp >= 51 and highTemp <= 85 then \\\"Continental\\\"\\nwhen lowTemp > 85 and highTemp > 85 then \\\"Tropical\\\"\\nwhen lowTemp < 25 and (highTemp >= 25 and highTemp <= 50) then \\\"Polar-Cool\\\" \\nwhen lowTemp < 25 and (highTemp >= 25 and highTemp <= 85) then \\\"Polar-Cool-Continental\\\" \\nwhen lowTemp < 25 and highTemp > 85 then \\\"Polar-Cool-Continental-Tropical\\\" \\nwhen (lowTemp >= 25 and lowTemp <= 50) and (highTemp >= 51 and highTemp <= 85) then \\\"Cool-Continental\\\" \\nwhen (lowTemp >= 25 and lowTemp <= 50) and highTemp >= 85 then \\\"Cool-Continental-Tropical\\\" \\nwhen (lowTemp >= 51 and lowTemp <= 85) and highTemp > 85 then \\\"Continental-Tropical\\\" \\nend\""
}
]
}
},
Second part:
ReplyDelete"CleanUp": {
"action": "sliceDataset",
"parameters": {
"mode": "drop",
"fields": [
{
"name": "highTemp"
},
{
"name": "lowTemp"
},
{
"name": "TempClass"
}
],
"source": "Augment Temp Class"
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"source": "CleanUp",
"alias": "seed_bank",
"name": "Seed Bank"
}
},
"Augment Temp Class": {
"action": "augment",
"parameters": {
"operation": "LookupSingleValue",
"left": "Add Temp Class",
"left_key": [
"TempClass"
],
"relationship": "Climate",
"right": "Load Temp Class Mapping",
"right_key": [
"TempKey"
],
"right_select": [
"TempClass"
]
}
}
}
Following error:
ReplyDeleteChallenge Not yet complete... here's what's wrong:
We can't validate the 'Create Seed Bank Agencies' node was created correctly. Check the required fields, field types, node name, and alias are correct.
{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Filter 2015",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"saqlExpression": "case when Temperature < 25 then \"Polar\" \nwhen Temperature >= 25 and Temperature <= 50 then \"Cool\" when Temperature >= 51 and Temperature <= 85 then \"Continental\" \nwhen Temperature > 85 then \"Tropical\" \nend",
"name": "TempClass",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Filter Agency Records": {
"action": "filter",
"parameters": {
"filter": "IsAgency:EQ:TRUE",
"source": "ID Agency Records"
}
},
"Load Account": {
"action": "sfdcDigest",
"parameters": {
"fields": [
{
"name": "AccountNumber"
},
{
"name": "Name"
},
{
"name": "Phone"
},
{
"name": "ShippingStreet"
},
{
"name": "ShippingState"
},
{
"name": "ShippingPostalCode"
},
{
"name": "ShippingCity"
},
{
"name": "ShippingCountry"
}
],
"object": "Account"
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Augment TempClass"
}
},
ReplyDelete"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Add Agency Fields": {
"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Filter Agency Records",
"left_key": [
"AccountNumber"
],
"right_select": [
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
],
"right": "Load Agency Detail",
"relationship": "AgencyDetail",
"operation": "LookupSingleValue"
}
},
"Filter 2015": {
"action": "filter",
"parameters": {
"filter": "Date_Year:EQ:2015",
"source": "Load Climate"
}
},
"Augment TempClass": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Add Agency Fields",
"left_key": [
"ShippingCountry"
],
"right_select": [
"Date",
"TempClass",
"Temperature",
"Country"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
"Load Agency Detail": {
"action": "edgemart",
"parameters": {
"alias": "Agency_Detail"
}
},
"ID Agency Records": {
"action": "computeExpression",
"parameters": {
"source": "Load Account",
"mergeWithSource": true,
"computedFields": [
{
"name": "IsAgency",
"saqlExpression": "case when Phone is not null then \"TRUE\" else \"FALSE\" end",
"label": "IsAgency",
"type": "Text"
}
]
}
}
}
Working on step 4 of this and its driving me crazy. The data flow is running properly. The JSON looks right. But then in the lens, I can't see the Acreage to sum by that. Any insight you may be able to provide would be great. JSON:
ReplyDelete{
"Calculate Acreage": {
"action": "computeExpression",
"parameters": {
"source": "Load Seed Chart",
"mergeWithSource": true,
"computedFields": [
{
"precision": 18,
"name": "Acreage",
"saqlExpression": "(Seeds_Pound*Spacing)/6272640",
"scale": 6,
"label": "Acreage",
"type": "Numeric"
}
]
}
},
"Create Seed Bank": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank",
"alias": "seed_bank",
"source": "Calculate Acreage"
}
},
"Load Seed Chart": {
"action": "edgemart",
"parameters": {
"alias": "Seed_Chart"
}
}
}
Hi, I am getting the message: We can't validate the 'Create Seed Bank Agencies' node was created correctly. Check the required fields, field types, node name, and alias are correct.
ReplyDeletePLEASE HELP ME !!!! What I did wrong?
'Load Seed Bank Agencies w/Climate Data'
{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Filter 2015",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "case when Temperature < 25 then \"Polar\" when Temperature >= 25 and Temperature <= 50 then \"Cool\" when Temperature >= 51 and Temperature <= 85 then \"Continental\" when Temperature > 85 then \"Tropical\" end",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Filter Agency Records": {
"action": "filter",
"parameters": {
"filter": "IsAgency:EQ:TRUE",
"source": "ID Agency Records"
}
},
"Load Account": {
"action": "sfdcDigest",
"parameters": {
"fields": [
{
"name": "AccountNumber"
},
{
"name": "Name"
},
{
"name": "ShippingCity"
},
{
"name": "ShippingCountry"
},
{
"name": "ShippingPostalCode"
},
{
"name": "ShippingState"
},
{
"name": "ShippingStreet"
},
{
"name": "Phone"
}
],
"object": "Account"
}
},
"Create Seed Bank Agencies": {
ReplyDelete"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Augment TempClass"
}
},
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Add Agency Fields": {
"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
],
"right": "Load Agency Detail",
"relationship": "AgencyDetail",
"operation": "LookupSingleValue"
}
},
"Filter 2015": {
"action": "filter",
"parameters": {
"filter": "Date_Year:R:2015",
"source": "Load Climate"
}
},
"Augment TempClass": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Filter Agency Records",
"left_key": [
"ShippingCountry"
],
"right_select": [
"TempClass"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
"Load Agency Detail": {
"action": "edgemart",
"parameters": {
"alias": "Agency_Detail"
}
},
"ID Agency Records": {
"action": "computeExpression",
"parameters": {
"source": "Add Agency Fields",
"mergeWithSource": true,
"computedFields": [
{
"name": "IsAgency",
"saqlExpression": "case when Phone is not null then \"TRUE\"else \"FALSE\" end",
"label": "IsAgency",
"type": "Text"
}
]
}
}
}
Close
Hello,
ReplyDeleteStep 6 :
When running my My Load Seed Bank Agencies w/Climate Dataflow in the Monitor, this warning message appears :
The dataflow was completed, but the Augment TempClass node didn't augment any columns. Either the node didn't find any matches, or a join key contains only null values.
Here is my Json in 2 messages if someone can help :
{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Filter 2015",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "case \nwhen Temperature < 25 then \"Polar\" \nwhen Temperature >= 25 and Temperature <= 50 then \"Cool\" \nwhen Temperature >= 51 and Temperature <= 85 then \"Continental\" \nwhen Temperature > 85 then \"Tropical\" \nend",
"label": "TempClass",
"type": "Text"
}
]
} ,
"Filter Agency Records": {
"action": "filter",
"parameters": {
"filter": "IsAgency:EQ:TRUE",
"source": "ID Agency Records"
}
},
"Load Account": {
"action": "sfdcDigest",
"parameters": {
"fields": [
{
"name": "Name"
},
{
"name": "Phone"
},
{
"name": "ShippingCity"
},
{
"name": "ShippingCountry"
},
{
"name": "ShippingPostalCode"
},
{
"name": "ShippingStreet"
},
{
"name": "ShippingState"
},
{
"name": "AccountNumber"
}
],
"object": "Account"
}
},
2nd part of Json :
Delete"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Augment TempClass"
}
},
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Load Agency detail": {
"action": "edgemart",
"parameters": {
"alias": "Agency_Detail"
}
},
"Add Agency Fields": {
"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
],
"right": "Load Agency detail",
"relationship": "AgencyDetail",
"operation": "LookupSingleValue"
}
},
"Filter 2015": {
"action": "filter",
"parameters": {
"filter": "Date_Year:EQ:2015",
"source": "Load Climate"
}
},
"Augment TempClass": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Filter Agency Records",
"left_key": [
"ShippingCountry"
],
"right_select": [
"Temperature",
"Date",
"TempClass",
"Country"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
"ID Agency Records": {
"action": "computeExpression",
"parameters": {
"source": "Add Agency Fields",
"mergeWithSource": true,
"computedFields": [
{
"name": "IsAgency",
"saqlExpression": "\"case when Phone is not null then \\\"True\\\" else \\\"False\\\" end\"",
"label": "IsAgency",
"type": "Text"
}
]
}
}
}
Thanks for help
Hi, I have a problem with the step 6: When I run the Dataflow
ReplyDeleteLoad Seed Bank Agencies w/Climate Data it give me this error:
Something went wrong while executing the Augment TempClass node: Right select in augment node must properly refer to the right input column. Node Augment TempClass refers to field TempClass not present in right source. (02K7R000000pt8bUAA_03C7R000004QOLfUAO)
I send the Json of this node
Node Name Augment TempClass
Left Source
["Filter Agency Records"]
Left Key
["ShippingCountry"]
Relationship
Climate
Right Source
["Add Temp Class"]
Right Key
["Country"]
Right Fields
["TempClass","Country","Date","Temperature"]
Operation
Look Up Single Value
Thanks in advance for your help
HI while trying to complete Determine Optimal Climates challenge Any Idea why am getting this Error "There was an unhandled exception. Please reference ID: UAPSIKJH. Error: Restforce::ResponseError. Message: 550: To use null dimensions or date filters, you need API version 51 or higher."
ReplyDeleteHey! Is anyone working on this Superbadge or did I just got too late?
ReplyDeleteI'm trying to get to this one:
"Determine Optimal Climates
Build a dataflow to add temperature classes to the Seed Bank Agencies and Seed Bank datasets."
However, I'm getting this error:
"The dataflow was completed, but the Augment TempClass node didn't augment any columns. Either the node didn't find any matches, or a join key contains only null values."
I'm publishing my JSON file just to see what I'm really missing... (I would really appreciate if someone knows what's going on)
{
Delete"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Filter 2015",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "case when Temperature < 25 then \"Polar\" when Temperature >= 25 and Temperature <= 50 then \"Cool\" when Temperature >= 51 and Temperature <= 85 then \"Continental\" when Temperature > 85 then \"Tropical\" end ",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Filter Agency Records": {
"action": "filter",
"parameters": {
"filter": "IsAgency:EQ:TRUE",
"source": "ID Agency Records"
}
},
"Load Account": {
"action": "sfdcDigest",
"parameters": {
"fields": [
{
"name": "Name"
},
{
"name": "AccountNumber"
},
{
"name": "Phone"
},
{
"name": "ShippingCity"
},
{
"name": "ShippingCountry"
},
{
"name": "ShippingState"
},
{
"name": "ShippingStreet"
},
{
"name": "ShippingPostalCode"
}
],
"object": "Account"
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"rowLevelSecurityFilter": "",
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Augment TempClass"
}
},
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Add Agency Fields": {
"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"SubRegion",
"Region",
"Longitude",
"Latitude",
"Currency",
"Acres"
],
"right": "Load Agency Detail",
"relationship": "AgencyDetail",
"operation": "LookupSingleValue"
}
},
"Filter 2015": {
"action": "filter",
"parameters": {
"filter": "Date:EQ:2015",
"source": "Load Climate"
}
},
"Augment TempClass": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Filter Agency Records",
"left_key": [
"ShippingCountry"
],
"right_select": [
"Temperature",
"Date",
"Country",
"TempClass"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
"Load Agency Detail": {
"action": "edgemart",
"parameters": {
"alias": "Agency_Detail"
}
},
"ID Agency Records": {
"action": "computeExpression",
"parameters": {
"source": "Add Agency Fields",
"mergeWithSource": true,
"computedFields": [
{
"name": "IsAgency",
"saqlExpression": "case when \"Phone\" is not null then \"TRUE\" else \"FASLE\" end",
"label": "IsAgency",
"type": "Text"
}
]
}
}
}
Hi, I know I'm pretty late with this, but I'm stuck on challenge 6,
ReplyDeleteChallenge Not yet complete... here's what's wrong: We can't validate the 'Create Seed Bank Agencies' node was created correctly. Check the required fields, field types, node name, and alias are correct.
Here is my JSON below,
{
"Add Temp Class": {
"action": "computeExpression",
"parameters": {
"source": "Filter 2015",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "Continental",
"name": "TempClass",
"saqlExpression": "case when Temperature < 25 then \"Polar\" when Temperature >= 25 and Temperature <= 50 then \"Cool\" when Temperature >= 51 and Temperature <= 85 then \"Continental\" when Temperature > 85 then \"Tropical\" end\n ",
"label": "TempClass",
"type": "Text"
}
]
}
},
"Filter Agency Records": {
"action": "filter",
"parameters": {
"filter": "IsAgency:EQ:TRUE",
"source": "ID Agency Records"
}
},
"Load Account": {
"action": "sfdcDigest",
"parameters": {
"fields": [
{
"name": "AccountNumber"
},
{
"name": "Name"
},
{
"name": "Phone"
},
{
"name": "ShippingPostalCode"
},
{
"name": "ShippingState"
},
{
"name": "ShippingStreet"
},
{
"name": "ShippingCountry"
},
{
"name": "ShippingCity"
}
],
"object": "Account"
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Augment TempClass"
}
},
"Load Climate": {
"action": "edgemart",
"parameters": {
"alias": "Global_Climates"
}
},
"Add Agency Fields": {
"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"right_select": [
"Currency",
"Region",
"SubRegion",
"Latitude",
"Acres",
"Longitude"
],
"right": "Load Agency Detail",
"relationship": "AgencyDetail",
"operation": "LookupSingleValue"
}
},
"Filter 2015": {
"action": "filter",
"parameters": {
"filter": "Date_Year:R:2015",
"source": "Load Climate"
}
},
"Augment TempClass": {
"action": "augment",
"parameters": {
"right_key": [
"Country"
],
"left": "Filter Agency Records",
"left_key": [
"ShippingCountry"
],
"right_select": [
"Country",
"Date",
"TempClass",
"Temperature"
],
"right": "Add Temp Class",
"relationship": "Climate",
"operation": "LookupSingleValue"
}
},
"Load Agency Detail": {
"action": "edgemart",
"parameters": {
"alias": "Agency_Detail"
}
},
"ID Agency Records": {
"action": "computeExpression",
"parameters": {
"source": "Add Agency Fields",
"mergeWithSource": true,
"computedFields": [
{
"defaultValue": "\"FALSE\"",
"name": "IsAgency",
"saqlExpression": "case when 'Phone' is not null then \"TRUE\" else \"FALSE\" end",
"label": "IsAgency",
"type": "Text"
}
]
}
}
}