3.3.2 Deleting a business process
This subsection describes the preconditions for deleting a business process deployed in the execution environment, and explains how to delete the business process.
Note that the series of processing to stop and delete the HCSC components from the HCSC server, can also be executed in the development environment in a batch. However, batch execution is performed during system development or from unit testing to integration testing. For details, see "7.6 Batch execution of processes for stopping HCSC components and deleting them from the HCSC server" in "Service Platform Basic Development Guide".
- Organization of this subsection
(1) Preconditions
To delete a business process, the following conditions must be satisfied:
-
The HCSC server is running
For details on how to check the status of the HCSC server, see "5.3.15 Checking the HCSC server information".
-
The business process is in a stopped state
For details on how to check the status of the business process, see "5.3.18 Checking the business process information".
(2) How to delete
To delete a business process, execute the csccompoundeploy command in the operating environment.
For details on the csccompoundeploy command, see "csccompoundeploy (Deleting the deployed HCSC components)" in "Service Platform Reference Guide".
The execution format of the command differs depending on whether all the business processes are deleted in a batch, or whether only the specified business process is deleted.
- Important note
-
If the business process cannot be deleted, eliminate the cause of the error, and then delete again.
(a) To delete all the business processes in a batch
Delete all the business processes on the HCSC server or cluster in a batch.
The execution format of the command differs depending on whether the business process is deleted from a single HCSC server, or all the HCSC servers configuring the cluster.
- To delete all the business processes from a single HCSC server
-
Execute the command by specifying the name of the HCSC server and the -all option.
All the business processes deployed on the HCSC server specified in the -csc option are deleted (all the undeleted service adapters and user-defined receptions are also deleted at the same time).
csccompoundeploy -user <login user ID> -pass <login password> -csc <HCSC server name> -all
- To delete all the business processes from all the HCSC servers configuring the cluster
-
Execute the command by specifying the cluster name and the -all option.
All the business processes deployed on all the HCSC servers in the cluster specified in the -cluster option is deleted (all the undeleted service adapters and user-defined receptions are also deleted at the same time).
csccompoundeploy -user <login user ID> -pass <login password> -cluster <cluster name> -all
(b) To delete the specified business process only
Among the business processes deployed on the HCSC server or cluster, only the specified business process is deleted.
The execution format of the command differs depending on whether the business process is deleted from a single HCSC server, or all the HCSC servers configuring the cluster.
- To delete only the specified business process from a single HCSC server
-
Execute the command by specifying the name of the HCSC server and the service ID of the business process.
The business process specified in the -name option is deleted, from among the business processes deployed on the HCSC server specified in the -csc option.
csccompoundeploy -user <login user ID> -pass <login password> -csc <HCSC server name> -name <business process service ID>
- To delete only the specified business process from all the HCSC servers configuring the cluster
-
Execute the command by specifying the cluster name and the service ID of the business process.
Only the specified business process is deleted, from among the business processes deployed on all the HCSC servers in the cluster specified in the -cluster option.
csccompoundeploy -user <login user ID> -pass <login password> -cluster <cluster name> -name <business process service ID>