I'm trying to collect step information of configuration, and I'm recording the duration of certain steps. According to the API, "step.getDuration()" returns the value.
I've tried to use this function during the step is running, and within "post-execution action". It always display null. How should I access the duration of a step?
In addition, if I have disabled steps in a config, and I still want to record their status, such as "it's skipped", that'a all. But I know that no script, no matter pre-execution or post-execution action, will get executed. Even the step status ENUM doesn't have a SKIPPED status. Is it possible that I can record it?