- PDF
Business Logic
- PDF
Article Overview
The following article describes the building blocks located under the Business Logic category.
Business Logic
(See Figure 1)
The Business Logic category includes three building blocks:
- Start
- Condition
- End
Figure 1: Business Logic
Start
(See Figure 2)
The Start building block allows you to indicate the starting point/s of your digital process. It contains the following fields and options:
- Source (required):
- Salesforce
- MS Dynamics
- Guidewire
- Direct Link
- Portal
- API
- Unique Identifier
- Webflow
- Role
- More Options dropdown:
- Brand - when the end-user clicks the link the process will appear with the assigned brand
- Theme Variant - when the end-user clicks the link the process will appear with the assigned theme variant
- Authentication
- Description
Figure 2: Start and More Options
Authentication
(See Figure 3)
The Authentication switch enables you to secure the Webflow link and restrict access to authenticated users only by using a One-Time Password (OTP). When the switch is toggled to on, the Edit Authentication window appears.
Figure 3: Adding Recipients
The window allows you to configure:
- The authentication method
- How to send the OTP:
- SMS
- Email and SMS (both required)
- Email or SMS
- Identification screen options
- Emails and SMSs are added by using Model data items and/or metadata items
- To learn about the different OTP options, click here.
Condition
(See Figure 4)
The Condition building block allows you to logically split the path of your process into different directions and scenarios. It contains the following fields and options:
- Add Label
- Edit Logic
- Description
Figure 4: Condition
Edit Logic
(See Figure 5 and Figure 6)
Clicking the Edit Logic button displays the Edit Logic window. In this window, you can create logical expressions that split and determine the path of the digital process.
Figure 5: Edit Logic Window
To create a logical expression, select if it will be triggered when its result is True or False. Then add the first condition and set its parameters:
- Selector - a Model data item or metadata item
- Comparison Operators:
- Equal to
- Is not
- Greater than
- Less than
- Is Empty
- Is Not Empty
- Value:
- Textual or numeric
- True or False in case the added Selector is a boolean-type data item
A logical expression can include more than one condition. After clicking the + Add condition button another condition row appears.
Figure 6: Logic with Multiple Conditions
When adding more than one condition it is mandatory to set the operation between them: And/Or.
End
(See Figure 7)
The End building block allows you to indicate when the process or one of its paths has ended. It contains the following fields and options:
- Add Label
- Description
Figure 7: End