Add a Script Include in Mobile UI Rule Condition field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2023 02:49 AM
Is it possible to call a script include in the condition field of Mobile UI Rule. Here's a snap of my current implementation. This script include function returns a knowledge number so that when it is the same in one of the Knowledges number in the mobile list it will change the color of its title. Indicating that it is already opened by this user.
The content of the script include is to retrieve the kb_use record if the current logged in user in Now mobile is in the 'user' field and if that record is today meaning it will get the latest kb_use record, basically getting the knowledge number of the knowledge article opened/viewed by the user.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2024 08:22 AM
You can call your script include inside the Advanced script
and save this value inside in m_scratchpad variable. You can use this variable in the conditions:
text_07=m_scratchpad.myresult