write(to:)
Writes the workflow to the specified file.
Declaration
func write(to fileURL: URL) throwsParameters
- fileURL:
URL that specifies the file location to write the workflow.
Discussion
You might want to save the workflow, for example, because you have made changes to a variable it contains.