I am encountering a very strange problem.
Here is a snapshot of a data table.
The column for Submissions is defined with a formula of COUNT([Related Submissions])
The column for SubUnits is defined with a formula of SUM(Related Submissions][WUG]) where [WUG] stands for Work Units Given and is a Decimal value.
I am lead to believe that whenever a record is updated in this table that any formula fields are recalculated and their new values are written to the table.
I am forcing this recalculation by using an Action to write the current date and time, NOW(), to the [ItemLastChange] column.
This Action is called from a Bot that fires whenever a record in the [Related SubmissionsForm] record gets Added or Updated.
Here is the Bot
The part of the Bot that calls the Action to Update the Row with NOW() is the âRecalc WorkItem Totalsâ step. As you can see, this step and the other 2 below it will always run no matter what the Conditional part of the bot does.
I have been testing this for hours and watching the sheet update as the bot performs. I have noticed that whenever NEW rows are added to the [Related Submissions] table that the formulas to calculate COUNT and SUM update fine. Howver, when an UPDATE to an existing row in the [Related Submissions] table happens, the formulas update 50 percent of the time with the other 50 percent where they write BLANK values to the columns as you can see in the given snapshot of the table.
I have checked the Bot Monitor, the Performance Analyser and the Audit Logs and there are no errors reported.
Can somebody enlighten me?


