tuain-bpm-lib
Version:
Servicio de gestión de manejo de procesos de la plataforma Tuain
19 lines (16 loc) • 489 B
JavaScript
class InstanceEventData {
constructor(procName, procId, id, name, vars) {
// this.controller = controller;
this._procName = procName;
this._procId = procId;
this._id = id.toString();
this._name = name;
this._vars = vars;
}
get procName() { return this._procName; }
get procId() { return this._procId; }
get id() { return this._id; }
get name() { return this._name; }
getVar(name) { return this._vars?.[name]; }
}
module.exports = InstanceEventData;