trigger events from buttonbar buttons
You can modify the buttons in the button bar to trigger workflow events.
If these events are triggered from buttons while a resource is edited (save, update and contiune, the buttons in /create and /edit)
they will send the current data to the prototype output of the workflow event element.
Syntax:
{ "bakery_resource_module": "module_identifier", "bakery_resource": { "buttons": { "button_key": { "trigger": "event_identifier" } } }}Button keys:
savefor default ‘save’ button in create viewupdatefor default ‘save’ button in update viewcontinuefor default ‘save and continue’ button in update viewdeletefor default ‘delete` button in show vieweditfor default ‘edit` button in show viewcreatefor default ‘create’ button in index view
See layout -> components -> Customizing the default Buttons for more Info.