BookmarkSubscribe
Choose Language Hide Translation Bar
Jenn1
Community Member

Email notification after verifying a certain valueations

Hi, looking for a automated jmp script solution to send an email notification after verifying a value. Thanks in advance!

0 Kudos
1 REPLY 1
Highlighted
uday_guntupalli
Community Trekker

Re: Email notification after verifying a certain valueations

@Jenn1 , 

 

 Maybe try something like this. 

dt = Open( "$SAMPLE_DATA/Big Class.jmp");

Avg_Age = Mean(dt:Age << Get Values); 

If(Avg_Age > 13.5,
	Mail( "YourEmail", "Test Passed", "The average age in big class dataset is > 13.5", "$SAMPLE_DATA/Big Class.jmp" );
  );

Note that, with this approach, a pop up window will come up asking you to "allow" or "deny" the file to be e-mailed. 

Best
Uday