"Parameter 'ResultFloatFunction' Link Depth Exceeded" in Business Process Calculation
12:08 Feb 24, 2025
Hi everyone,
I'm facing an issue while trying to calculate the total expense amount for an Idea in Creatio using a business process. My process is triggered when an Idea Expense record is added, modified, or deleted. The goal is to sum all Expense Amounts related to an Idea and update the Idea Expenses Total Amount field in the Ideas object.
Data Structure:
- Idea Expenses Total Amount is stored in the Ideas object.
- Expense Amount is stored in the Idea Expenses object.
Current Setup:
- Triggers:
- Triggered when an expense record is added, modified, or deleted.
- Read Related Idea (First Read Block):
- Reads the Idea Expenses record where
Id = Trigger-added.Unique identifier of record
. - Retrieves the Related Idea field.
- Reads the Idea Expenses record where
- Read Idea (Second Read Block, SUM Calculation):
- Reads all Idea Expenses related to the retrieved
Related Idea
. - Applies a SUM function on the Expense Amount field.
- Reads all Idea Expenses related to the retrieved
- Modify Data (Final Step):
- Updates the Idea Expenses Total Amount in the Ideas object.
- Condition:
Id = Read Related Idea.First item of resulting collection.Related Idea
. - New Value:
Read Idea.Function result (SUM of Expense Amount)
.
- Issue Faced:
- Error Message:
"Parameter 'ResultFloatFunction' link depth exceeded."
- Despite configuring the Read and Modify blocks correctly, the process keeps failing.
- The Idea Expenses Total Amount field is visible on the Ideas list page, but not in the form (not sure if that affects calculations).
What I’ve Tried: - -Ensured all fields are of decimal type for calculations.
- -Verified correct data references between Read and Modify steps.
- -Confirmed that Idea Expenses Total Amount is available under the Ideas object, while ---Expense Amount is under the Idea Expenses object.
- -Tried setting a static value (100) in the Modify Data step to check if the update works.
kindly help. Attached images as well.
Like
0 comments