Build a Pipeline from the Workflow

In summary

  • The Workflow makes it easy to visualize and organize the Pipeline of a Schedule

  • Only the Schedule Owner and contributors can manage Task Workflow

  • All DC-Maestro users can consult the Workflow of a Public Schedule

  • A function allows you to calculate the optimal workflow for updating the output elements of a Project

  • It is possible to change the Project and map tasks to new elements.

  • Select a task in the Workflow for display the detail or modify it

  • If applicable, a task is always executed after the task that precedes it, and only on success

  • Hover over tasks to display detailed information on linked items

To find out more about execution order, go to Scheduling a task pipeline.

Workflow view

The Workflow makes it easy to visualize and organize a Pipeline of tasks.
Only the Schedule Owner and contributors can create, edit, and delete tasks.

Tasks can be linked together to define an execution order.

If tasks are not linked, DC-Maestro sends all execution requests simultaneously.

task no link
Workflow -No task is linked

If tasks are linked, DC-Maestro sends the execution requests according to the order defined in the Workflow.
In the example below, the exposure will be executed after the 2 persistence tasks, and only if these are executed successfully.

task linked
Workflow -All tasks are linked
To follow step by step the creation of a Pipeline, go to the tutorial page Building a Workflow.
If no persistance action is required only the Dashboard and API Publications update tasks will be present.
It is possible to create the workflow of a chain without output (exhibitions or publication) by configuring an export to a final Datablock and launching the automatic calculation from this task. This does not work at dashboard level.

If the result of the automatic calculation is empty, this may mean that there are no output elements found in the chain (exhibitions, publications, exports) or that you do not have sufficient Datachain rights to these elements.

Generate a calculation

For the workflow generated to be consistent with the project, the user launching the workflow calculation must have full rights to the project elements.

The automatic workflow generation function can be accessed via the action menu by clicking on the icon Automatic calculation .

menu workflow maestro
Workflow -Action menu

When the automatic calculation is triggered, a configuration modal is displayed which allows the export tasks to be included or not.

Only registered export jobs are taken into account in the calculation.
generation auto wf maestro
Workflow -Configuration mode

As soon as the calculation is complete, the new Workflow is displayed on the screen +. You must save the changes to retain the new workflow.

If several independent processing chains (i.e. which do not share any elements in common) are present in the Project, these two chains will appear disjoint in the Workflow.
You will need to link them together in the interface if necessary.
If there is no link, these chains will be executed in parallel.

To avoid data update inconsistencies, it is not recommended to define several Schedules on the same DataChain Project.
It is preferable to duplicate the Project if it contains several disjoint chains to be automated at different frequencies and to conserve a single processing chain in each of the Projects.

Project change

It is possible to change the DataChain Project and map existing workflow tasks to items in the new Project.

When you select a new Project, DC-Maestro automatically associates the most likely items to be mapped +. It is not necessary to map all items to modify the Project, but only mapped items will be retained.

This function preserves the organisation of the Workflow and the Planning execution history.
It is particularly useful when a new project (V2) is created from a V1 which will not be retained.
It is perfectly possible to keep a Schedule for each Project for historical purposes.

You must save the changes to keep the new Workflow.
To undo these changes you can click on the icon Undo in the Workflow menu.

Workflow menu

Editing tasks and the Pipeline is done from the Workflow tab.

workflow page
Workflow -Workflow View
Actions menu
  • Save Saves all the tasks and links in the pipeline to send them to the Orchestrator.

  • Reorganize Reorganizes all the elements to refocus them in the zone.

  • Automatic calculation Starts the automatic calculation function

  • Change Project Enables you to change the Project and map tasks to new elements

Action menu
  • Connection failed Undo last action (maximum 10)

  • Zoom Zoom in / Zoom out Zoom out

  • Show Show / Hide Hide grid

  • Lock Lock / Unlock Unlock items

The menu on the right allows you to add and modify Workflow tasks.

Task menu
  • Add Selection of tasks to add in the Workflow

  • Settings Selected task settings

A task settings vary depending on its type. To select a DataChain item click on Select then select the item from the list.
To edit an item already selected, click on Edit.

You can see detailed information about the selected item in the menu on the right.
To see the item’s page in DataChain, click on the ID number in the grey box.

ID hover

If the instance is unreachable, if the DataChain element is deleted, or if the user does not have sufficient rights, this information is inaccessible and the following message is displayed next to the identifier:

Element DataChain inaccessible

Tasks removed from the Pipeline’s Workflow will no longer be executed.
A deleted task is still visible from the execution history, but it is no longer possible to access its execution log.