MigrationTask with executing condition

Hi,

I am changing something from one data structure to another. Its migration logic reads data from the old source to build new data and then drops the old data.

My wish is to migrate the data in one Task and drop the old structure in another. The deleting task should only be performed if the previous tasks are completed successfully. If the condition has not matched, the Task will stay open and be triggered later. It is only marked as executed if it did its migration job.

Although A12 has supported executing the order, I do not find that it supports executing with conditions. “Condition” here can be “no error from the previous tasks” or “conditions about data status, such as connecting to the DB and judging true or false”.

Now, I can combine all the steps into one Task. But the code would be too long, and things would be highly dependent.

Thank you!

Hello,

which Component this is? I would guess worflows?