This is normal process when you use entity-auto.
If you want a dedicate message or no message, override you service by an
other
<service name="createBookForUser" engine="groovy"...>
<implement service="createBook"/>
BookServices.groovy:
def createBookForUser() {
run service: 'createBook', with: parameters
return success("My message")
//or
// return success()
}
Nicolas
On 30/07/2022 05:21, Avijit Bose wrote:
Hello,
1. After completion of a db row creation, the blue success message (alert)
is showing but gets stuck. It does not 'goes off' of its own. Clicking the
close (X) button does not work. I am using a simple create service method
to create a single row in db.
*****************
<service name="createBook" default-entity-name="smsBookMaster"
engine="entity-auto" invoke="create" auth="true">
<description>Create New Book</description>
<auto-attributes include="pk" mode="OUT" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
*****************
2. It also happens when creating many rows in many database consecutively
in a single process.
No error message etc.
Pls let me know why this happens?