Agent Mobile App - Show Variables in form (sm_order)

Kamlesh Prasad
Kilo Expert

I would like to know if there is a way we can display Variables in Agent Mobile App form screen for Service Management tables "sm_order" as we can show in Desktop version by selecting "SM Variable Editor" in form.

Ex: Facilities  Requests, Legal Requests etc are few examples of tables derived from sm_order table

I got post https://community.servicenow.com/community?id=community_question&sys_id=8093d5d3db1ab3045129a851ca96... which might help on showing as action to display in new page but I need it to show on Agent Mobile App form screen itself.

1 ACCEPTED SOLUTION

Kamlesh Prasad
Kilo Expert

I figured out how it can be done for SM (sm_order) and it's related table. There is no "Variable" field on this table for selection but "Question" (backend value "variable") field for selection.

 

However, when we select directly on Applet form screen it shows error "java.lang.NullPointerException Check logs for error trace or enable glide.rest.debug property to verify REST request processing". This might be a Bug that Service-Now has to fix.

It can be selected by going to Applet menu (left navigation), opening corresponding Form Screen Applet and selecting "Question" as additional screen field on Details screen. We observe as sson as Question is selected it shows as "Variable" in Screen Fields form.

I am adding screenshot for more details:

 

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

View solution in original post

5 REPLIES 5

Daniel50
Kilo Guru

You Guys are awesome!!! You helped me a lot!

Thank you!