当前位置:网站首页>SAP BTP 上 workflow 和 Business Service 的 project 管理
SAP BTP 上 workflow 和 Business Service 的 project 管理
2022-06-11 18:18:00 【华为云】
官网地址:https://developers.sap.com/tutorials/cp-cf-businessrules04-create-project.html
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/tutorials/cp-cf-businessrules05-dataobjects.html

创建 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,则需要走审批流程:

边栏推荐
猜你喜欢

On the sequence traversal of binary tree Ⅱ

Niu Ke's question -- finding the least common multiple

Async leads to unexpected function results and changes the intention of the original code; await is only valid in async functions and the top level bodies of modules

全志科技T3開發板(4核ARM Cortex-A7)——MQTT通信協議案例
![[C语言]用结构体把最高分的学生输出,可有多个最高分](/img/4e/836a8f717a2d9bf5f999a934ff4c91.png)
[C语言]用结构体把最高分的学生输出,可有多个最高分

* Jetpack 笔记 使用DataBinding

软件测试技术复习
![[C语言]用结构体按分数高低降序输出学生的姓名和分数](/img/41/b9dba88941560b296f4d7153b7c684.png)
[C语言]用结构体按分数高低降序输出学生的姓名和分数

Use egg Js+mongodb simple implementation of curdapi

力扣23题,合并K个升序链表
随机推荐
全志科技T3開發板(4核ARM Cortex-A7)——MQTT通信協議案例
非递归实现二叉树的前、中、后序遍历
Ubuntu installs PSQL and runs related commands
IEDA 底层菜单菜单简介
SA token single sign on SSO mode 2 URL redirection propagation session example
信号的处理与捕捉
VIM common commands
. Net core redis hyperloglog type
了解一下random库·1
求字符串中最大的 3 位相同数字
Use egg Js+mongodb simple implementation of curdapi
金融银行_催收系统简介
全志科技T3开发板(4核ARM Cortex-A7)——MQTT通信协议案例
System learning typescript (V) - joint type
[C语言]用结构体把输入的指定分数范围内的学生输出
[untitled]
Quanzhi technology T3 development board (4-core arm cortex-a7) - video development case
labelme进行图片数据标注
LDAP 目录服务器的现代化应用
MySQL/Redis 常见面试题汇总