BPXE.Engine.SensorGateway (bpxe v0.4.0)

Note: This gateway is not described in BPMN 2.0. However, it's available through BPXE's extension schema.

This gateway senses which of first N-1 incoming sequence flows fired (i.e. their conditions were truthful) [where N is the total number of incoming sequence flows], maps these N-1 incoming sequence flows to first N-1 outgoing sequence flows, and once Nth incoming sequence fires, it sends 0-based indices of incoming sequences fired to Nth outgoing sequence flow.

This gateway is used to facilitate things like BPXE.Engine.InclusiveGateway

Link to this section Summary

Link to this section Functions

Link to this function

before_handle_token(arg, state)

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

enter_loop(state)

Link to this function

get_input_data(id, state)

Link to this function

get_output_data(id, state)

Link to this function

handle_completion(state)

Link to this function

handle_recovery(recovered, state)

Link to this function

handle_token(arg, state)

Callback implementation for GenServer.init/1.

Link to this function

init_flow_node(state)

Link to this function

init_recoverable(state)

Link to this function

initialize(state)

Link to this function

initialize_base(state)

Link to this function

send(sequence_flow, token, state)

Link to this function

send_token(sequence_flow, token, state)

Link to this function

set_input_data(id, value, token, state)

Link to this function

set_output_data(id, value, token, state)

Link to this function

start_link(element, attrs, model, process)

Link to this function

synthesize(state)