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

Add endpoint to extract input values from a workflow instance

XMLWordPrintable

      As a user, I would like to see the input form pre-filled up when appropriate so that my experience is simplified. 

      Scenarios where this feature will be applied:

      • I would like to click in a suggested infrastructure workflow after running the assessment workflow and see the form pre-filled up with all properties that I have provided in the assessment workflow. Pre-filled-up fields will be disabled. (FLPATH-858)
      • I would like to restart a failed/completed workflow without providing all the input values again. Pre-filled-up fields can still be editable. (FLPATH-882)

      Thus, we need an endpoint that would take care of extracting the inputs that have been provided in a given instance, respecting the schema structure.

      The response must also follow the schema structure.

      To be able to cover both scenarios, this endpoint would need to receive the `instanceId` and the `workflowId`.

      • For the assessment use case: `instanceId` of the assessment workflow run and `workflowId` of the chosen infrastructure workflow
      • For restarting workflows: `instanceId` of the previous run and `workflowId` of the same workflow (in this case, maybe `workflowId` could be omitted)

              gcaponet Guilherme Caponetto
              gcaponet Guilherme Caponetto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: