Dynamic File Naming in Report Job
Use CaseThe output file name can be built dynamically using tokens. Tokens are replaced with real values when the job is executed, so the generated file can include information such as the reporting period or the current date.
File name with reporting period
{
"FileName": "Productivity_Report_{Report.Period}.xlsx"
}
File name with current date
{
"FileName": "Report_{CurrentDate}.xlsx"
}
File name with reporting period and current date
{
"FileName": "{Report.Period}_Report_{CurrentDate}.xlsx"
}
File name with multiple words and multiple dynamic tokens
{
"FileName": "Monthly_Employees_Attendance_Report_{Report.Period}_{CurrentDate:yyyyMMdd}.xlsx"
}
Was this helpful?
