Category: System
Establishes a WMI connection to the specified namespace, and allows the connection to be used for further operations using the Wmi activity
Properties
| Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
|---|---|---|---|---|---|---|---|
| NodeType | Contains the type for node | No | No | No | Output | No | |
| Data Type: Text | Comments: | ||||||
| Name | Name of the workflow node | Yes | Yes | No | Input | No | |
| Data Type: Text | Comments: | ||||||
| Description | Description of the workflow node | No | Yes | No | Input | No | |
| Data Type: Text | Comments: | ||||||
| Operation | WMI connection operation to perform Connect, Disconnect | Yes | Yes | No | Input | No | |
| Data Type: Text | Comments: | ||||||
| LogData | Any string to output to the workflow log | No | No | No | Input | No | |
| Data Type: Text | Comments: | ||||||
| Note |
|---|
| For an example of this Activity, please review this article for a full Walkthrough. |
Operations
Connect
Connects to the specified WMI namespace
| Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
|---|---|---|---|---|---|---|---|
| NameSpace | The Wmi namespace to which connection is desired | Yes | No | No | Input | No | |
| Data Type: Text | Comments: ROOT\CIMV2 | ||||||
| Result | True for success, false for failure | No | Yes | No | Output | Yes | |
| Data Type: Boolean | Comments: | ||||||
| ErrorCode | Set to 0 for success, non zero for error | No | No | No | Output | Yes | |
| Data Type: Whole Number | Comments: | ||||||
| Connection | Contains WMI object for success, null for failure | No | No | No | Output | Yes | |
| Data Type: Java Object | Comments: | ||||||
| Note |
|---|
| For an example of this Operation, please review this article for a full Walkthrough. |
Disconnect
Disconnects an open WMI connection
| Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
|---|---|---|---|---|---|---|---|
| Connection | Contains WMI object whose connection needs to be closed | Yes | No | No | Input | Yes | |
| Data Type: Java Object | Comments: | ||||||
Comments
0 comments
Please sign in to leave a comment.