Hey, I am querying for a Contact in AutoTask by phone number, if the query returns more than two results I need to send it to a specified account on our end to fix the contact information. How would I do this in MSP Integration
You could test if custom.contacts.[1].id contains a value. If it does, you have more than 1 result.
You could also check the box to throw an exception if more than 1 result is returned.
When trying to use a Precondition Check in the action to check for custom.contacts.[1].id, it will not allow me to place that in the input field, and I know that the prevouis action is returning more than one result into the contacts custom variable, and I have it set to Query For Multiple Objects.