Function: |
Returns a list of dictionaries containing the information for all the subactions of this action. |
Parameters: |
The result of a |
Return: | List of dictionaries with the key-value pairs for all the properties of the subactions.A dictionary containing the information in the form of key-value pairs is returned for each subaction. This information broadly corresponds to the columns of the action dialog box in the graphical user interface, see the Layout of the Management Console section of the Management Console online help system – Action dialog box – Layout. There is some additional information that simplifies processing at program level. The value (value) is always of type String, and can also be empty. |
Exceptions: |
|
Example: | ... import BcAdminAction import BcAdminProxy ... proxy_obj=BcAdminProxy.getObject("BCProxy") bcaction=BcAdminProxy.perform(proxy_obj, "save") iresDicn=BcAdminAction.getResults(bcaction) ... |
Keyword (key) | Column name in the GUI | Meaning |
| Action | Text of the subaction |
| Partly present in Action | Type of subaction ( |
| Result Details | Detailed information on the result, if available |
| # | Number of the subaction |
| Partly present in Action | Name of the object affected by this subaction |
| Partly present in Action | Type of object ( |
| Result | Result of the subaction ( |
| StackTrace | Detailed information about the stack if an exception has occurred. |
| Action State | Status of the subaction ( |
Note:
The most important values of
object-type
andaction-type
are defined inBcObjectType
andBcDef
. However, it is also possible for non-predefined values to be returned.In order to filter certain events out of this volume of information, it may be useful to create your own functions that read individual items of information from the dictionary returned by
getResults()
and prepare this as required. One example is available in the form ofgetCheckResults()
and another is present in the form of the functionprintResults()
in the sample scriptsampleAdminProxyCluster.py
.The
id
numbers of the subactions are hierarchically structured to show which (sub)actions belong to which higher-level actions.