Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Minimize result of recommended actions in service operation workspace

Not applicable

kamaderohini_0-1767705076069.png

Where can I put restrictions so that I should get only those articles which are published on last months.

I have checked every context and each rule but no clue.

1 ACCEPTED SOLUTION

-O-
Kilo Patron

I believe the recommended actions component ultimately calls the sn_nb_action.NextBestActionService script include to fetch recommendations.

The functionality is implemented in script include sn_nb_action.NextBestActionServiceImpl (which the former inherits).

One solution could be to re-implement method getRecommendations in sn_nb_action.NextBestActionService so that it calls the base getRecommendations method and returns the filtered results.

View solution in original post

1 REPLY 1

-O-
Kilo Patron

I believe the recommended actions component ultimately calls the sn_nb_action.NextBestActionService script include to fetch recommendations.

The functionality is implemented in script include sn_nb_action.NextBestActionServiceImpl (which the former inherits).

One solution could be to re-implement method getRecommendations in sn_nb_action.NextBestActionService so that it calls the base getRecommendations method and returns the filtered results.