- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2019 01:04 AM
Dear all,
I have define a Record producer which is mapped to task table
I am struggling for days now in order to be able to set the default value of my record producer based on below capture :
Any idea how should I set my Assigned to default value with the sys id of the open user ?
Thanks for help
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2019 02:15 AM
kindly keep them in double quotes and it should work.
<iframe src="${jvar_url}">
Mark the answer as correct if it works.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2019 01:24 AM
Hi,
If you want to set the name of currently logged in user, then R.click on Assigned To field and write below code in default value field.
javascript:gs.getUserID();
Regards,
Ajay

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2019 01:27 AM
Hi Wakesprit,
As I understand, you are getting the user from the UI action and you want to set that in the RP.
For this, you need to pass the user from UI action as a parameter to this RP. Then follow this link to parse the value from the URL and set it in the record producer
http://www.john-james-andersen.com/blog/using-urls-to-set-default-values-in-a-record-producer.html
Mark correct, if this works for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2019 02:07 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2019 02:15 AM
kindly keep them in double quotes and it should work.
<iframe src="${jvar_url}">
Mark the answer as correct if it works.