Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Group - listAllJobGroupMembersTabSeparated

Group - listAllJobGroupMembersTabSeparated

Description :

For a given parent group, this command returns a list of details about the child groups and jobs that are of a specified group type. Suppported group types are static job groups, smart job groups, and both. The return output will have TAB as a separator for values inside a single record and a NEWLINE separating between records.

For groupType, use one of the following integers:

  • Static job groups only: 5005
  • Smart job groups only: 5006
  • Both static and smart job groups: 0

Return type : String

Command Input :

Variable Name

Variable Type

Description

groupType

Integer

The type of the group.

groupId

Integer

The ID of the group.

Example

The following example gets the qualified group name of a job group. Then, using the group ID, there are 3 examples of retrievals:

  • Retrieve all static groups and jobs for the specified group ID.
  • Retrieve all smart groups and jobs for the specified group ID.
  • Retrieve both smart and static groups and the jobs for the specified group ID.

Script





JOBGROUP="/parent/jobGroup" 

JOBGROUP_ID=`blcli JobGroup groupNameToId $JOBGROUP` 

# Example 1 

blcli Group listAllJobGroupMembersTabSeparated 5005 $JOBGROUP_ID 

# Example 2 

blcli Group listAllJobGroupMembersTabSeparated 5006 $JOBGROUP_ID 

# Example 3 

blcli Group listAllJobGroupMembersTabSeparated 0 $JOBGROUP_ID 



Was this page helpful? Yes No Submitting... Thank you

Comments