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

How can i generate unsubscribe request on a user termination

Hi Team,

 

How can i generate unsubscribe request on a user termination.

 

Like,if i just update the status in personwantsorg table triggers unsubscribe request.

 

Thanks 

Pradeep Pola

  • Hi Pradeep,

    This could be done in a script where you get a collection of the orders (PersonWantsOrg), then iterate over that collection and call the unsubscribe method e.g.

    Dim aParams As String() = New String() {uid_requestor,reason}
    pwo.Custom.CallMethod("UnSubscribe",aParams)

    The aParams passes the uid of the person doing the unsubscribe and the reason.

    HTH, Barry.