Skip to main content

system.kanoa.event.deleteStateEvent

This function requires KanoaOPS module

Description

Deletes a stateEvent record.

Syntax

deleteStateEvent(stateEventId, userId)
  • Parameters
      stateEventId - StateEvent ID.
      userId - User ID.
  • Returns
    # of records modified (int).
  • Code Example

    # Example Usage:
    stateEventId = 123
    userId = 999
    recordsModified = system.kanoa.event.deleteStateEvent(stateEventId, userId)