SAP BTP 上 workflow 和 Business Service 的 project 管理
官网地址: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,则需要走审批流程:
更多Jerry的原创文章,尽在:“汪子熙”:
相关文章
- SAP Fiori Elements 开发环境的搭建和开发准备工作试读版
- SAP UI5 应用开发教程之七十二 - SAP UI5 页面路由的动画效果设置试读版
- 如何使用参数调用SAP UI5的bingAggregation
- SAP UI5 datajs.js response handling
- 通俗易懂的 SAP ABAP 会话管理(Session Management)概念讲解,包含具体的实例试读版
- 如何为部署到 SAP BTP 平台上的 Node.js 应用提供Authorization 和 Trust 管理 - 权限管控
- 关于SAP S/4HANA里ABAP源代码管理功能的增强
- 使用SAP CDS view快速创建一个Fiori应用,管理Service Order
- ABAP Netweaver和SAP Hybris的内存管理
- SAP CRM的状态管理和权限控制的集成
- 如何在SAP gateway系统配置路由到后台系统的OData服务路径
- SAP OData的CSRF token在ABAP Netweaver服务器上是怎么生成的
- SAP ABAP Netweaver Note download debug
- SAP Spartacus 学习资料汇总
- SAP CRM呼叫中心里的事件注册机制
- SAP BTP 平台 Cloud Application Programming 编程模型概述
- 如何为部署到 SAP BTP 平台上的 Node.js 应用提供Authorization 和 Trust 管理 - 权限管控
- 在 SAP Gateway Demo System ES5 申请用户遇到问题该怎么处理
- 把SAP Analytics Cloud嵌入到SAP Cloud for Customer系统里
- SAP Marketing Cloud功能简述(五) : 销售计划管理
- SAP UI5 初学者教程之十 - 什么是 SAP UI5 应用的描述符 Descriptor 试读版
- SAP ABAP OData 服务如何支持删除(Delete)操作试读版
- 云图说|高效管理华为云SAP的“秘密武器”