Database insert's identity called from repeat returning "INSERT"

Wappler Version: Latest
Operating System: W10Pro latest
Server Model: NodeJS

Expected behaviour

This SC script is supposed to insert a product record in the database and update that record’s images field to contain all uploaded image’s file names:
image

The returned Identity value of the database insert (insert_product) action is expected to be an integer (product_id in this case, generated automatically since this field is an increments field for the products table).

Actual behavior

The returned Identity has value “INSERT”:
image

The condition for the add_images database update action returns an error because of that:

Quite sure this is a bug. Please let me know if you thinks it’s not or you need more details. Thanks.

Community Page
Last updated: