Field dependency on mobile agent app
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 10:43 PM
I want to make Sub category field dependent on Category field on mobile agent app.
I have created following records for edit :
1) Action item
2) Function -> Action (name : Edit)
3) UI parameter and Action parameter mapping
When I click on Edit action on applet, I am getting Category and Sub category field but sub category field is not showing category dependent value.
Kindly advise if I am missing any step.
- Labels:
-
Agent Mobile App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 06:06 AM
Hi NP,
You can configure dependent fields using Action and Action Items,
For example. If you need to configure Category and Subcategory, where subcategory is depended upon category. Configure both of the Action Items in the Item parameters.
Then in UI parameter for category set Field name and source field as category and for subcategory set those fields as subcategory. You can notice dependent values change accordingly.
I have created a youtube video on servicenow mobile application
https://www.youtube.com/watch?v=_Mn2qAFIjhk&t=1196s
and 32:00, I had given a demo on this.
Regards
Avinash Devadass
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2022 01:01 PM
thanks. for some reason i had to go to the mobile app builder to see Source field as an option of 'default value type' but once i did it it worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2020 08:19 AM
Hi NP,
To limit values available on a choice list when creating action functions, you can use reference qualifiers.
*The only limitation for reference qualifiers on mobile is that you can't pass parameters and don't have access to the current object
Best,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 04:16 AM
1.Create category table,add category column data type string
2. create subcategory table and two column category reference and subcategory datatype string
3. create one maping_category_subcategory table and add two column category and sub category datatype reference (category,subcategory table) and set dependency in from design (sub category column dependency category)
4. Create final table who call in mobile application Item table add columns (item Name data type string, category data type reference (category table) and same sub category column datatype reference ( subcategory table) this is final table.
5 create Items action , select Type Update in You want to edit
6.add Parameter ( item Name, Category ,sub Category)
7. Create function select Record type and given table name if you want edit,
8. Create UI parameter ex Category ( select default value is Source field , , Select Input type search list, select table name is mapping_category_Subcategory table, field name is category, select