Introducing the "Final State" Activity
Table of Contents
1. Activity program name
System.Activities.Statements.State
2. Description
- Quick Access: Toolbox > System > State Machine > Final State
This activity is used when you want to end a state machine workflow.
Tested on akaBot Studio version 2.2.0.5
Note: There might be some differences in terms depending on the version.
3. Properties
Property category | Property name | Input field | Description |
---|---|---|---|
Others | Display Name | Any string | The display name of the activity shown on the design panel. |
4. How to use
The following is an example of how to use the "Final State" to determine if a day is a report creation day based on the day of the week. To use the "Final State," you need to place the State Machine and State activities.
First, drag and drop System > State Machine > State Machine into the designer panel.
Refer to this guide for details on how to place the State Machine.
To check the execution results, place "System" > "Original" > "Write Line," and set the necessary variables, etc.
In this example, enter "Report creationg date"
In the properties, enter the expression (in this example, day <> "Monday"
) in the "Other" > "Condition" section, and change the "DisplayName" from "T1" to "T2."
Note: The text in "DisplayName" can be changed to any string of your choice.
Return to the "State Machine" and double-click the second "Final State."
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article