Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-1779

extendable workflow execution form workflow example

XMLWordPrintable

      create an workflow that will showcase how the extendable workflow execution form works
      The workflow will be functional with a custom frontend plugin implementing the widgets referenced in ui:widget fields

      It should have the following input schema

      {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "personalInfo": {
            "type": "object",
            "title": "Personal Information",
            "properties": {
              "firstName": {
                "type": "string",
                "title": "First Name",
                "default": "John"
              },
              "lastName": {
                "type": "string",
                "title": "Last Name"
              },
              "country": {
                "type": "string",
                "title": "Country",
                "ui:widget": "CountryWidget"
              },
              "password": {
                "type": "string",
                "title": "Password",
                "ui:widget": "password"
              },
              "confirmPassword": {
                "type": "string",
                "title": "Confirm Password",
                "ui:widget": "password"
              }
            },
            "required": ["firstName", "lastName", "country", "password", "confirmPassword"]
          },
          "languageInfo": {
            "type": "object",
            "title": "Language Selection",
            "properties": {
              "language": {
                "type": "string",
                "title": "Language",
                "ui:widget": "LanguageWidget"
              }
            },
            "required": ["language"]
          }
        }
      }
      
      

      The workflow itself can just print something, the main thing is that the schema is there

              rh-ee-gfarache Gabriel Farache
              brotman@redhat.com Bat-Zion Rotman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: