Skip to main content

 

I try to find out how i pass attribute values assigned during runtime to the shutdown script.

I want to pass values of total features read and written from the feature reader\\writer.

I have tried to create private parameters and set the values in runtime with the attribute manager. But the values are <null> / not set when i fetch them in my python script

 

imageimageThis is the value I am tying to set my private parameter as.

I feel somehow this is the wrong way to do it? What other ways can I set dynamic values that I can use in my shutdown script for logging.

It's not possible to change parameter values once the workspace has started. Also, unfortunately there is no obvious mechanism for transferring attribute values from the running workspace to the shutdown script. The easiest is to use a PythonCaller in your workspace to set a global variable, then retrieve it in the shutdown script.


I see, thank you for the help I will give that a go


Reply