Skip to main content
December 4, 2025
Solved

Databuffer not working in an WS Assembly rule but is working in a Business Rule

  • December 4, 2025
  • 2 replies
  • 1 view

Hi,

I ran into an issue that a data buffer rule does not work in a workspace assembly but does work in the Business Rules area.  The data buffer rule is the one found in this forum topic and is relatively simple.  See link.

Question: Is there an option to clear non-calculated data in a “bulk” (as known from hs.clear) other than looping through the data buffer and use “SetDataCell” (which has a higher performance impact)? The “ClearCalculatedData“ is not impacting input/imported data – right? | OneStream Community

I have this rule in an existing custom calculate rule in the assembly and the rule fails to get the source data buffer.  I take this same rule and include it in a new Business Rule and it runs fine.

Rules that work in the business rules should work in assemblies also.

 

Best answer by Montreux

The destination data buffer needed the View (e.g. V#YTD) to be set.  I didn't realize the View was required.  My POV pane's View was set to Annotation which I understand is what the data buffer looks to if a dimension is not set in the rule (or Data Management Step POV).  The rule works now.

2 replies

December 5, 2025

Calculation Rules that work in business rules *do* work in assemblies too - they might just need a bit more context. If you post it, people might find what is missing.

MontreuxAuthorAnswer
December 16, 2025

The destination data buffer needed the View (e.g. V#YTD) to be set.  I didn't realize the View was required.  My POV pane's View was set to Annotation which I understand is what the data buffer looks to if a dimension is not set in the rule (or Data Management Step POV).  The rule works now.