Workflow steps no branch reaches are skipped, and error paths run only on failure
A workflow step that every branch leading to it ruled out is now skipped, a step's error path runs only when the step fails, a Send Email step that could not queue its email says it was skipped, and the subscribers upsert can leave a deleted contact deleted.
Added
1- AudiencePUT /api/v1/server/subscribers takes an optional keepDeleted. With keepDeleted: true, an address that was deleted from your audience stays deleted: nothing is created, and the answer is 404 SUBSCRIBER_NOT_FOUND. An address that was never in your audience is still added. Without it, the route works as before and adds a deleted address back as a new subscriber.
Fixed
3- WorkflowsBehaviour change: a step where branches meet again is now skipped when every branch leading to it was ruled out, even by separate decisions, and so are the steps after it that nothing else reaches. For example, a summary step that follows only the Yes branches of two separate If/Else checks used to run when both checks said No; it is now skipped. When any branch reaches the step, it runs as before. A step whose only ways in were a failed step's normal path and a branch another decision ruled out used to wait for ever; it is now skipped and the run completes.
- WorkflowsA step with an error path that succeeds no longer runs its error path as well. Before, a success went down every path out of the step, the error path included. The error path now runs only when the step fails, and after a success it is marked skipped.
- WorkflowsA Send Email step whose email could not be queued, because sending is suspended for your organization, its sender was deleted or archived with no default sender, or its template was deleted, now reports Skipped with the skip reason not_queued, and the email log says which. Before, it reported the email as sent with no email id, so a branch on Skipped, or a wait for the email to be clicked, went the wrong way.