SAP BI Tools · Arazzo Workflow

SAP BI Tools List and Inspect a SAC Story

Version 1.0.0

List SAP Analytics Cloud stories and retrieve the first story's full detail including the models it uses.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsBusiness IntelligenceData VisualizationReportingSAPArazzoWorkflows

Provider

sap-bi-tools

Workflows

list-and-inspect-story
List stories and fetch the first story's detail with its models.
Lists tenant stories with their model references, then retrieves the first story by id including the models it uses.
2 steps inputs: include outputs: firstModelId, firstStoryId, storyName
1
listStories
listStories
List the stories available on the tenant, including their model references, and capture the id of the first story.
2
getStory
getStory
Retrieve the full detail of the first story, including the models it uses.

Source API Descriptions

Arazzo Workflow Specification

sap-bi-tools-list-and-inspect-story-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: SAP BI Tools List and Inspect a SAC Story
  summary: List SAP Analytics Cloud stories and retrieve the first story's full detail including the models it uses.
  description: >-
    A reporting-inventory pattern for SAP Analytics Cloud. The workflow lists
    the stories available on the tenant (including their model references) and
    then retrieves the full detail of the first story, again requesting its
    model references so the underlying data sources are visible. SAP Analytics
    Cloud uses OAuth 2.0 bearer authentication rather than the BI Platform
    logon token, so no token is threaded between steps here. Every step spells
    out its request inline so the flow can be read and executed without opening
    the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: analyticsCloudApi
  url: ../openapi/sap-analytics-cloud-api-openapi.yml
  type: openapi
workflows:
- workflowId: list-and-inspect-story
  summary: List stories and fetch the first story's detail with its models.
  description: >-
    Lists tenant stories with their model references, then retrieves the first
    story by id including the models it uses.
  inputs:
    type: object
    properties:
      include:
        type: string
        description: Related resources to include in the response (e.g. models).
        default: models
  steps:
  - stepId: listStories
    description: >-
      List the stories available on the tenant, including their model
      references, and capture the id of the first story.
    operationId: listStories
    parameters:
    - name: include
      in: query
      value: $inputs.include
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstStoryId: $response.body#/0/id
      firstStoryName: $response.body#/0/name
  - stepId: getStory
    description: >-
      Retrieve the full detail of the first story, including the models it
      uses.
    operationId: getStory
    parameters:
    - name: storyId
      in: path
      value: $steps.listStories.outputs.firstStoryId
    - name: include
      in: query
      value: $inputs.include
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      storyName: $response.body#/name
      storyDescription: $response.body#/description
      firstModelId: $response.body#/models/0/id
  outputs:
    firstStoryId: $steps.listStories.outputs.firstStoryId
    storyName: $steps.getStory.outputs.storyName
    firstModelId: $steps.getStory.outputs.firstModelId