We need a global flag to set via API to force all data functions to execute in Synchronous mode in a document. This is neede for Automation where we loop on rows in a table plot, mark them one by one and we expect all data functions to update when row marking happens (related to case number: 01896903 ). Currently data functions wait until we finish the markings in the loop then they execute at the end.
We need a way to force datat functions to execute whenever the triggering event happens and not to wait until Spotfire gets Idle.
Could possibly be solved by using:
DataFunction.UpdateBehavior
DataFunction.NeedsRefresh
DataFunction.ExecuteSynchronously
E.g something like:
while(allDataFunctions.Any(d => d.UpdateBehavior == Auto && d.NeedsRefresh))
{
allDatafunctions.first(d => d.UpdateBehavior == Auto && d.NeedsRefresh).ExecuteSynchronously()
}