Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to Get the Selected Filter Value in a Dynamic Content Widget to use in a Query

Shoellig
Tera Contributor

Hello,

I'm trying to get the selected filter value (Goal Name) on a Platform Analytics dashboard to use it in a query on the sn_gf_goal table so that I can display the HTML Description field for the goal in the Dynamic Content block. I can display the HTML Description if I hard code the name of the goal for the query, but haven't found a way to successfully get the selected value from the filter. What I have so far is:

 

Shoellig_0-1734472101874.png

I need to be able to display the HTML field without the tags since we have formatting that is used which is why I have created the dynamic Content widget. I am a novice at scripting and would appreciate any help on this.

Thank you!

0 REPLIES 0