官网地址:https://developers.sap.com/tu…
A project is used to configure and manage the entities of business rules. Entities of business rules include data objects, rules, rule sets, and rule services. You can create projects in the Manage Rule Projects application, which can be accessed from the Workflow Management home screen.
咱们通过 project 来配置和治理 business rule 的实体,这些实体包含:
- 数据对象 data objects
- 规定 rules,规定汇合 rule sets
- 规定服务 rule service
新建一个 project,而后为其调配 Data object,Rule services,Ruleset 和具体的 rules:
Data objects are the building blocks of a project. It can hold the input as well as output information of a business rule.
数据对象是我的项目的构建组成部分。它能够保留业务规定的输出和输入信息。
In this tutorial, we will create data objects which hold the employee details and the details of the equipment assigned to the employee.
创立新的本地 data object:
给 data object 调配属性:
https://developers.sap.com/tu…
创立 value help 的办法:
Value help 的类型,抉择成 Value list:
手动保护 Value list 的 code 和 description:
A decision table rule is the collection of rule expressions in tabular format and sequentially executes each rule in the table.
决策表规定集是以表格格局保护的规定表达式的汇合,并按程序执行表中的每个规定。
A text rule is a decision logic in simple if-then format. The If condition of the text rule is evaluated by the system once the rule is triggered. Based on the result of the condition, the rule performs a set of operations.
创立 local rules:
创立一条新的 local rule:
点击设置按钮:
抉择后果数据结构,即 determine 进去的设施信息:
创立好的 decision table 如下图所示:
再插入一条决策规定:
最终后果:
再创立一条 text rule:
如果设施金额大于 80,则须要走审批流程:
更多 Jerry 的原创文章,尽在:” 汪子熙 ”: