cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Workflow Management Business Rule's Rulesets Capability available in BPA?

ck_t2020
Discoverer
137

Dear All,

Using SAP Workflow Management's Business Rules Capability, we've created project which contains rules (e.g. R1, R2, R3, R4, R5, etc), rulesets, etc. For each ruleset, we setup sequential execution of rules. In other words, a single rule is consumed by multiple rulesets, which is then used in multiple rule services. For example, ruleset1 contains R2, R4 and R5; ruleset2 contains R1, R2, R3 and R4. 

please advise whether the above ruleset capability can be found in SAP Build Process Automation. If no, is there any workaround. Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

CedVer
Discoverer
0 Kudos

Hi @ck_t2020 

In SBPA it is possible to create a decision with multiple Decision Tables or Text Rules. 
I recommend to use variables to store the results of your Decision Tables and then via a Text Rule provide the correct output. 

Reusing Decision Tables in different Decisions is not possible. 

Could you motivate why you want to reuse a Decision Table?
Couldn't you simple create a Decision, and just reuse it? 

ck_t2020
Discoverer
0 Kudos

We're trying to reuse the business rule. For example, common business rule such as product classification, approval limit, etc can be applied to multiple scenarios. In other words, the result of product classification rule can be used across different decision tables.

With SAP Workflow Management, business rules capability, we created different rulesets:

Ruleset1: R1 (product classification) -> R2 

Ruleset2: R1 (product classification) -> R3

CedVer
Discoverer
0 Kudos
The way I see it, you could: 1) Define one big Decision Rule with a main text rule. - You pass different parameters where you indicate which Decision Tables you want to run. - With using internal variables, you could store the responses. (Data Type should be compatible) 2) Define every rule as a Decision Rule, and retrieve it's responses via API.