af analysis
af-analysis-export
Input
| Inputs | Type | Mandatory | Description |
|---|---|---|---|
| PISystem | string | Y | |
| Database | string | Y | |
| ElementPath | string | Y | Path to element to hosts analyses (all analyses will be exported) |
payload
Output
| Outputs | Type | Description | Example |
|---|---|---|---|
| ElementPath | string | Can be source or target Element Path | Element1 |
| Analyses | array | array[1] | |
| ElementPath | string | ElementPath: ""Element1"" | |
| Name | string | Name: ""Analysis1"" | |
| Description | string | Description: ""test"" | |
| Template | string | Template: """" | |
| Categories | array | Categories: array[0] | |
| AnalysisRulePlugIn | string | AnalysisRulePlugIn: ""PerformanceEquation"" | |
| AnalysisRule | string | AnalysisRule: ""PerformanceEquation"" | |
| ConfigString | string | ConfigString: """" | |
| VariableMappings | array | VariableMappings: array[0] | |
| ChildRules | array | ChildRules: array[0] | |
| DisplayString | string | DisplayString: """" | |
| InputAttributes | array | InputAttributes: array[0] | |
| OutputAttributes | array | OutputAttributes: array[0] | |
| Status | string | Status: ""Enabled"" | |
| TimeRulePlugIn | string | TimeRulePlugIn: ""Natural"" | |
| TimeRuleConfigString | string | TimeRuleConfigString: """" | |
| TimeRule | string | TimeRule: ""Natural"" | |
| OutputTime | string | OutputTime: """" | |
| ExtendedProperties | array | ExtendedProperties: array[0] |
Example Input Payload
msg.payload = {
"PISystem": env.get("TestSystem"),
"Database": env.get("TestDatabase"),
"ElementPath": "Element1" (Element must exist)
};
Example Flow
[
{
"id": "563b5315bb3c7718",
"type": "AF-Analysis-Export",
"z": "c4fc53dc96751169",
"name": "",
"x": 330,
"y": 480,
"wires": [
[]
]
}
]