Skip to Content

I have a data base created and I want to store the data that has crossed the threshold value.

Jul 27, 2017 at 09:41 AM


avatar image
Former Member

I want trigger an email to the respective person mentioning that the value has crossed the threshold level.

Is it possible to do that using XSJS, if so can you please guide me to go on with the requirement?

Thanks & regards,

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Anjali Chimnani
Jul 27, 2017 at 05:48 PM

Hi Vanitha,

It is certainly possible to to do it in xsjs.

In the SAP HANA XS Classic development guide at:

Section 9.4 Using the Server-Side JavaScript APIs, and in it Outbound API section, shall help you writing the logic for sending the mail.

While, to know if it has reached a threshold, you would need to schedule a job. The job shall run every regular intervals, which you could use to determine if the threshold is reached via a sql query.

The information for the same is also maintained in the same guide in Section 9.7 Scheduling XS Jobs

Thank you.

Best Regards,


10 |10000 characters needed characters left characters exceeded