Can Data Lookup definitions run on load of form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2023 12:31 AM
as I have created a data lookup definition to populate the field of manager from sys_user table to the variable of catalog item "manager" so it is populating on change of requested for user and not on load means if I impersonate any user which have manager and load the catalog item form it is not populating but if I change it is populating.
please go through the snapshot I have added
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2023 01:36 AM
Data Lookup Definition work based on the field value and not based on Logged in user.
So Manager will be populated based on Requested for selected. If you Auto populate 'Requested For' on load, it will work but not with blank value or logged in user value.
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2023 01:40 AM
Requested for is Auto populating only as I logged in with user who have manager but the manager field is not.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2023 01:51 AM
Hello why dont you use autopopulate feature
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2023 02:09 AM
it is not available at my instance for varable set