Delete an Existing Output Channel

About this task

Once you delete an output channel, you cannot use it. Therefore, you must be careful when you want to delete an output channel because all the message history for the output channel must have already expired. We recommend that you carefully assess whether an output channels might still be in use before deleting it.

Note: The default/generic output channel cannot be deleted.

To delete a new output channel, you do not need to configure the SWIFTNet7 Adapter to use the output channel. You just need to enable the SWIFTNet7 Adapter to start the SWIFTNet Server so it can forward the delete request to SWIFT.

This is the sample business process to delete an existing output channel :


<process name="SWIFTNet7DeleteoutputChannel">
   <sequence name="SWIFTNetDeleteoutputChannel">
      <operation name="set user token">
         <participant name="SetUserToken"/>
         <output message="SetUserTokenMessage">
            <assign to="USER_TOKEN">admin</assign>
            <assign to="." from="*"></assign>
         </output>
         <output message="inmsg">
            <assign to="." from="*"></assign>
         </output>
      </operation>
      <!-- build Delete request -->
      <!--  W A R N I N G   N O T E  -->
      <!-- Once deleted, the output channel cannot be re-created or used anymore -->
      <operation>
         <participant name="SWIFTNet7ClientService"/>
         <output message="deleteoutputChannelRequest">
            <assign to="." from="*"></assign>
            <assign to="serverAdapterName">Put a value here</assign>
            <assign to="authoriserDN">Put a value here</assign>
            <assign to="outputChannelName">Put a value here</assign>
         </output>
         <output message="deleteoutputChannelResponse">
            <assign to="." from="*"/>
         </output>
       </operation>
       <operation name="Receive DeleteoutputChannelSnFResponse">
          <participant name="SWIFTNet7ClientService"/>
          <output message="handleoutputChannelResponse">
             <assign to=""." from="*"
          </output>
          <output message="outputChannelOut">
            <assign to="." from="*">
         </output>
      </operation>
   </sequence>
</process>

To delete an output channel:

Procedure

  1. Edit the sample business process, SWIFTNet7DeleteoutputChannel, and supply the following parameters:
    • authoriserDN, which must have at least one RBAC role for store-and-forward.
    • outputChannelName, which must be the existing output channel name.
  2. After you have finished editing, save the business process.
  3. Configure the SWIFTNet7 Client service and the SWIFTNet7 Adapter. You do not have to configure the SWIFTNet7 Adapter to use the output channel; instead, you can select False for Use output Channel.
  4. Enable the SWIFTNet7 Adapter, which starts the SWIFTNet Servers.
  5. Execute the SWIFTNet7DeleteoutputChannel business process to send the Delete output Channel request.
  6. Monitor the execution of the business process. If it is successful, you have successfully deleted the new output channel.