Function Backed Column Update Frequency

Hi Team,

I have an object table that involves a function backed column. The object table consists of objects of type A which do not update very often. The function returns a number based on computations using Object type B’s properties where Object type B is some other object which has some connections (conceptually; not ontology links) to Object type A. Object type B updates very often. Will my function backed column update whenever object type B updates?

Somebody please correct me if I’m wrong, but I think it depends on how object B is being updated.

I don’t think workshop is able to listen for changes to the ontology from other apps, object syncs, etc. It will, however, update if you submit an action that updates the ontology from the workshop app itself.

This only applies to a single instance of the workshop app e.g. if someone else submits an action on the app, your view of the app will not update simultaneously.

Workshop does support auto-refresh based on outside updates. Thus, things such as new data ingestion, other users executing actions, etc, will refresh your workshop module based on which objectsets you listen for.

One thing that might not support your use case @dramesh is that your ObjectTypeB is not visible in the module since it is derived in the function. Are you using B anywhere else in the module and can thus add the objectset as an auto-refreshing objectset? If you can, any change to B will refresh the entire workshop module and thus your function backed columns.

Like @kfjensen mentioned the object types that are watched in a Workshop module are explicitly defined in the Module settings, once we detect an update to one of the watched object sets the whole module will refresh and not just the watched object sets.

1 Like