Skip to main content
Member
Jul 21, 2025 1:51 PM UTC
Question

Execute Custom Calculate BusinessRule - Server Timout

Dear community,

We are using a Dashboard Extender Rule to trigger a ExecuteCustomCalculateBusinessRule.
The business rule that we are running is a finance business rule that contains databuffer formula's.

Since we can only run a finance business rule for one entity, we have created a MemberList that is running the Finance Rule each time for one of the 1500 legal entities that we have.

This caused a Server Timer Out error.

Do you know if  the ExecuteCustomCalculateBusinessRule runs for each entity separately or for multiple entities in Parallel that is  causing this TimeOut?

 

3 replies

Member
Jul 21, 2025 2:08 PM UTC

Isn't that running a DM sequence?

DM sequence does it as a dataunit. Check if the data units are sparse or not. 

Member
Jul 21, 2025 2:13 PM UTC

We are running it via an extender rule, not via a DM sequence, because we are using a lot of parameters that are used in the data buffers. 

In the ExecuteCustomCalculateBusinessRule we specify a dictionary for the data unit.

 

Member
Jul 23, 2025 3:13 PM UTC

That could be your issue; Brapi uses the database, so not sure why that approach is taken. You can still pass parameters to a DM sequence even if it is started from a dashboard extender. 

You create a dictionary of your parameters in your DM sequence as keys and the values that you want to use for them, and call executeDMSequence with that dictionary.