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

Unsubscribe using vid_InsertForHandleObject_freeze

Hello,

Is it possible to call the Unsubscribe method using vid_InsertForHandleObject_freeze? I know you can use Abort but I have a Cancellation workflow that needs to fire, so I need to use Unsubscribe.

I know I can do this manually but I have 300 users I need to run this on with different resources so I was going to build a SQL loop to handle this for me.

I had tried this below, but I get the error "Method Unsubscribe with 1 parameters was not found."

vid_InsertForHandleObject_freeze 'CallMethod', 'PersonWantsOrg', 'uid_personwantsorg = ''0bfed517-fed5-4c9e-b1a2-db5bc3d0c0cf''','Unsub', 'Unsubscribe', 'Testing unsub method', @ProcID=newid


Please help!

Thanks in advance.

Parents
  • Never mind, figured it out it takes 2 parameters to do this:

    EXEC vid_InsertForHandleObject_freeze 'CallMethod', 'PersonWantsOrg', 'uid_personwantsorg = ''0bfed517-fed5-4c9e-b1a2-db5bc3d0c0cf''','save', 'Unsubscribe', '15e225e0-0623-420f-884d-0cc44e96b7a2', 'Testing unsub method', @ProcID=newid


    Need to put the UID of the person requesting the unsubscribed.

    With this said, does anyone know if their is documentation on all the methods available?

Reply
  • Never mind, figured it out it takes 2 parameters to do this:

    EXEC vid_InsertForHandleObject_freeze 'CallMethod', 'PersonWantsOrg', 'uid_personwantsorg = ''0bfed517-fed5-4c9e-b1a2-db5bc3d0c0cf''','save', 'Unsubscribe', '15e225e0-0623-420f-884d-0cc44e96b7a2', 'Testing unsub method', @ProcID=newid


    Need to put the UID of the person requesting the unsubscribed.

    With this said, does anyone know if their is documentation on all the methods available?

Children
No Data