I have a flexible workflow whose Agent Determination is thru BAdI.
Most of the logic added in IF_MMPUR_WORKFLOW_AGENTS_V2~GET_APPROVERS would assign an approver, but I have a certain condition that wouldn't need any approver and must automatically overall release the PR.
I initially thought not adding anyone to the approverlist would mean automatic release (no approver = automatic approved) but this isn't the case -- it's just throwing an error of no agent determined.
How can I achieve this requirement?