Workflows: fix cases.createCase output schema (output.id -> output.case.id) in examples#6452
Open
benironside wants to merge 1 commit into
Open
Workflows: fix cases.createCase output schema (output.id -> output.case.id) in examples#6452benironside wants to merge 1 commit into
benironside wants to merge 1 commit into
Conversation
Replace `steps.create_case.output.id` with `steps.create_case.output.case.id` in workflow how-tos and one context-variables example. The reference page `steps/cases.md` already documents the correct shape (line 49); the examples on these pages drifted and now fail validation when copy-pasted. Fixes #6451. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
Contributor
✅ Vale Linting ResultsNo issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #6451.
Replaces
steps.create_case.output.idwithsteps.create_case.output.case.idacross workflow how-to pages and onecontext-variables.mdexample. The reference pageexplore-analyze/workflows/steps/cases.mdalready documents the correct shape (line 49: "the new case ID atsteps.<step_name>.output.case.id").Mirko Bez verified the bug in Slack by copy-pasting the published Observability RCA workflow into Kibana.
Files changed (4 files, 26 replacements)
explore-analyze/workflows/use-cases/observability/root-cause-analysis.md(6)explore-analyze/workflows/use-cases/security/automate-security-operations/ai-driven-alert-triage.md(10)explore-analyze/workflows/use-cases/security/automate-security-operations/alert-triage-with-case.md(9)explore-analyze/workflows/reference/context-variables.md(1)Generative AI disclosure
Made with Cursor