Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save albinkjellin/3297189 to your computer and use it in GitHub Desktop.
Save albinkjellin/3297189 to your computer and use it in GitHub Desktop.
Create A Google Prediction Request Object
def resultList = []
def row = payload
resultList += row.AccountId
resultList += row.Amount
resultList += row.FiscalQuarter
resultList += row.LeadSource
resultList += row.OwnerId
resultList += row.Type
return resultList
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment