Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Approach for infinite running of XSJS application

$
0
0

Hi Experts,

     I'm trying to create an IOT application in SAP HANA Cloud platform trial account.

I'm trying  to develop a piece of code which always runs(once started) like a service to monitor the input messages from IOT devices and send output accordingly.

I thought of creating a .XSJS app and schedule it very frequently to mimic continuous running but XSJOB is restricted in trail HCP so this option is ruled out.

The other workaround I thought of is to create a .XSJS app with a infinite loop with a exit logic using some flag value in a table.

and this .xsjs app is triggered by a UI5 app.

 

 

My question is will this approach work? I want the XSJS app to run even if the UI5 user session is closed.

the .xsjs app should stop only when the flag value in the table is changed.

 

 

and if not please suggest me some approach.

also is this an ideal way to do things for this scenario?

 

 

 

Thanks

Md.Arrif


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>