Message 1 of 6
Scripting; Send print view of workspace via email.
Not applicable
01-19-2017
01:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Let's start with, I'm new to scripting........
I'm trying to send print view (of details tab) via e-mail;
My Script;
var email = new Email();
email.to = '[email protected]';
email.subject = 'Deviation Has Been Approved';
email.body = getPrintView('RecInsp');
email.send();
Print view has been created (see image);
When testing the script I get the following error;
There is an error in the script on line 5, column 0. Wrapped java.lang.NullPointerException (PC_dev_req_nofification_insp#5)
Any help would be greatly appreciated!
