IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)

isDefaultWSRRDefinition command

Use this command to return true or false, depending on whether the specified WSRR definition is the current cell default.

Before you begin

The isDefaultWSRRDefinition command is run using the AdminTask object of the wsadmin scripting client.

Use the following command to list all the WSRR administrative commands.

$AdminTask help SIBXWSRRAdminCommands
Use the following command to get detailed help on a particular command.
$AdminTask help command_name

Syntax

$AdminTask isDefaultWSRRDefinition {-paramName paramValue ...}

Required parameters

-name definitionName

The name of the WSRR definition, as a string.

Example

If on interactive usage

When you use a WSRR command in interactive mode, you can ignore the prompt for a Target WSRR definition, because the target WSRR definition is optional. Press Enter and you will be prompted for the Name of the WSRR definition. This allows you to enter the name. When you enter the name, you see the expected output without the error message; for example, if you enter the definition name when prompted for the target definition, you get a message similar to the following:

wsadmin>AdminTask.isDefaultWSRRDefinition('-interactive')
Check if a WSRR definition is the default  

Check if a WSRR definition is the default  

Target WSRR definition: 
Name (name): testDefinition  

Check if a WSRR definition is the default  

F (Finish) 
C (Cancel)  

Select [F, C]: [F] F 
WASX7278I: Generated command line: 
AdminTask.isDefaultWSRRDefinition('[-name testDefinition ]') 
'true'

Parent topic: Commands (wsadmin scripting)

Related information:

Obtaining online help using wsadmin scripting
Administrative command invocation syntax using wsadmin scripting
Use the wsadmin scripting tool
Jython script library