AF Analysis Template
AF-Analysis-Template-Create
Input
| Inputs | Type | Mandatory | Description |
|---|---|---|---|
| CheckInLimit | int | N | |
| PISystem | string | Y | |
| Database | string | Y | |
| ElementTemplateName | string | Y | |
| AnalysisTemplates | array | Y | |
| ElementTemplateName | string | Y | |
| Name | string | Y | |
| Description | string | N | |
| Template | string | N | |
| Categories | array of strings | N | |
| AnalysisRulePlugIn | string | N | |
| Analysis Rule | string | N | |
| ConfigString | string | N | |
| VariableMappings | string array | N | |
| ChildRules | JSRule array | N | |
| ConfigString | string | N | |
| PlugIn | string | N | |
| VariableMappings | string array | N | |
| TimeRulePlugIn | string | N | |
| TimeRuleConfigString | string | N | |
| TimeRule | string | N | |
| OutputTime | string | N | |
| ExtendedProperties | ExtendedProperties array | N | |
| Key | string | N | |
| Value | object | N |
Output
| Outputs | Type | Description | Example |
|---|---|---|---|
| array[1] | array | array[1] | |
| 0 | object | object | |
| Action | string | Action: ""Created"" | |
| Item | string | Item: ""Analysis"" | |
| PrimaryPath | string | PrimaryPath: ""\DEV-AF1\NodeTestCaseSource\ElementTemplates[Pump]\AnalysisTemplates[AnalysisTemplate1]"" | |
| Name | string | Name: ""AnalysisTemplate1"" |
Payload Example
msg.payload = {
"PISystem": env.get("TestSystem"),
"Database": env.get("TestDatabase"),
"ElementTemplateName": "ElementTemplate1",
"AnalysisTemplates": [
{
"ElementTemplateName": "ElementTemplate1",
"Name": "AnalysisTemplate1",
}
]
}