Mobile application incidents

SoudarapuN
Tera Contributor

Hello Team,

 

I have a requirement for mobile application that in user list ,when I select any user from the list it should display the incidents list which the assigned to is that the user I selected from the user list.
I have already created the user list through list screen through mobile app Builder .The requirement is When i tap on any user it should display the incidents which are  assigned to him.

what is the solution for that.

 

#mobileappbuilder

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @SoudarapuN 

 

Can you do this in the native view? The system needs some identifier to find out the user name and the it will put that user name in the query, Here you are saying any user, which is not a possible case, ld ca n be a logged-in user it makes sense.

*************************************************************************************************************
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]

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

Any User in The Sense from user table I have bunch of technicians .I need to see technicians assigned incidents. When i click on any user  it should return the list of incidents which are assigned to that particular.

I created this scripted data item .it not showing any list.

 
function getQueryString(input) {
    var queryString = '';
    var userId = current.sys_id;

    queryString += 'assigned_to=' + userId; 
    queryString += '^active=true';
    queryString += '^ORDERBYDESCsys_updated_on';

    return queryString;
})(input);
 
what is the issue how to get the sys_id of selected user dynamically.

Hi Can you send the picture of the hierarchy of your list screen in mobile app builder

Here ,When i click on any user it should display the incidents which assigned to the user.