Only overlay a template when G2 does not exist

Questions about and code samples for automation process code snippets within Select.
Post Reply
aottilo
Posts: 7
Joined: Thu Apr 13, 2023 11:00 am

Only overlay a template when G2 does not exist

Post by aottilo »

I am trying to only run an automation to apply a template when the contact code G2 does not exist. I am trying to do through the automation wizard and only use a code snippet for the one check for G2. I need help writing a code snippet to add in so that it only runs when there isn't a G2.
vmrvichin
Posts: 27
Joined: Thu Jul 22, 2021 11:50 am

Re: Only overlay a template when G2 does not exist

Post by vmrvichin »

You should be able to get a count of the number of items in the Governments list if there are 0 or 1 in that list, then there is no G2 contact. Based upon that you can then apply your template.
Vlad Mrvichin, Senior Software Developer, Custom Dev, SoftPro
Post Reply