- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2019 09:42 AM
Hello Experts.
I have an request from my customer.
he want select an incident and to relate to problem. but the request is that not want view all incidents
he want view only incidents that belongs of an account, (the account is refence field in PM, but also exists in IM).
I tried it with the filter, but not can create filter dinamic with value of account field of PM.
I tried it with a dinamic filter witn script include, but also not function.
The script include get value the account in PM. if I call the Script Include in BR it function well, but in the filter don´t funcion,
Also I reviewed the list control but I can´t create an filter before show information in collection.
Do you have an idea, to solve it.
Is posible create an filter before show the collection.
Solved! Go to Solution.
- Labels:
-
Problem Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2019 09:07 AM
I solved the requeriment for my customer.
I describe the step for it.
- I modified the UI Action "Edit".
- into script I obtained the sys_id of record of problem.
- I opened the table of problem and get the value of field that is pivot
- I added the sysparm_query to uri.set.
- I builded the url and "ta-da👍" I view only the data desired.
So very thank you for your ideas.
Regards
kindly mark it as helpful and correct answer if it helps you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2019 10:00 AM
Please use an advanced reference qualifier with the help of SI.
Refer to this link on how to create SI.
If my answer helps you, kindly mark it as helpful and correct answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2019 10:22 AM
Hello Asifnoor,
I tried with these options, but not are posible.
the client scritp not pass the value, because the current.field not show value in dinamic filter.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2019 12:01 AM
Could you share the screenshot of what you have done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2019 08:57 AM
shure:
function atio_pr_estacion()
{
//var estacion = "A40030 COMAKO"; //
var estacion = current.u_estacion.getDisplayValue();
gs.addInfoMessage(estacion);
return estacion;
}