Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Launch a BusinessRule Template from Businessrule with multiple values for Designtimeprompt — Cloud Customer Connect
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

Received Response
11
Views
10
Comments
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!