Hi Retool Technical Expert,
Currently we are using retool sandbox workflow, use the REST API qeury to get the data from SAP ,and transform the json result into array, below is the json result:
{"data":[{"MAT_DOC":"6000000153","DOC_YEAR":"2025","TR_EV_TYPE":"WF","DOC_DATE":"2025-03-20","PSTNG_DATE":"2025-03-20","ENTRY_DATE":"2025-03-20","ENTRY_TIME":"01:40:05","USERNAME":"GP00204984","VER_GR_GI_SLIP":"2","EXPIMP_NO":"","REF_DOC_NO":"","HEADER_TXT":"","REF_DOC_NO_LONG":""}]}
How can we run another query base on SQL server resource to append the given data from prevous query, the transform query name is transform,
We can reference it via {{ transform.data}}, but We don't know how to append the data to the Resource name (SXMIS), SQL SERVER table name is Movement_Data.
Appreciate your help. (Do we have to consider the Loop so we can append row by row)