I had a big trouble on using “Role” by email taken from a field.
I have a simple workflow to perform request and approval of a form. But each users has his or her own approvers. So I defined two fields, requestermail and approvermail. Then setup Requester role with the requestermail and Approver role with the approvermail by using email taken from a field.
My challenge is that we do not want to receive email notification too often. So, I put an checkbox to deicede when submit with or without notification.
But if I submit without notification. The approver could not obtain the approver role and become unspecific role. Therefore, the approval buttons are hidden from the approver view.