Function apply_timeout_action
pub fn apply_timeout_action(
engine: &mut SopEngine,
run_id: &str,
action: ApprovalTimeoutAction,
) -> Option<SopRunAction>Expand description
Apply the configured timeout action to a single timed-out WaitingApproval
run. Returns an action only when the run actually advanced: Cancel -> the
terminal action; AutoApprove -> the resumed action. Escalate returns
None (the gate stays open).