1. Tasks
  2. Heimdall Emit

Tasks

Heimdall Emit

The Heimdall Emit task allows a stub to trigger Heimdall actions on the specified path.

Heimdall Paths and Mechanisms form the basis of the Heimdall Emit task and are explained further in the Heimdall documentation.

Basic usage

Emit an event on the stubbergroup.all.financial.customer.account.balance.update.[CUSTOMER_ACCOUNT_ID] path, updating the new customer account balance.

loading...

Advanced usage

Emit an event on multiple paths.

loading...

Parameters

path

required
string

This is the path on which to emit. * can be used as a wildcard in the path.

See also: Heimdall


path_strings

optional
array

This is the path strings on which to emit. The path strings in the array should be in the following format : [mechanism]|[path]. The mechanism should be * or one of the other mechanisms. The path should be the path on which to emit. * can be used as a wildcard in the path.

See also: Heimdall


mechanism

required
string
The mechanism to use to fire the trigger.

Options: * | evt | cbh| rra| rnd| evb

Mechanism Description
* All
evt Event
cbh Callback Handler
rra Round Robin Approach
rnd Random
evb Event Back

See also: Heimdall


data

required
object

The data to send with the event. This can be a static object or a reference to a stubpost object.


Result

loading...