This module provides client request functionality for user actions.
It is available only on Snipe Kit server.
selfCall (c:ClientKit, params:Params):Dynamic
kit/action.self
Tries to run a given action on caller client.
Input:
actionID
- String
. Action string ID.Output:
errorCode
- String
. Operation error code.actionID
- String
. Action string ID.Error codes:
ok
- Operation successful.noSuchAction
- No such user action defined.selfLocked
- Caller client is currently trying another action.scriptException
- Action script produced an exception.