Our client has the following workflow (it worked in Sharepoint 2010 and stopped working after migration to Sharepoint 2019):