Access to Unsubscribe button in SRC

Does anyone know what drives access to the Unsubscribe button in SRC Subscriptions? (scrn shot attached)

This is for SRC 1.40

We currently have some contacts that when logging into SRC have that button greyed out for their active subcriptions, but others have it available to select.

All are Individual subscriptions.

Config Mgmt Environment profile has Subscription Request Mode set to Service Catalog.

 

I can not find anything on the operator record that drives access to this functionality. I have two operator records both set as self service users, but one can select the button and the other can not.

 

Any help would be appreciated. Thx.

  • Verified Answer

    Hello,

     

    This is a logic value(true, false), the option is handle by the Script: ScAPI_svcSubscriptions, function: _checkCanUnsubscribe, here is the logic:

     

    function _checkCanUnsubscribe(subscription){
            return (subscription['subscriber'] == vars['$lo.contact.name'] || system.functions.index(subscription['subscriber'], vars['$G.requester.depts']) > 0 ) && subscription['status'] == 'Active';

     

    }

     

    So it validates the suscriber, so the main difference that I can see is that the Subscriptions wich are Type: "Indivual" can use this option and the ones that are Type: "Department" can't.

     

    I can't see nothing from the contact or operator record that enable/disable this option.

     

    Regards,

     

     

    Jose Pablo Mora

    HP Support