Create a workflow v2
We need a new way to create an Workflow with workers in the frontend.
A new button, controlled by a feature flag workers
, will be added on:
- the element actions :
[beta] Create new process
- the selection actions:
[beta] Create new process
Clicking on those will redirect the user on a new component routed on /process/create
, that will simply list the impacted elements, like on the left side of the existing import!
Create a new Process/Dataimport
This page lists the elements, and has an extra button at the bottom Configure workers
. Clicking on this button:
- creates a DataImport in
Workers
mode on the API - redirect on
/process/XXX/configure
Configure
This page is routed on /process/XXX/configure
and allows a user to select workers & worker versions.
When a worker version is picked from a modal, a Worker run is immediately created through the API.
Clicking on Run
at the bottom will call StartProcess
and redirect on the data import live view
Edited by Eva Bardou