QuestionQ23

VerifiedMaintenance

A Marketing Cloud admin notices that a File Drop Automation is failing at the Import File activity. The automation uses a filename pattern, so the filename is expected to start with customer_import_. The import is configured to find a file named customer_import_%%Year%%%%Month%%%%Day%%.csv; however, the admin observes that the filenames also include seconds and milliseconds.

How should the admin resolve the issue?

Explanation

In a file drop automation, %%FILENAME_FROM_TRIGGER%% resolves to the actual filename of the file that triggered the automation. Using it in the Import File activity avoids a mismatch caused by a date-only naming pattern when the triggering filename contains additional timestamp components, such as seconds and milliseconds.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!