Managing BPMs in Applications
The platform has developed its own Business Process Management (BPM) system based on the BPMN 2.0 industry specifications for modeling business processes. The function within this service that drives the execution of processes is known as the BPM engine. In the environment configuration page, you can manage all BPMs of an account, including viewing, enabling, disabling, and running BPMs.
Constraints
This menu is displayed only in the sandbox environment and production environment. Operations in the sandbox environment are identical to those in the production environment. This section uses the production environment as an example.
Managing BPMs
- On the Huawei Cloud Astro Zero console, click Manage Runtime Environment of the purchased commercial instance to access the production environment.
- Choose Maintenance from the main menu.
- In the navigation pane, choose Global Elements > BPM.
- On the BPM page, you can view all BPMs created by the account in the current environment.
- Click
next to the table heading to sort BPMs. In the Operation column, you can disable, enable, or delete BPMs.
Table 1 Description of the BPM page Parameter
Description
Model Name
BPM name, that is, the name configured when the BPM is created.
Compilation Status
BPM compilation status.
- Pass: Pass. That is, after the BPM is saved, no error or warning is reported during compilation.
- Warning: indicates that a warning is generated during compilation after the BPM is saved.
Enable
Indicates whether the BPM is enabled.
Type
BPM type.
Last Modified By
Name of the user who modifies the BPM last time.
Last Modified At
Last time when the BPM is modified.
Operation
- Click
to enable the BPM.
- Click
to disable the BPM.
- Click
to delete the BPM. If this button is dimmed, the BPM cannot be deleted, and the preconfigured BPM cannot be deleted.
- On the BPM tab page, click a BPM name to view its details.
Table 2 Description of the BPM Details Page Parameter
Description
Click this button to execute the BPM. If the BPM has multiple versions, the BPM in the enabled state is executed. If multiple versions are not enabled, the BPM of the latest version is executed.
Name
BPM name, that is, the name configured when the BPM is created.
Label
Label of the BPM instance.
Label configured during BPM creation. You can click the edit button to modify the label.
Belonging App/BO
App or BO to which a BPM belongs.
Enable
Indicates whether the BPM is enabled.
Version
BPM version. If there are multiple BPM versions, the BPM versions in the enabled state are displayed. If multiple versions are not enabled, the latest version is displayed.
URL
Partial URL of the BPM.
Visibility
Indicates whether the BPM is visible.
Overridable
Whether a resource can be customized as a new version, imported to an add-on application, or saved as a new version if it already exists in an add-on application.
This parameter is selected by default. When it is not selected, the description is as follows:
- When you customize a new version based on the resource, the following error message is displayed: XXX
does not support the customization of a new version. Check the basic properties and confirm whether the asset can be overwritten.
- The resource cannot be imported to the add-on application.
- If the resource has been imported to the add-on application, the new version cannot be customized.
Description
BPM description.
Click the edit button to modify the information. You are advised to enter the BPM function.
Parameter
This area displays the parameters defined in the BPM editor, including the parameter name, data type, whether the parameter is a set, and description.
If the BPM has multiple versions, the parameters of the BPM that is enabled are displayed. If multiple versions are not enabled, the parameters of the BPM of the latest version are displayed.
Version
This area displays all versions of a script. Compared with the BPM tab page, the table heading in the list has multiple version columns. The meanings of other table headings are the same. Click
next to the corresponding version to run the BPM.
- When you customize a new version based on the resource, the following error message is displayed: XXX
- On the BPM Instances tab page, you can view the BPM instances that are running in the system under the account in the current environment.
Each time a BPM is run, the system generates a BPM instance and assigns an instance ID to the instance to identify the instance. After the BPM running is complete, the system automatically deletes the instance ID.
Table 3 Description of the BPM Running Instance Page Parameter
Description
InstanceId
When a BPM is running, the system assigns an instance ID to the running instance to identify the running BPM instance.
Status
Running status of an instance.
Model Name
Name configured when a BPM is created. The name consists of the BPM name and the version of the running BPM.
Current Element
Diagram element where the BPM instance is running.
Created By
User name for running the BPM instance.
Creation Time
Time when the BPM starts to run.
Last Modified By
User who last modified the script.
Last Modified At
Time when the script was last modified.
Operation
Operation that can be performed on a BPM instance, for example, deleting a BPM instance.
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