$TX:=OrderBookGetTask[OrderBookTaskReleaseRequired];
If(IsAllViolatedRestrictionsCommented;
$TX;
$TX and $TX)
This example checks whether all restriction violations of the orders are provided with comments. If yes, only one release is required, if no, two releases of the same level are required.