8 , statusAttributes(statusAttributes)
9 , dataAttributes(dataAttributes)
18 nlohmann::ordered_json jsonObject;
20 jsonObject[
"event"] =
"ready";
void process(const ReadyEvent *event)
const BPMN::Process * process
Pointer to the top-level process.
Represents a token running through a (sub)process.
const BPMN::FlowNode * node
const StateMachine * owner
State machine owning the token.
SharedValues * data
Pointer to the data of the owner or owned state machine subprocesses)
std::string id
Id of element.
std::string to_string(number numericValue, const ValueType &type)
Converts a number to a string.
nlohmann::ordered_json jsonify() const override
void processBy(Engine *engine) const override
ReadyEvent(const Token *token, BPMNOS::Values statusAttributes, BPMNOS::Values dataAttributes)
static constexpr size_t Instance