Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Launch a BusinessRule Template from Businessrule with multiple values for Designtimeprompt

in Planning 10 comments

Summary:

How to Launch a BusinessRule Template from Businessrule with multiple values for Designtimeprompt

Content (required):

We want to run a longer businessrule for the current OR the current and prior period (months) depending on certain criteria. To avoid duplication of code we decided to use a businessruletemplate, launch it from a businessrule with different values based on 1 substitutionvariable for the Designtimeprompt (DTS_Periods).

In the businessrule, I make some if-elseif checks ,if certain aggregation and values exist in previous period - if the aggregation is missing, I use a loop function to execute the businessrule-template, which calculates the prior and current period, if the prior period does not need calculation, I execute a the ruletemplate for the current period.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!