- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2018 05:46 PM
Hi all,
So I have some scratchpad variables that I am trying to pass over to my email notifications.
I can use the variables from the variable pool successfully, so I know that is working fine, however, the scratchpad variables do not display.
I have logs in my run script in the workflow, and the scratchpad is working as intended from the workflow perspective, I am just not sure why it's not passing over to the notification.
Run Script:
var fullname = 'Brendan Test';
workflow.scratchpad.new_users_name = fullname;
Email Notification:
${workflow.scratchpad.new_users_name}
Anyone have any ideas why it is not working?
Cheers, Brendan
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2018 07:23 PM
You can’t call scratchpad in notification. You need to store value somewhere in RITM. Create varibles or field on ritm table than call that field in notification.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2018 07:23 PM
You can’t call scratchpad in notification. You need to store value somewhere in RITM. Create varibles or field on ritm table than call that field in notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2018 10:13 PM
Ah damn, that sucks!
I had to create some hidden variables, but it will work out well in the end as the data I have in these will come in handy being available in the variable editor as well.
Thanks mate!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2019 03:26 AM
Hi, I am not sure if things have changed, but I have managed to get this working on our London instance.
Run Script:
var vpn = current.variables.vpn_record;
var managed = vpn.managed_by.getDisplayValue();
workflow.scratchpad.managedby = managed;
Email Notification:
If you have any questions or concerns please contact <b>${workflow.scratchpad.managedby}</b>.<br/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2024 12:14 AM
Thanks , found this working for me.