AnkitaK37270321
Tera Contributor

Hello, yes that where im loading it from, the flow that i want to execute is also set to run on the same staging table on creation of records, then why is it not running?

 

You mean to say @AnkitaK37270321  that flow is expected to run when you insert the record in staging table. 

 

Are records getting inserted in staging table? and the staging table is extended from import set table ?

 

Thanks,
Bhimashankar H

 

-------------------------------------------------------------------------------------------------
If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. Thanks!

AnkitaK37270321
Tera Contributor

yes that's correct.

Hi @AnkitaK37270321 ,

 

setWorkflow(true) will only run flows on target table not on staging table. The run script is when you are transforming data from staging to target table.

 

It is not best practice to run flows on staging table, it is just to ensure the data is in form to transform to target table.

 

Thanks,
Bhimashankar H

 

-------------------------------------------------------------------------------------------------
If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. Thanks!

Hi @AnkitaK37270321 ,


If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. It will help future readers as well having similar kind of questions and close the thread.

Thanks,
Bhimashankar H