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 set dynamic filter on "Data Table from Instance Definition" widget?

Mohammed
Tera Contributor

Hey All,

I have a custom table "purchase_details" which has RITM number and purchase related data.

So in Request Item page, I have added as "Data Table from Instance Definition" widget which shows data from custom table "purchase_details"

find_real_file.png

 

I need to display data dynamically based on RITM number in Data table on Request Item Page.

What filter condition should I apply in "Filter" section of data table, or should I clone and make changes in script.

Currently I have put number=RITM0010008 in filter, but I need it dynamic.

Any Advise will be very helpful.

Thank You.

 

5 REPLIES 5

Thanks for the reply, I have explored almost same threads, I was not able to achieve the result.

Is there anything like this filter which I can use? "numberDYNAMIC90d1921e5f510100a9ad2572f2b477fe"

Hi,

Did you create a dynamic filter on your table and field? If yes, then you can use the filter.

Hi @asifnoor ,

Actually my field type is string, so 'is dynamic' OOB feature is not available on string type, it is I believe available on reference field, so how will I make string type field 'is dynamic'.
Can you please provide me steps?

Thank You.