Notifications based on Role

Daniel Voutt
Tera Contributor

Hi,

 

I am trying to create notifications for our knowledge base, so that when a new article is created a notifications is sent to either the internal or public team to review and authorise etc.   I have tried of filtering the notification on the Role field - public/internal (ITIL etc), however the notifications doesn't work when the filter is applied.   Can anyone else suggest why this isn't working or another way to achieve the same result.

 

Any suggestions would be appreciated.

 

Thanks in advance,

 

 

Dan

2 REPLIES 2

RKumar3
Tera Guru

Hi Daniel,


You can write a business rule on "kb_knowledge" table which runs on every insert and fires an event which is set up for your notification. You can create a list of recipients in this business rule(based on roles) itself and pass it as a parameter in eventQueue function you will use to fire the event.



Hope this helps.


Subhajit1
Giga Guru

You can Fire two Different Events Altogether for 2 different Kind of Access Levels to KB.


You can parse the Roles Glidelist on KB page by using the Following Script:-



var list = current.roles.toString();


var array = roles.split(',');



for (index=0; index<array.length; index++){//Check for your Roles Here//Depending Upon Roles Returned you can Fire Appropriate Events and Notifications}



Thanks,


Subhajit