Set property after alert won't work after upgrade to v13


Recently we upgraded our instance from v12 to v13, after that we noticed the exist settings of set property after alert in notification won’t work.
Like this one.
The value of customized field resubmit won’t be able to change to 0 after this notification taken.
We have several but none of them take effect not just this one.


Version of system
frappe: v13.2.2
erpnext: v13.2.1

After did some research I found related error messages now.

Traceback (most recent call last):
  File "/home/adminuser/frappe-bench/apps/frappe/frappe/email/doctype/notification/", line 160, in send
  File "/home/adminuser/frappe-bench/apps/frappe/frappe/model/", line 284, in save
    return self._save(*args, **kwargs)
  File "/home/adminuser/frappe-bench/apps/frappe/frappe/model/", line 313, in _save
  File "/home/adminuser/frappe-bench/apps/frappe/frappe/model/", line 727, in check_if_latest
  File "/home/adminuser/frappe-bench/apps/frappe/frappe/", line 406, in msgprint
  File "/home/adminuser/frappe-bench/apps/frappe/frappe/", line 360, in _raise_exception
    raise raise_exception(msg)
frappe.exceptions.TimestampMismatchError: Error: Document has been modified after you have opened it (2021-05-27 16:45:17.534381, 2021-05-27 16:45:17.573201). Please refresh to get the latest document.

if I remove set property after alert in notification, the issue above gone.
So, the customized field update failed is because of the error above. but I don’t know how to resolve.