Skip to main content

Function: validateWorkflowExperienceRecipients()

validateWorkflowExperienceRecipients(workflowExperiences): Promise<(AddressValidationJob | undefined)[]>

Requests to validate many Workflow Experiences' recipient addresses asynchronously.

Parameters​

workflowExperiences​

WorkflowExperience[]

The Workflow Experiences to validate.

Returns​

Promise<(AddressValidationJob | undefined)[]>

An array of Address Validation Jobs. This is guaranteed to be in the same order as the input array. If an input Workflow Experience does not have a recipient, the associated Job will be undefined. The Jobs will likely be incomplete; consider polling getAddressValidationJobs with the ids of the Jobs you get from this function.