Flagging knowledge articles in the platform

abrahams
Kilo Sage

I've been asked to have flagging an article in the platform work the same as it does when flagging an article in the portal.  

They want a knowledge feedback task created and flow the same as it does when someone flags an article in the portal.

I'm struggling to find information about platform setup to do this. 

Is this possible without writing our own code?

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @abrahams 

 

If you need to create a task when the article flag you need to build your own flow for same. But it will be easy.

 

Trigger

Record inserted in Kb_feedback

Action

Create Task 

 

Give try and share feedback.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

KB15
Giga Guru

You can get around this with a before business rule. I had the same requirement for what I'm currently working on. The flagging is actually done on the feedback and not the feedback task on a hidden field labeled "reason". You probably also noticed that reason value of flagged on the feedback task doesn't exist.

 

Business rule

Table: kb_feedback

Advanced: true

When: before

When to run: Flagged = true

Under advanced:

current.reason = 'Flagged';

 

Setting the reason to flagged will set the knowledge feedback task reason to flagged

Hi @KB15 In my case, the 'Reason' field value is set to 'Flagged' in blue color, but I couldn't find any Business rule related to this. Do you have any idea about this? Please let me know.

vijani_0-1737541965909.png

 

You won't see any BRs related to this because it doesn't exist if I remember correctly. This would need to be a custom rule to set it in my previous reply. In my case, it had to be custom in order to determine which KB interface it originated from. I don't personally like how feedback vs feedback tasks are setup OOB BTW. It's rather confusing.

 

Look for the BR "Knowledge Feed Back Creation". This is an OOB BR that triggers the creation of the feedback task.

 

If this is the wrong direction, let me know.