Copyright © TIBCO Software Inc. All rights reserved.
Copyright © TIBCO Software Inc. All rights reserved.


Chapter 18 Batch Processing Cases : swbatch Commands : Close a Case

Close a Case
To close one or more cases of a specific procedure, use the following command:
Syntax
CLOSE [-P priority] [-d] <node|-> procname caselist
where:
-P priority specifies the internal message queue priorities. For more information about message priorities, see "Message Prioritizing" in the appropriate TIBCO iProcess Engine (Database) Administrator’s Guide.
-d closes cases without triggering events that are set for the OnBeforeClose event or the OnAfterClose event. The events are triggered before or after closing the case if running the CLOSE command without the -d option. For more information about the OnBeforeClose event and the OnAfterClose event, see TIBCO iProcess Modeler Procedure Management.
node is the name of the host node, if the procedure is hosted remotely. Enter a hyphen () if the procedure is hosted locally.
procname is the name of the procedure, including sub-procedures.
caselist closes all cases in a given range. Use a comma (,) to separate case numbers and a hyphen () to specify a range. For example, the entry 2,5-10 means case 2 and cases 5 to 10 inclusive. The caselist must not exceed 255 characters.
Example
This example closes case 1 of procedure HIRING, hosted on the local node.

 
CLOSE - hiring 1

 
This example closes case 2 and cases 5 to 10 inclusive:

 
CLOSE - hiring 2,5-10

 

Copyright © TIBCO Software Inc. All rights reserved.
Copyright © TIBCO Software Inc. All rights reserved.