Skip to content

Commit

Permalink
Merge pull request #3164 from reubenmiller/docs-workflow-missing-vari…
Browse files Browse the repository at this point in the history
…able

docs: add missing variable available in workflow states
  • Loading branch information
reubenmiller authored Oct 7, 2024
2 parents 50c55e7 + e2ce432 commit 2bdddb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/references/agent/operation-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ Data extracted from the command status topic and message payload can be passed a
- Specific path expressions can be used to pass specific excerpts.
- `${.}` is a json for the whole message including the `topic` and the `payload`.
- `${.topic}` is the command request topic (*e.g.* `te/device/main/cmd///restart/c8y-mapper-123`)
- `${.topic.root_prefix}` is the command target root topic (*e.g.* `te`)
- `${.topic.target}` is the command target identity (*e.g.* `device/main/cmd//`)
- `${.topic.operation}` is the command operation (*e.g.* `restart`)
- `${.topic.cmd_id}` is the command request unique identifier (*e.g.* `c8y-mapper-123`)
Expand Down Expand Up @@ -523,6 +524,7 @@ The `await-operation-completion` action also tells how to inject the outcome of
- Specific path expressions can be used to extract specific excerpts from the sub-operation final state.
- `${.}` denotes the whole sub-operation final message including the `topic` and the `payload`.
- `${.topic}` is the sub-operation request topic
- `${.topic.root_prefix}` is the command target root topic (*e.g.* `te`)
- `${.topic.target}` is the sub command target identity
- `${.topic.operation}` is the sub command operation
- `${.topic.cmd_id}` is the sub command request unique identifier
Expand Down

0 comments on commit 2bdddb6

Please sign in to comment.