Using v7.1.1. I have some events (when a user is in a certain state do something) where I basically have to strip a user of some of their entitlements. I could just delete the PersonHasQERResource but then they'd have a rogue PWO saying they have the resource when they don't. I also need the unsubscribe event to fire for some other processes around the user losing the resource.
So I want the exact same process to occur as if a user was unsubscribing from a resource through the Portal but in Process Orchestration when my event occurs. I think what I'll have to do is fire the Unsubscribe event on the PWO(not sure if this is possible through PO) and also manually set the PWO to be Unassigned. I'm not sure if this will remove the resource though. Is there an inbuilt process I can use to do that or will I have to also delete the PersonHasQERResource?
Of course I can just try some things and see how it works but it would save me a lot of time if you have an idea about this.
Thanks.