I'm using HandleExternalEventActivity
with Roles
property and I need to check if my custom bool RoleProfile.IsDelegatee(string userName, string workflowName, string activityName, string eventName, string roleName)
method finds a match. ("I'm on vacation; UserX should be able to approve 'task X' on my behalf, but not 'task Y'")
I tried to inherit HandleExternalEventActivity
but Execute
method was marked as sealed.
Do you have any ideas?
TIA