Reading set of variables from external file
Posted: Tue Feb 20, 2018 1:59 pm
Hi, Steipal!
Thank's a lot for 0.9.0 coming in time!
I see you have implemented bunch of functions including $read(), to set any user variable in a workflow's context.
It will be great if there is a special processor to read set of variables from a config file at once. It could parse INI, JSON or XML format.
The main difference from "Populate Variables" processor is that the list of variables to be initialized depends on the content of config file, not the processor settings. I think, it's possible to combine $read() and $regexp() invokes to make parsing of config file, but eventually it will set up only variables predefined in the processor.
May be I miss something and it's already implemented?
Thank's a lot for 0.9.0 coming in time!
I see you have implemented bunch of functions including $read(), to set any user variable in a workflow's context.
It will be great if there is a special processor to read set of variables from a config file at once. It could parse INI, JSON or XML format.
The main difference from "Populate Variables" processor is that the list of variables to be initialized depends on the content of config file, not the processor settings. I think, it's possible to combine $read() and $regexp() invokes to make parsing of config file, but eventually it will set up only variables predefined in the processor.
May be I miss something and it's already implemented?