Skip to content

Commit 40a9f7f

Browse files
Merge branch 'sap-tutorials:master' into master
2 parents 871da7d + 39b8098 commit 40a9f7f

5 files changed

Lines changed: 8 additions & 30 deletions

File tree

-123 KB
Binary file not shown.
-45.8 KB
Binary file not shown.
-176 KB
Binary file not shown.

tutorials/spa-create-decision/spa-create-decision.md

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -144,31 +144,9 @@ First add this newly created data object as the decision output:
144144

145145
You can use the Settings option to easily define these If and Then header expressions with inline suggestions or free-flow typing.
146146

147-
9. Lets define the **Decision Table Settings**. Choose **Settings**.
147+
9. In the newly created *Decision Table*, do the following to add values to condition and result columns:
148148

149-
!![Decision Table](08-decision-table.png).
150-
151-
10. The **Condition Expressions** need labels, maintain **Shipping Country** for **Shipping Country** condition and **Order Amount** for **Order Amount** condition.
152-
153-
This will be what business users see when they are editing the decision rows.
154-
155-
11. Choose **Apply** to configure the decision table with selected condition and result columns.
156-
157-
!![Decision Table Settings](decision-table-settings.png)
158-
159-
> You will notice *Access* column as the result properties. When you set access as *Hidden*, the respective column will not be seen during rule modelling or modifying decision table.
160-
161-
The settings are done, **Condition Expressions**, **Label** as well as **Result** are defined.
162-
163-
This completes defining the decision table structure where a decision table is created with two header columns based on Sales Order fields and two result columns based on Approver, as defined in the decision table settings dialog:
164-
165-
!![02-019](02-019.png)
166-
167-
After setting the decision table structure – which defines the If and Then expressions – you will fill the decision table rows with values. The rule is then evaluated as: If Shipping Country = 'United Kingdom, India, Germany' then return Email = `someuser@domain.com` and `UserGroup` = `SO_APPROVER`.
168-
169-
12. In the newly created *Decision Table*, do the following to add values to condition and result columns:
170-
171-
13. For the **Shipping Country** (first column) you will now add the expression value using *rule expression language*.
149+
10. For the **Determine Approver Input.shippingCountry** (first column) you will now add the expression value using *rule expression language*.
172150
- Choose the input text box.
173151
- Copy and paste this expression in the input box: **EXISTSIN ['United Kingdom' , 'India' , 'Germany']**
174152

@@ -192,11 +170,11 @@ First add this newly created data object as the decision output:
192170

193171
> Remember that for all String type data object attributes, you must add a single quote (') before and after the text.
194172
195-
14. Choose the input field of **Order Amount** column (second column of the decision table) and enter **<= 100000**.
173+
11. Choose the input field of **Order Amount** column (second column of the decision table) and enter **<= 100000**.
196174

197175
!![02-022](02-022.png)
198176

199-
15. Similarly, enter the following expressions for the respective result column (or **Then** section):
177+
12. Similarly, enter the following expressions for the respective result column (or **Then** section):
200178

201179
| Result Column | Expression
202180
| :------------- | :-------------
@@ -211,14 +189,14 @@ First add this newly created data object as the decision output:
211189

212190
So, for example, for all sales orders coming from India, Germany, or the United Kingdom (the defined shipping countries) which have a value smaller or equal than 100,000 – the first row will run. For all other sales orders, whose value is greater than 100000, the second row will return; and for any other combination that does not match the rows – an empty result will be returned.
213191

214-
16. To add a new row to the decision table, do the following:
192+
13. To add a new row to the decision table, do the following:
215193
- Choose the check-box of the first row.
216194
- Choose **Add Row**.
217195
- From the dropdown options, select **Insert After**.
218196

219197
!![02-024](02-024.png)
220198

221-
17. Similarly, enter the following values for the new row:
199+
14. Similarly, enter the following values for the new row:
222200

223201
| Condition Column | Value
224202
| :------------- | :-------------
@@ -230,7 +208,7 @@ First add this newly created data object as the decision output:
230208
| `UserGroup` | `SO_MGMNT`
231209
| `Email` | `your user email`|
232210

233-
18. Choose **Save**.
211+
15. Choose **Save**.
234212

235213
> Save will both save and activate the decision table. If there are any validation issues in the decision table, then Save will not happen and the errors will be shown in the **Design Console**
236214

tutorials/spa-setup-desktop-agent/spa-setup-desktop-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author_name: Chaitanya Priya Puvvada
33
author_profile: https://github.com/chaitanya-priya-puvvada
44
title: Install and Set Up the Desktop Agent
5-
description: Install and setup the Desktop Agent to run your automation
5+
description: Install and Set Up the Desktop Agent to run your automation
66
auto_validation: true
77
time: 15
88
tags: [ tutorial>beginner, software-product>sap-business-technology-platform]

0 commit comments

Comments
 (0)