Set Property After Alert

Hi I’m trying to set a field to 1 in the email notification when a document is submitted. It sends the notification correctly but it doesn’t set the property. I tried various options.

And I created this property in the doctype as a data

Do you have any idea why it is not set to 1?