Parametrized File

Parametrized File #

In this example, we will update the Parametrized Filter Process.

  1. Recreate and open the Parametrized Filter Process.

  1. Add a new Parameter as follows:
    • Name - current_excel_file
    • Evaluation type - Script
    • Value type - string
    • Value:
    def script():
        from datetime import datetime
        return f'excels/{"%d-%m-%y_%H:%M:%S")}.xlsx'

  1. Save the Parameter and open the Filter Data Workflow.

  1. Modify the Excel Target Node by choosing the current_excel_file Parameter as the Path.

  1. Save the Workflow and run the Process twice and see if two files were created in the Resources section.