Update Status Event
Update Status Event - app.record.detail.process.proceed
An event triggered when the "Update Status" is clicked for the business process feature.
Running actions after waiting for asynchronous operations to finish
By returning a kintone.Promise
object, you can update the status of the record after waiting for asynchronous operations to finish. Refer to the sample code on the following article:
Save Event
Function
Desktop
app.record.detail.process.proceed
Mobile
mobile.app.record.detail.process.proceed
Properties of the Event Object
PROPERTY | TYPE | DESCRIPTION |
---|---|---|
action | Object | The action that was run.// The key of the object |
status | Object | The status before the update// The key of the object |
nextStatus | Object | The status after the update// The key of the objectNote that the status after the update is retrieved even if the status does not change after the action. |
record | Object | The record object |
type | String | The event type. |
Cancel Actions
Actions can be cancelled by doing one of the following:
- Show record errors
- return
false
- return invalid value
Available Event Object Actions
Notes
- Some processes need several assignees to perform an action before moving onto the next status - this event will take place even when the status does not change.
- The record data can be updated by returning the event object.
- If nothing is returned, only the status will be updated
Limitations
- Refer to the Limitations section of the following article for more details:
Event Handling