Creating a workflow

  1. Navigate to the Symphonies Overview page.
  2. Click Add.
  3. Specify a name
  4. Optionally, specify a description.
  5. Add an AI Optimization task element to the workflow diagram available from the left side panel at the point where a task should be executed. You can apply one or multiple AI Optimization tasks into the flow.
  6. Configure the AI Optimization task parameters by selecting one of these task actions from the menu:
    Option Description
    Reload Datasets This action reloads data from Data Lake.
    Rerun Model This action runs the design quest.
    Update Production Quest This action updates the model from design to production and runs the production quest.
    Redeploy Endpoint This action deploys the endpoint with the latest model.
  7. Select the flow type and provide a name for the activity.
  8. Select the flow type and provide a name for the activity.
  9. Specify the input variables. For all flows (except Endpoint Execution), the required input is questName. For Endpoint Execution, inputs include: endpointName, executionType, and runtimeData.
  10. Specify the output variables: Only Endpoint Execution flows have output variables. For example, result.
  11. Specify the input values. You can assign values directly in the flow activity or create variables on the Variables tab: Variables can have default values. These values can be modified at the time of executing the Symphony model.
  12. Configure timeout and error handling. You can set timeouts for each activity and for the overall Symphony model. Each activity includes an error option. You can choose to either continue with the next activity or stop the Symphony model upon an error.
  13. Click Save.
  14. Click Versions and approve.
  15. Navigate to the Symphony Overview page by clicking the Back button from the Symphony Detail page.
  16. Activate and execute the Symphony model.
  17. To run the model, go to the Symphony Overview page and click Run on the tile of the respective model.
  18. When prompted, click Execute to run the model.
  19. If any defined variables are used in flow activities, you are prompted to confirm or update variable values before execution.
  20. Go to the Executions tab to check the status of executions. For detailed information, open the Symphony model on this tab. This information is displayed:
    • Symphony Details: start time, end time, duration, status, executor name, execution ID, and Symphony-level variables.
    • Execution Details: flow-by-flow information, including:
      • Activity details
      • Activity variables (Input and output variables)
      • Execution messages

    For Endpoint Execution, the result appears in output variables.

  21. For each AI Optimization task, you must add a new step to the workflow. Repeat the process as necessary for every AI task.

To have a complete orchestration of automatic model rerunning, use all four task types for the same quest, in the order as they are listed:

  • Reload datasets to acquire the latest data from Data Lake.
  • Apply Rerun Model to rerun the design quest including the latest data.
  • Update the production quest.
  • Redeploy the endpoint.