runAction abstract method

Future<ActionResult> runAction(
  1. String resourceKey,
  2. Object id,
  3. String action
)

POST /{resource}/{id}/actions/{action} — runs one of the record's own RecordActions. Never throws on a 4xx or 5xx; see ActionResult.

The caller re-fetches the record on success only: the action may have changed fields, permissions or the action list itself, and this method carries none of that back — only whether it ran. A failure leaves the record untouched, so there is nothing to re-fetch.

Implementation

Future<ActionResult> runAction(String resourceKey, Object id, String action);