This step creates the file tested for and processed by subsequent steps.
It makes use of the library flow lib-run-generic-script to simplify the code.
Besides the standard PSEC configuration parameters, the file psec-hello-cfg.json
is also used to pass in
parameters to the script execution code.
Since these are preloaded values, the Workflow needs to be restarted if these are changed (with an editor) using the //
key
sequence to restart the Workflow.
The target folder is the working directory of the create-flow
Task which is obtained at Task.execlocn.
The fully qualified name is stored in the globMap variable hung off of the Task.tfs object.
This example is for demonstration purposes. The global variable creFile
used to pass the file name to the subsequent tasks is
only populated when the Create File step is run. In a robust production ready situation the global variable would be populated
also at setup time which is a mechanism provided by the Workflow machinary.
Copyright © 2018-2021, 2022, Rexcel System Inc.