Evaluation Tasks
Evaluation tasks are a feature of channels that allow the entity changes flowing through them to be analysed, and the operation halted if certain conditions are met. Evaluation tasks allow changes of a certain type or frequency from being propagated from a connector to an adapter, or visa versa, without any oversight or control.
Configuration
PowerShell evaluation tasks can be configured separately for import and export operations.
Evaluation Task Result
When evaluation tasks are run for a set of changes, they can have one of three possible results, with the behaviour of the channel differing based on each one.
Pass
The result for when an evaluation task finds no issues with the processed change set. If all evaluation tasks pass, then the channel continues processing the change set.
Fail
The result when an evaluation task does not accept the change set. A reason for the failure will be logged. If an evaluation task produces a Fail result, the channel will stop processing the change set. The processed changes will not be consumed and will be re-evaluated the next time they are processed. When operation resumption has failed the option is available to re-run the resumption without the evaluation tasks, allowing the changes to be pushed though.

Block
Similar to Fail, this result is for when an evaluation task does not accept the change set. The difference is that upon a task producing this result, in addition to stopping the processing of the change set, the channel goes into a blocked state. Channels in a blocked state will not process any further pending changes and will remain in this state indefinitely. Unblocking a channel is a manual process, as it is intended for situations that require human intervention to perform further evaluation or rectify an issue. Additionally, the option is provided to unblock and re-start the resumption without executing the evaluation tasks.
