how to map reference field in record producer to incident reference field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2017 03:09 AM
Hello,
I need to map to reference field (name) mapped to caller_id(caller) in incident form also reference.
current.caller_id=producer.caller_id and current.caller_id.sys_id=producer.caller_id is not working
Can anyone correct/modify it please
Thanks,
Nitesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2017 03:51 AM
Yes, both are referencing to sys_user table. but no use..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2017 03:56 AM
In the record producer script try below code,
current.caller_id = gs.getUserID();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2017 04:01 AM
Ya, i tried this one, its working fine as updating logged in user to caller field. but if i entered any other user name. its not updating to caller field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2017 04:05 AM
Hi Nitesh,
In our instance we have user below code, and it was working fine with out any issue.
current.caller_id = producer.caller; //caller is the variable name in our instance. Please replay with your variable name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2017 04:10 AM
As i used variable named "name" i written as "current.caller_id = producer.name;" but still no use