Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Bell Notification not clickable on Sales Account Resource Object

edited Dec 19, 2024 6:26PM in Sales 1 comment

We implemented a bell notification on Sales Account Resource object. Whenever a new resource is added to Account team, the user should be notified via bell notification. Though notified, user is unable to navigate to the account as the bell notification link is not clickable and just shows a plain text.

if (isAttributeChanged('ResourceId')) {
try {

def vo = newView('SalesAccountVO');
def vc = vo.createViewCriteria()
def vcr = vc.createRow()
def vci1 = vcr.ensureCriteriaItem('SalesAccountId')
vci1.setOperator('=')
vci1.setValue(SalesAccountId)
vc.insertRow(vcr)
vo.appendViewCriteria(vc)
vo.executeQuery()
def AccountPartyId = vo.first()?.getAttribute('PartyId');

def vo2= newView('OrganizationProfile');
def vc2 = vo2.createViewCriteria()

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!