Parametrized File #
In this example, we will update the Parametrized Filter Process.
- Recreate and open the Parametrized Filter Process.
- 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/{datetime.now().strftime("%d-%m-%y_%H:%M:%S")}.xlsx'
- Name -
- Modify the Excel Target Node
by choosing the
current_excel_file
Parameter as thePath
.
- Save the Workflow and run the Process twice and see if two files were created in the Resources section.