Skip to main content

AF Analysis Template AF Analysis Template


AF Analysis Template DeleteAF-Analysis-Template-Delete


Input​

InputsTypeMandatoryDescription
CheckInLimitintNNumber of operations before the node will automatically perform a DBCheck-In
PISystemstringYName of AF Server
DatabasestringYAF Database Name
ElementTemplateNamestringYName of the AF Element Template that owns the analyses
AnalysisTemplatesarrayY
   NamestringYAnalysis template Name
   ElementTemplateNamestringNUsed for more detailed logging

payload

Output​

OutputsTypeDescriptionExample
array[1]array
0object0: object
   ActionstringAction: ""Deleted""
   Analysis NamestringAnalysis Name: ""AnalysisTemplate1""
   PrimaryPathstringPrimaryPath: ""\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;