Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Not able to schedule HANA XS based batch job for HANA EIM Flow?

$
0
0

Hello Community Members,

 

I have created a simple hdbflowgraph (task) to replicate data from a HANA table using new Smart Data Integration Capabilities of HANA EIM. The data flow works well and I am able to replicate data in a template by manually executing the job. Now, I want the ability to schedule this job to run every so often (let's say every 59 minutes). In order to accomplish this, I have created a procedure where I start the task.

 

PROCEDURE "XXXXXX"."TEST_SDI.SDQ_SDI::TEST_BATCHSCHEDULE" ( )

  LANGUAGE SQLSCRIPT

  SQL SECURITY INVOKER

  DEFAULT SCHEMA XXXXXX

  AS

BEGIN

/*****************************

  Write your procedure logic

*****************************/

START TASK "XXXXXX"."TEST_SDI.SDQ_SDI::FILTER_SORT";

END;

 

I am able to activate this Procedure without any errors.

 

Now the next step is to create a XS schedule artifact so that I can have this procedure run every 59 minutes. I am using the following code and getting an error on activation "Invalid file content".

 

{

    "description": "Read VBRK table and update HANA",

    "action": "XXXXXX"."TEST_SDI.SDQ_SDI::TEST_BATCHSCHEDULE",

    "schedules": [

       {

          "description": "Read VBRK table and update HANA",

          "xscron": "* * * * * * 59"        

       }

    ]

}

 

I am looking to understand what can I do to fix this error. Any help is highly appreciated.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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