Thanks to everyone who responded to yesterday’s email about the steps used to verify a record.

The consensus is, most people use {Get_Contact.Id} is blank or {Get_Contact} is blank.

Now, that email was about verifying whether a single record exists or not. In the cast of multiple records, the logic I use is different:

  • Step 1 is a Get operation labelled, “Get Contacts”.  Notice the “s”, which indicates it’s getting more than one record.
  • Step 2 assigns a number variable Count as Equals Count of {Get_Contacts}.
  • Step 3 is the decision element, labelled as “Is Count > 0”, with the first outcome as “Count > 0”.

However step 2 always bothered me, as I rarely use the Count variable again.

So when getting multiple records, what logic do you use? Do you use {Get_Contacts} is blank?

The takeaway
Again, lots of different ways to get to the same result. I’m curious to know which you have adopted

Category:
Salesforce