how Auto populate 'location' in RITM and SCTASK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2018 10:42 PM
i have Location field in RITM and SCTASK. how to auto populate this field with the location value of ‘Requested for’.
Thnaks,
Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2018 10:57 PM
Hi Kumar,
The best way to auto populate is to create a catalog client script, check applies on requested items/catalog tasks
Make use of GlideAjax(Best Practise) to query the user location
Set the response into the location field.
You can still skip glideajax and make use of gliderecord in catalog client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2018 11:10 PM
Thnaks Sankar,
please provide code for that.
Thnaks
Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2018 11:29 PM
You need a business rule with script in RITM
current.location = current.request.requested_for.location;
You need a business rule with script in sc_task
current.location = current.request.requested_for.location;
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2018 11:59 PM
Thamks for Reply
Hi Sanji,
I think it's not working
Please proved detail.
Thanks
Kumar