Sequences

Actions can be composed into sequences to, in effect, form a new Action. The Sequence entity allows for a simple, convenient way to describe them in the Package Manifest.

Fields

Requirements

  • The comma separated list of Actions on the actions key SHALL imply the order of the sequence (from left, to right).
  • There MUST be two (2) or more actions declared in the sequence.

Notes

  • The sequences key exists for convenience; however, it is just one possible instance of a composition of Actions. The composition entity is provided for not only describing sequences, but also for other (future) compositions and additional information needed to compose them.  For example, the composition entity allows for more complex mappings of input and output parameters between Actions.

Grammar

sequences:
  <sequence name>:
     <Entity schema>
     actions: <ordered list of action names>
  ...

Example

sequences:
  newbot:
    actions: newbot-create, newbot-select-persona, newbot-greeting