This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unsubscribes and Process Orchestration

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.

Parents
  • You might want to take a look at the Unsubscribe() and/or Abort() object methods and call them via HandleObjectComponent/CallMethod. You won't have to manually change the PWO states.
    Note that Unsubscribe() will trigger a cancellation workflow, whereas Abort() won't.
Reply
  • You might want to take a look at the Unsubscribe() and/or Abort() object methods and call them via HandleObjectComponent/CallMethod. You won't have to manually change the PWO states.
    Note that Unsubscribe() will trigger a cancellation workflow, whereas Abort() won't.
Children
No Data