Member Junction
    Preparing search index...
    • Parses a human approval/rejection reply for G2 or G4.

      1. Checks if the trimmed first line is 'Approved.' or 'Rejected.' (matching VS-UX-2's submitPlanReview leading prefix).
      2. When the first line does not decide, inspects @form: / @{"_mode":"form",...} tokens via ConversationUtility.ParseSpecialContent(text) for a decision field ('approve' or 'reject').
      3. Otherwise strips special-content tokens and an optional leading 'Approved.' prefix, returns null on empty text, 'Approve' when the trimmed remainder starts with 'approve' (case-insensitive), and 'Reject' otherwise.

      Parameters

      • text: string

      Returns "Approve" | "Reject"