Overview
FROM
(source) and TO
(destination) fields for a particular file operation can be configured using variables.
Process
Enter the {variable name}
anywhere within the FROM
/ TO
field. The system will replace the {token}
on the value of the global variable with the same name.
Use one of the following methods to set global variables:
- Set global variables using script
- Database loop parameters
- File loop parameters
- Flow variables set at the flow level
- URL parameters in call-flow-by-name API
- URL parameters is user-defined API
Example
The real-life example would be copying a response from the web service to the file with a new name calculated as constant_{current_timestamp}.json
. The {current_timestamp}
is a global variable set using a JavaScript.
Comments
0 comments
Please sign in to leave a comment.