Help with applet in agent app

Abhijit Das7
Tera Expert

Hi Everyone,

 

I am new to mobile agent app. I want to create a new applet in agent app which displays list of RITM assigned to me. And when I click on one the RITM record then it should open the record.

 

Can I anyone me with creating the applet.

 

@Ankur Bawiskar 

 

 

Thanks

5 REPLIES 5

swapnali ombale
Kilo Sage

Hi @Abhijit Das7 

 

To create a RITM list applet in the ServiceNow Agent app, you'll first need to define a data item, create a list applet, and then configure navigation and functions. You can then add this applet to an applet launcher on the Agent Mobile app. Here's a breakdown of the steps: 
 
1. Create a Data Item:
  • Data Item: Define a data item to specify the table and filtering conditions. For RITMs, you'll likely use the sc_item table and potentially filter by assigned user or other criteria.
    • Example: Set the table to sc_item and filter by assigned_to is the current user. 
       
2. Create a List Applet:
  • Applet: Create a list applet using the List template in the ServiceNow Studio.
    • Data Item: Choose the data item you created in step 1.
    • Fields: Specify the fields you want to display in the list (e.g., Short Description, Number). 
       
3. Configure Navigation and Functions:
  • Navigation:
    Configure navigation from the list to the RITM record form when a user clicks on a list item. This usually involves creating a navigation function in the platform and assigning it to the applet.
  • Functions:
    You can create functions (e.g., for opening the RITM record) and assign them to the list applet. 
     
4. Add to Applet Launcher:
  • Applet Launcher: Add the created applet to an applet launcher section in the Agent Mobile app. 
     
In more detail:
  • Step 1: Data Item Creation:
    • Navigate to the "Data items" section in the ServiceNow Studio. 
       
    • Click "New" to create a new data item. 
       
    • Provide a name and select the sc_item table. 
       
    • Under "Parameter Definition," you can add parameters to filter the RITM list. For example, you could add a parameter for the "Assigned To" field and set the condition to "Assigned To is current user". 
       
  • Step 2: List Applet Creation:
    • Go to "Applets" in the ServiceNow Studio. 
       
    • Click "Create an applet" and choose the "List" template. 
       
    • Give the applet a name. 
       
    • Select the data item you created in step 1. 
       
    • Define the fields to be displayed in the list (e.g., "Short Description", "Number", "State"). 
       
  • Step 3: Navigation and Functions:
    • Navigation: Create a navigation function in the platform that opens the RITM record. 
       
    • Functions: Assign the navigation function to the applet. 
       
    • You can also create other functions like "Open Details" or "Submit". 
       
  • Step 4: Add to Applet Launcher:
    • In the ServiceNow Studio, navigate to the applet launcher. 
       
    • Add the RITM list applet to an applet launcher section. 
       
By following these steps, you can create a RITM list applet that displays a list of RITMs to the user and allows them to open the corresponding record. 
 
If my response helped please mark it correct and close the thread so that it benefits future readers.

Hi @swapnali ombale 

 

How can I create in Mobile App Builder in custom application?

 

Thanks 

Ankur Bawiskar
Tera Patron
Tera Patron

@Abhijit Das7 

RITMs are not worked by any agents.

check this link

Configure List Applet in Studio 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

 

I understand this RITMs are not worked by agents. But, in our condition they want to add RITMs to agent app. 

 

Thanks