use getIdOrUserName() in workflow actor.
so that getId() is used for ERP5 users and getUserName() is used for special users like Anonyous User or System Processes whose id is None.
Showing
so that getId() is used for ERP5 users and getUserName() is used for special users like Anonyous User or System Processes whose id is None.