Salesforce Certified Marketing Cloud Administrator — Question 15
A Marketing Cloud admin has noticed a File Drop Automation has been failing on the Import File activity. The automation is configured with a filename pattern, so the filename is expected to begin with customer_import_. The import is configured to look for a file named customer _import_%% Year%%%%Month%%%%Day%%.csv, however, the admin notices the filenames include seconds and milliseconds.
How should the admin fix the issue?
Answer options
- A. Use %%6Filename_From_Trigger%% in the Import File Activity
- B. Use %%_DataSourceName%% in the Import File Activity
- C. Use the exact filename used for the trigger in the Import File Activity
Correct answer: A
Explanation
The correct answer is A, as using %%6Filename_From_Trigger%% allows the automation to dynamically reference the filename from the trigger event, accommodating for any additional characters like seconds and milliseconds. Options B and C are incorrect because using %%_DataSourceName%% does not address the filename pattern issue, and applying the exact filename would not work since the filenames vary with time-sensitive data.