To achieve your goal of dynamically generating filenames with the current date in an ADF Data Flow Sink, you need to use an expression that correctly retrieves the current UTC date and formats it. Unfortunately, in ADF Data Flow expressions, utcNow()
and formatDateTime()
are not directly available like in pipelines. However, you can use the ADF functions within the Sink transformation.
You can use the toString()
function with the currentDate()
function to format the current date.
concat('out_', toString(currentDate(), 'yyyyMMdd'), '.csv')