data integration specialist superbadge challenge 5
@trailhead baby,i just updated one alias name in above postsfrom :::"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 ! I've checked my spelling, order of parameters in the method signature. Salesforce Trailhead Superbadge 'Data Integration Specialist' Data Integration Specialist is one of the superbadges of Salesforce trailhead (A New Approach to Learning Salesforce). To complete the challenges, you need to pre-populate the Account object with data associated with this superbadge. . Check the challenge and confirm the node name and required fields. Want to post the revised json? Challenge 2: Synchronize Salesforce data with an external system. Confirm the node name matches the name as described in the challenge. Thank you , please find my Json file , with the html limits i will be posting in 2 comments{ "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": { "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" } ] } }}. yipeeeee ! Apex Specialist SuperBadge 5. !I can't copy here all the code, so I have copy in Gdrive. The Heroku app registers the username with the Connected App's consumer key and consumer secret in the Square Peg registry and returns a security token. Check the required fields, field types, node name, and alias are correct. Use the search o. Hello! 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 0Filter 2015 filter Less than 1 second success 31,200 0 0 0ID Agency Records computeExpression Less than 1 second success 1,384 0 1,384 0Temp Class computeExpression Less than 1 second success 0 0 0 0Filter Agency Records filter Less than 1 second success 1,384 0 383 0Augment TempClass augment Less than 1 second warning 0 0 0 0optimize-Create Seed Bank Agencies optimizer Less than 1 second success 0 0 0 0Create Seed Bank Agencies sfdcRegister 40 seconds success 0 0 0 0. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com I have the same nodes as you. Hello,Step 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. Confirm the node name matches the name as described in the challenge. Ask Question Asked 1 year, 3 months ago. "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" } }, "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" } }. I have deleted the old workspace in workspace manager in the console as it could be corrupt. . { "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" } }}, },"Seed Bank": {"action": "sfdcRegister","parameters": {"rowLevelSecurityFilter": "","name": "seedbank","alias": "seedbank","source": "Calculate Acreage"Wrong alias and name, Hi allI am having a really hard time with Step 6. Lol, },"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. thanks.~. here's what's wrong: 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": {"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. Process Builder sketch Last night, I drew a rough sketch of my process: Was it pretty? thank you for the light, tried the below ways nothing worked "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" } }. Start by uploading the dataset then create the dataflow. 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" } }}. 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:"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:Challenge Not yet complete here's what's wrong:We can't validate the 'Create Seed Bank Agencies' node was created correctly. Data Integration Specialist Superbadge - Step 7 I'm getting an error message when triggering the SOAP call from the UI via record update: System.CalloutException: IO Exception: External server did not return any content When I import the WSDL into SOAP UI and send the same package body, I receive this message: HTTP /1.1 500 Server: Cowboy "Create Seed Bank": {"action": "sfdcRegister","parameters": {"source": "CleanUp","alias": "Seed_Bank","name": "Seed Bank"alias punctuation. Confused? Trailhead Superbadge: Data Integration Specialist | LaptrinhX Hi, I am getting the message: We can't validate the 'Create Seed Bank Agencies' node was created correctly. oops i got it solved. Either the node didn't find any matches, or a join key contains only null values. In the superbadge there's no indication of what naming convention to follow. PFB for the json{ "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. Search for an answer or ask a question of the zone or Customer Support. { "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? Superbadge-Data-Integration-Specialist/ProjectRESTService.cls at master Making dinner for Mom! Which of the Lenses are you working to create? Please reference ID: UAPSIKJH. If you could kindly give me some insight as i fear i'm missing something here. I have the same nodes as you, but I dont understand how you are supposed to multi join or the two nodes before that. | Content (except music \u0026 images) licensed under CC BY-SA https://meta.stackexchange.com/help/licensing | Music: https://www.bensound.com/licensing | Images: https://stocksnap.io/license \u0026 others | With thanks to user TSmith (salesforce.stackexchange.com/users/30493), user John Mutuma (salesforce.stackexchange.com/users/68710), user Daniel Deepak (salesforce.stackexchange.com/users/73968), and the Stack Exchange Network (salesforce.stackexchange.com/questions/300749). I would show the attempts but reddit wont allow for screenshots. Please check your work. What a sun of gun i had to change the dataset association and now works!! { "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" }, }, "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. Salesforce Trailhead Superbadge 'Data Integration Specialist' Data Integration Specialist is one of the superbadges of Salesforce trailhead (A New Approach to Learning Salesforce). Step 5 - A quiz. Disclaimer: All information is provided \"AS IS\" without warranty of any kind. I guess I am glad I am not the only one? To review, open the file in an editor that reveals hidden Unicode characters. Hi there.I made the changes as you suggested and still receiving the same error. Reports Accounts by Market To create the "Market" row grouping, use a bucket field. I solved this by putting the opportunity record and project record into separate list and performing DML on the list. Trailhead Superbadge: Data Integration Specialist - Forcetalks September 11, 2020 18088 0 Challenge 1 Configure Outbound Application and Integration Security Install the unmanaged package from the prework if you haven't already. The 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". Fill Remote Site Name -->BillingService. 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! The Trigger doesn't seem to be saving either on the Developer Console or the Apex Trigger in Setup. created a dataflow with name "Load Seed Bank" . Please check your work." The data flow is running properly. * Email Alerts I needed the Email Alerts set up before I could create either the process or the approval. Configure a named credential and remote site according to the specifications outlined in the business requirements. Search for jobs related to App customization specialist superbadge challenge 5 or hire on the world's largest freelancing marketplace with 22m+ jobs. It is also based on real-world type. Configure a named credential and remote site according to the specifications outlined in the business requirements. 'Data Integration Specialist' Super-badge thanks a lot. Copyright 2000-2022 Salesforce, Inc. All rights reserved. Tried this }, "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. Check the challenge and confirm required field setting." Check the challenge and confirm the node name and required fields. },"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. Step-2:- Then go to Setup-->Remote Site Settings-->New Remote Site. When I made mistakes, I simply reverted to the last saved version. If you post your revised JSON, I'll take a look. ok, I got through the other errors. Confirm the node name matches the name as described in the challenge. You also get personal insight into the life of a Trailhead Baby! Hint: You can't match on a field that isnt' selected for both data sets. Check the challenge and confirm required field setting. Message: 550: To use null dimensions or date filters, you need API version 51 or higher. Have you guessed the theme of the photos that go along with the Trailhead - Process Automation Specialist Superbadge series?They are a few of my favorite day to day processes! error in challenge 6. { "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": { "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" } ] } }}.