Skip to content

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:

  1. creates a DataImport in Workers mode on the API
  2. redirect on /process/XXX/configure

Screenshot_2020-07-08_ArkIndex_0_13_2-hotfix1

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.

Screenshot_2020-07-08_ArkIndex_0_13_2-hotfix1_1_

Clicking on Run at the bottom will call StartProcess and redirect on the data import live view

Edited by Eva Bardou