3.7. openidm.action(id, params, value)

This function performs an action on the specified OpenIDM resource object.

Parameters

id

string

The identifier of the object on which the action should be performed.

params

object

An object containing the parameters to pass to the action.

value

object

A value that can be provided to the action for processing.

Returns

  • The result of the action. May be null if no result is provided.

Throws

  • An exception is thrown if the given action could not be executed for any reason.