Solution Download

Solutions can be exported and imported to new instances of Flow Utilizer. The export is a YAML file, with the schema below.

The YAML file can be edited and re-imported, but be aware that it must still be a compliant YAML file (with below schema), and any incorrect calculations will be corrected on import

YAML Schema

$schema: "http://json-schema.org/draft-07/schema#"
type: object
properties:
  solutionName:
    type: string
  solutionId:
    type: string
    format: uuid
  flows:
    type: array
    items:
      type: object
      properties:
        flowId:
          type: string
        name:
          type: string
        dailyCalls:
          type: string
          pattern: "^[0-9]+$"
        runCalls:
          type: string
          pattern: "^[0-9]+$"
        actions:
          type: integer
        dailyRuns:
          type: string
          pattern: "^[0-9]+$"
        solution:
          type: string
        on:
          type: boolean
        containers:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
                enum:
                  - action
                  - loop
                  - condition
              name:
                type: string
              id:
                type: string
              iterations:
                type: [number, "null"]
              parent:
                type: string
              actions:
                type: integer
              totalCalls:
                type: number
              branch:
                type: string
                enum:
                  - y
                  - n
              flow:
                type: string
              level:
                type: integer
              dailyCalls:
                type: [number, "null"]
            required:
              - type
              - name
              - id
              - actions
              - totalCalls
              - flow
              - level
        daysOfWeek:
          type: string
          pattern: "^(su|mo|tu|we|th|fr|sa)(\\|su|\\|mo|\\|tu|\\|we|\\|th|\\|fr|\\|sa)*$"
        totalCalls:
          type: number
      required:
        - flowId
        - name
        - dailyCalls
        - runCalls
        - actions
        - dailyRuns
        - solution
        - on
        - containers
        - daysOfWeek
        - totalCalls
  dailyCalls:
    type: string
    pattern: "^[0-9]+$"
  modified:
    type: string
    pattern: "^\\d{2}/\\d{2} - \\d{2}:\\d{2}$"
required:
  - solutionName
  - solutionId
  - flows
  - dailyCalls
  - modified

JSON Schema

Example Export

Last updated