Standard UBAQ on SysTask, Add a calculated field and a pre-processing directive on update.
Calculated field value is set to SysTask.History (So you can just flip the bit on or off)
var resultQuery = queryResultDataset.Results.Where(row => !string.IsNullOrEmpty(row.RowMod));
foreach (var ttResult in resultQuery)
{
ttResult.SysTask_History = ttResult.Calculated_Poof;
}
SysTaskMaintenance.baq (34.0 KB)