deleteBPMEndpoint command
Traditional:
Use the deleteBPMEndpoint command to delete an Business Automation Workflow endpoint. In stand-alone environments, such as
the unit test environment of Integration Designer, the value
of the endpoint is set immediately when you run the command. In network deployment (ND)
environments, the value of the endpoint is set when the next node synchronization occurs. For both
stand-alone and ND environments, it is not necessary to restart the server or cluster after running
the command.
The deleteBPMEndpoint command is run using the AdminTask object of the wsadmin scripting client.
Prerequisites
The following conditions must be met:
- In a network deployment environment, run the command on the deployment manager node. In a single-server environment, run the command on the stand-alone server.
- If the deployment manager or stand-alone server is stopped, use
the
wsadmin -conntype noneoption to run the command in disconnected mode (which is the recommended mode for this command). - If the deployment manager or stand-alone server is running, you must connect with a user ID that has WebSphere® Application Server configurator privileges. Do not use the
wsadmin -conntype noneoption.
Location
Start the wsadmin scripting client from the profile_root/bin directory. The deleteBPMEndpoint command does not write to a log file, but the wsadmin scripting client always writes a profile_root/logs/wsadmin.traceout log file where you will find exception stack traces and other information.
Syntax
deleteBPMEndpoint
[-de deployment_environment_name]
-scenario scenario_nameParameters
- -de deployment_environment_name
- An optional parameter that specifies the name of the current deployment environment. If there is only one deployment environment in the WebSphere cell, you can omit this parameter.
- -scenario scenario_name
- A required parameter that specifies the scenario of the endpoint. Tip: For a list of valid scenario values, see "Table 1" and "Table 3" in the topic Configuring endpoints to match your topology.
Examples
wsadmin -user admin -password admin -lang jython
wsadmin>AdminTask.deleteBPMEndpoint(['-de', 'De1', '-scenario', 'myScenario'])
wsadmin>AdminConfig.save()