Customizing an Existing Flow
Scenario
In the following scenarios, you can create a flow based on an existing flow:
- Scenario 1: Creating a version based on an existing flow
If you need to change the flow functions, modify the original flow and save it as a new version. In this scenario, the original flow automatically becomes invalid.
- Scenario 2: Creating a flow based on an existing flow
You can modify an existing flow and save it as a new flow. In this scenario, the original flow is still valid. The new and old flows are independent of each other.
Creating a Version Based on an Existing Flow
If you need to change the flow functions, modify the original flow and save it as a new version. In this scenario, the original flow automatically becomes invalid.
- Log in to the application designer by referring to Logging In to the Application Designer.
- In the navigation pane, choose Logic.
- Move the cursor to
of the corresponding flow and choose Edit. The flow design page is displayed.
- In the upper part of the flow design page, click
.
- Set Type to New Version, set the flow label, and click Save.
Figure 1 Saving a flow as a new version
Table 1 Parameters for saving a flow as a new version Parameter
Description
Label
Flow label of the new version, which is displayed on the page and can be modified after being created.
Value: 1–64 characters.
Name
Flow name, which must be the same as that in the baseline version and cannot be changed.
Type
Select a type from the drop-down list.
- New Version: A new version of the flow is created based on the original flow. After the creation, the original flow automatically becomes invalid.
- New Flow: A new flow is created based on the original flow. After the new flow is created, the original flow is still valid. The new and old flows are independent of each other.
Default value: New Version. Use the default value.
Flow Type
The value is inherited from the type configured during basic flow and is uneditable.
Interview Label
Display label of the flow instance, which is automatically set by the system to Label value {!$Flow.CurrentDateTime}. After the setting, click the blank area on the flow design page and click
. The label is displayed in the basic information area.
Description
Description of the new version.
Value: 1–255 characters.
- On the flow design page, customize and modify the flow.
On the flow design page, the current version of the flow is 1.0.2, which is automatically incremented by 1 from the previous version.Figure 2 Flow of the new version
- After the configuration is complete, click
in the upper part of the page to save the flow.
- Click
to run the flow and check whether the running result meets your expectation.
- Click
in the upper part of the editor to activate the flow of the new version.
In this mode, when the baseline version is upgraded, the system automatically enables and uses the customized flow. The original diagram elements in the baseline flow are updated due to the upgrade, and the customized flow inherits these changes. However, the customized flow does not inherit any new diagram elements added to the baseline flow as a result of the upgrade.
Creating a Flow Based on an Existing Flow
You can modify an existing flow and save it as a new flow. In this scenario, the original flow is still valid. The new and old flows are independent of each other.
- Log in to the application designer by referring to Logging In to the Application Designer.
- In the navigation pane, choose Logic.
- Move the cursor to
of the corresponding flow and choose Edit. The flow design page is displayed.
- In the upper part of the flow design page, click
.
- Set Type to New Flow, set the flow label, and click Save.
Figure 3 Saving as a new flow
- On the flow design page, customize and modify the flow.
On the flow design page, the new flow is displayed and the version is 1.0.1.
Figure 4 Editing the content of the new flow - Click
in the upper part of the page to save the flow.
- Click
to run the flow and check whether the running result meets your expectation.
- If the flow meets your expectation, click
in the upper part of the page to activate the flow.
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