ctx.files
object allow you to store files in local storage or in a remote storage depending on the run environment.
Write
You can use thewrite
method to write a file to the storage, It returns a string that can be used in other actions or triggers properties to reference the file.
Example:
This code will store the file in the database If the run environment is testing mode since it will be required to test other steps, other wise it will store it in the local temporary directory.
Property.File
in the properties section.