choose between two recipe based upon dataiku variable

pritam003
Level 2
choose between two recipe based upon dataiku variable

Hi team

need help to implement this 

 

there is a input dataset say X, and there is a dataiku Variable called FLAG
so now if the value of FLAG is True, the input dataset go to a Join recipe
and If the FLAG is False, the input dataset should go to a sync recipe.

 

Thanks in advance

0 Kudos
1 Reply
Manuel
Dataiker Alumni

Hi,

It would be good to understand the business problem you are trying to solve really.

Since you seem to be trying to implement automatic behaviour, you can implement your request with scenarios:

- Set your Flag in an editable dataset;

- Create two different scenarios with SQL triggers, with exclusive conditions;

- Each scenario builds a different dataset (the output of the join or the output of the sync).

I hope this helps.

Best regards

0 Kudos