cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Insert Issue in Groovy script within Json Loop

Chandru_SAP
Discoverer
0 Likes
262

Hi,

I am trying to loop json payload and execute Hana sql query in order to insert record into Hana DB. 

Chandru_SAP_0-1739808156514.png

Its inserting only one record and breaks the loop. If i change the Json attribute(subscriptionactiontype) by keeping execute query outside loop, then loop is getting executed as many lines as we have. No Issues at all. But if i keep execute query statement within a loop, loop is getting executed for only once . Pls suggest.

Thanks

Accepted Solutions (0)

Answers (0)