Skip to content

Available now

declare-context-on-commit ​

workflow inform

A skill of the SOM skill library 0.2.2, as SOM Managed Bus checks its configured instances. The library file is the specification; this page is generated from the bus's code.

Skill idsmart-stories/declare-context-on-commit
Version0.2.2 (suite som-1.0.0+lib-0.2.2)
Categoryworkflow
Severity rangeinform
Authority scaleOptional: the skill compares no authorities

Recalls on ​

An executor running this skill subscribes to these message types, and always to story.context (the executor contract).

Message typeSpec
story.contextSOM 1.0 schema: story-context
asset.contextpending spec no SOM 1.0 schema: what that means
link.committedSOM 1.0 schema: link-event

1 of these 3 has no SOM 1.0 schema yet: an executor uses it only as a wake-up.

Configuration ​

A configured instance sets these values, with its own instance_label (every warning it raises carries it as rule_id). Unknown fields are refused, so a typo never falls back to a default.

FieldKindRequiredWhat it is
destination_scopetextYesWhich destinations this instance covers: a destination id, or a pattern the house maintains
declared_fieldspathsYesThe story fields carried in the declaration, for example slug, story_type, priority.level
match_fieldpathYesThe story field tested to decide whether this instance concerns the story, for example tags[].value
match_valueliteralYesThe value match_field must carry
redeclare_on_changebooleanNoWhether a declared field changing while committed declares again. Defaults to true

What each kind accepts: field kinds.

Check your values ​

Check a configured instance before you register it, with the skill catalogue API; nothing is stored. A publisher registers it on the portal: Run skills in your house.


All skills: skill library catalogue.

SOM is an open standard maintained by the SOM working group. This service is not endorsed by it.