Time Selection
The orchestration capability varies depending on the time. That is, the holiday time of each region may be different. During flow orchestration, perform different orchestration operations based on the holidays and working days.
Diagram Element
Parameter Description
- Node Name: name of a node.
- Description: details of a node.
- Week Selection: Select the working days of a week.
- Service Period: Select the start working time and end working time.
- Specified Service Date: Specify one or more dates as working dates.
- Specified Non-service Date: Specify one or more dates as non-working dates.
The time zone is that set by the system administrator when the tenant space is created. If the time zone is not set when the tenant space is created, the value of the built-in variable timezone is used.
The configuration priority is as follows: Specified Non-service Date > Specified Service Date > Week Selection.
Condition Branch Description
Condition Branch |
Description |
Usage |
---|---|---|
NON_SPECIFIC_TIME |
Non-working time |
Triggered when the current time is non-working time. |
SYSERROR_INNER |
ODFS internal error |
Triggered when an unknown error occurs in the ODFS. If no option is selected, the flow goes to the exception handling flow. |
Using the Diagram Element
The holiday time of each region may be different. During flow orchestration, perform different orchestration operations based on the holidays and workdays.
Click the diagram element or drag it to the canvas, and set parameters based on the parameter description.
Typical Application Scenario
The following describes how to use the Time Selection diagram element to determine whether the current time is working time for subsequent business handling.
- Sign in to the AICC and choose .
- Configure an intelligent robot.
- Choose and click New to add a simple flow.
- Click + in the Flow Variable area. In the dialog box that is displayed, set the variable name and data type.
Figure 1 Flow variable to be added
Figure 2 Flow orchestration example (Time Selection diagram element)
Figure 3 Referencing a work calendar template
For the Robot Reply diagram element, set Reply Variable to FLOW.response to reply to the customer with "The current time is working time. What kind of business do you want?" if the current time is working time.
- Save and publish the flow.
- Choose and bind the flow to a robot.
- Choose
. In the last column corresponding to the robot, click Test Call.
In the test dialog box that is displayed, click Start Call to test the robot. If the robot replies based on whether the current time is working time, the configuration is successful.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot