I am new to Matillion, I want to start a SQL Script component every 04th of the month. I know this can be achieved with IF component but can someone help me how to to achieve this

I am new to Matillion, I want to start a SQL Script component every 04th of the month. I know this can be achieved with IF component but can someone help me how to to achieve this

Hello @balapradeep.ck

Welcome to the Matillion Community!

I wanted to share the documentation for IF Component that also has a brilliant video to aid in setting this up and the functionality it has, I hope this enables you to achieve what you have explained above, if not, pop back and we can take a closer look into this for you.

Kind regards, Joe

@JoeCommunityManager​ , IF component document doesnt provide solution for dates, the documentation is not useful in this case.

Hello @balapradeep.ck

I took your question offline and a member of our team proposed a solution, using a Query Result to Scalar to work out whether it is the right day and set a flag param accordingly.

Then test the param in the IF to decide whether to run the SQLscript component or to skip it.

I have added some further documentation for Query Result to Scalar.

Please do let me know how you get on please.

Kind regards, Joe