AF Analysis Template
AF-Analysis-Template-Delete
Input
| Inputs | Type | Mandatory | Description |
|---|---|---|---|
| CheckInLimit | int | N | Number of operations before the node will automatically perform a DBCheck-In |
| PISystem | string | Y | Name of AF Server |
| Database | string | Y | AF Database Name |
| ElementTemplateName | string | Y | Name of the AF Element Template that owns the analyses |
| AnalysisTemplates | array | Y | |
| Name | string | Y | Analysis template Name |
| ElementTemplateName | string | N | Used for more detailed logging |
payload
Output
| Outputs | Type | Description | Example |
|---|---|---|---|
| array[1] | array | ||
| 0 | object | 0: object | |
| Action | string | Action: ""Deleted"" | |
| Analysis Name | string | Analysis Name: ""AnalysisTemplate1"" | |
| PrimaryPath | string | PrimaryPath: ""\DEV-AF1\NodeTestCaseSource\ElementTemplates[Pump]\AnalysisTemplates[AnalysisTemplate1]"" |
Payload Example
Replace PISystem and Database w/ strings
msg.payload = {
"PISystem":env.get("TestSystem"),
"Database":env.get("TestDatabase"),
"ElementTemplateName":"Pump",
"AnalysisTemplates":[
{
"ElementTemplateName":"Pump",
"Name":"AnalysisTemplate1",
}
]
}
;return msg;