You set an attribute named "detail" because the one that searches for $ {detail}. If you want to explicitly use the "detail" table, just put "detail" as the table name in ConvertJSONToSQL. If it should be dynamic, you need to set an attribute called "detail" with the value of the table you want
source
share