I inherited a vendor workflow for approvals. The workflow sets the inactive flag = true on vendors when they are updated. The workflow then requires a submit of the record. Once submitted, given appropriate role, another person can use the "Approve" button to approve the vendor and the workflow changes the Inactive flag to false.
I cannot get a User Event script to prevent this from bypassing the workflow when a user does the following action:
Opens Vendor List. Clicks "Show inactives", Changes the Inactive flag, clicks "Submit".
In addition, I wrote a detect saved search that will show me all vendors where the inactive flag is not set and the Vendor Status is <> "Approved". This workflow is set up to email me if "Send Email Alerts When Records are Created/Updated".
The saved search works. The saved search ONLY emails me if I override the workflow in the Vendor Maintenance screen or via a CSV import. If I use the "List, Show inactives", "Submit" the saved search will show the record, however it will NOT send an email.
It appears as though the "Submit" button on lists when "Show Inactives" is turned on bypasses any triggers or workflows event scripts and real time alerts from saved searches when records are updated to meet the saved search criteria.
Is this a known issue/defect?