Skip to content

Instantly share code, notes, and snippets.

@miragedeb
Created September 25, 2016 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miragedeb/b86346bb5d1639d283d5e72c63674fb2 to your computer and use it in GitHub Desktop.
Save miragedeb/b86346bb5d1639d283d5e72c63674fb2 to your computer and use it in GitHub Desktop.
public class AggregateStateInfo
{
@InvocableMethod
//Method that accepts the Account ID
{
// Find all related Location_Information__c records and store the State__c value in a collection variable
// Make sure the values are not duplicates
// Update a custom field on Account (Aggregated_State_Info__c [Text type]) with the de-duplicated States separated by a comma
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment