feature property that holds a function result

Hi,

I want to add a property to a feature, that contains the result of a function.

In my case it should contain the min. distance to another feature.

Can this functionality set up via geospatial administrator (property watcher?)

or do I have to code a separate function, that puts the return values into the property.

Regards, Stefan.