In the Deals module, Zylker Logistics uses a Blueprint with the transition "
Needs Analysis" to "
Deal Accepted" or "
Deal Rejected". Sales agents were clicking this transition without uploading the Order Confirmation file, which caused downstream OCR automation to fail and forced the ops team to manually chase missing documents later. To fix this, the admin wants to check whether the
Order Confirmation field has a file attached whenever a user tries to perform the transition. If no file is attached, the transition should be blocked and an error message should prompt the user to upload the file first. Additionally, if a file is attached,
it should be a PDF only. This way, a Deal can only move to next transition once a valid PDF confirmation document has actually been uploaded.
