At a particular step/activity in our workflow (implemented using workflow manager and configured by D2 workflow object), we want to restrict the performer of the last manual activity from completing the activity task unless the documents in the workflow package are in one of two specific lifecycle states. In our D2 defined lifecycle, those states are "Approved" and "Rejected". I can't see a D2 configuration option to achieve this functionality. Can you advise if this is possible with D2?