3 ms·
not sure how yaml is easier than json also not sure how yaml is easier than python or what not
by zobzu 11y ago
not sure how yaml is easier than json
also not sure how yaml is easier than python or what not
- lnkmails 11y agoStackStorm developer here! Just to clarify, YAML is one way to write the workflow spec. Just like how YAML is way to write docker compose file. We picked YAML over JSON because it is less verbose and allows one to add comments which is pretty useful if someone is looking at a remediation workflow early in the AM. We do use YAQL expressions for some variable manipulation but that is not a YAML spec. A workflow is a collection of actions and actions can be written in almost any language (as a script) or python (first class actions). So you can think YAML workflow as a declarative spec rather than a programming language. Maybe that helps?