[Mobile Agent] Parameter Screen with Reference Input with Autofill Variable of Type User
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2022 06:01 AM
Hi,
In Agent Mobile application I have created an action to create new Incident using Parameter Screen configuration with inputs.
I have an input Caller type Reference. I want to autopopulate field with currently logged user.
I use input Autofill variable with type User, but it fills the field with sys id instead of display name.
Variable Type user according to documentation do not have any attributes to define.
To achieve my goal I have also tried to use Variable type Scripted, with attribute Script and Value reference to Script Include where I return display name of logged user, but it seems like Script Include is not accessed. With this config there is no autofill at all.
PS. I had also tried simple return of gs.getUserDisplayName().
Could you help please?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2022 06:26 AM
Check whether the sys_id displayed caller field is valid user and matching with current logged in user
Then check whether the user record matches the condition mentioned in the second screenshot (company.sys_id=<sys_id>)
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2022 10:48 PM
Yes, sys id is of currently logged in user and it match the condition mentioned in conditions attributes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 10:51 PM
Are you facing this issue with all the reference field or only caller?
Populate Assigned to field and check whether you see sys_id or the actual user name
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 11:30 PM