Skip to content

Workflows: fix cases.createCase output schema (output.id -> output.case.id) in examples#6452

Open
benironside wants to merge 1 commit into
mainfrom
6451-cases-createcase-output-case-id
Open

Workflows: fix cases.createCase output schema (output.id -> output.case.id) in examples#6452
benironside wants to merge 1 commit into
mainfrom
6451-cases-createcase-output-case-id

Conversation

@benironside
Copy link
Copy Markdown
Contributor

@benironside benironside commented May 12, 2026

Summary

Closes #6451.

Replaces steps.create_case.output.id with steps.create_case.output.case.id across workflow how-to pages and one context-variables.md example. The reference page explore-analyze/workflows/steps/cases.md already documents the correct shape (line 49: "the new case ID at steps.<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

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes — Claude Opus 4.7 / Cursor
  • No

Made with Cursor

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>
@github-actions
Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@benironside benironside self-assigned this May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ Vale Linting Results

No 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.

@benironside benironside marked this pull request as ready for review May 12, 2026 19:35
@benironside benironside requested review from a team as code owners May 12, 2026 19:35
Copy link
Copy Markdown
Member

@nastasha-solomon nastasha-solomon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Workflows: cases.createCase output schema is wrong (output.id should be output.case.id) in workflow examples

2 participants