how to use script include and ui action in mobile agent app
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2023 03:54 AM
In ServiceNow Mobile Agent App I want to use the script include and ui action in the mobile agent action item.
How we can do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2023 09:05 AM
Hi @AishwaryaS ,
You can use script includes and UI actions to extend the functionality of the mobile app. Here are the steps to use script includes and UI actions in the mobile agent app:
Create a Script Include:
Create a UI Action:
Configure Mobile Agent Action Item:
Publish Mobile Agent Configuration
Refer Customizing UI actions for the Now Mobile Agent application & Configure an action item
Once the configuration is published, the UI action will be available as an action item in the mobile agent app. When the user interacts with the action item, the associated UI action will be triggered, executing the defined code and utilising the script includes as needed.
If my response was helpful in resolving the issue, please consider accepting it as a solution by clicking on the ✅Accept solution button and giving it a thumbs up 👍. This will benefit others who may have a similar question in the future.
Thank you!
Ratnakar