Skip to main content

af analysis af analysis


AF Analysis Updateaf-analysis-update


Input​

InputsTypeMandatoryDescription
CheckInLimitintN
PISystemstringY
DatabasestringY
ElementPathstringY
AnalysesarrayY
   PISystemstringY
   DatabasestringY
   ElementPathstringY
   NamestringY
   DescriptionstringY
   TemplatestringY
   Categoriesarray of stringsN
   AnalysisRulePlugInstringN
   Analysis RulestringN
   ConfigStringstringN
   VariableMappingsstringN
   ChildRulesJSRule arrayN
      ConfigStringstringN
      PlugInstringN
   StatusstringN
   TimeRulePlugInstringN
   TimeRuleConfigStringstringN
   TimeRulestringN
   OutputTimestringN
   ExtendedPropertiesExtendedProperties arrayN
      KeystringN
      ValueobjectN

payload

Output​

OutputsTypeDescriptionExample
payloadarray
   Actionstring""Synced""
   Itemstring""Analysis""
   PrimaryPathstring""\NodeADSTestSystem\Test1""
   Namestring""Analysis1""

payload

Example Payload​

msg.payload = {
"Analyses": [
{
"ElementPath":"Element1",
"Name": "Analysis1",
"Description":"test", (changes the description from 'create' to 'test')
"Template": "",
"Categories":[],
"AnalysisRulePlugIn":"PerformanceEquation",
"AnalysisRule": "PerformanceEquation",
"ConfigString": "",
"VariableMappings": [],
"ChildRules": [],
"DisplayString": "",
"InputAttributes":[],
"OutputAttributes":[],
"Status":"Enabled",
"TimeRulePlugIn":"Natural",
"TimeRuleConfigString": "",
"TimeRule":"Natural",
"OutputTime":"",
"ExtendedProperties": []
}
],
"PISystem": env.get("TestSystem"),
"Database": env.get("TestDatabase"),
"ElementPath":"Element1"
};


return msg;

Example Flow​

[
{
"id": "b1ec69b6c84896a8",
"type": "AF-Analysis-Update",
"z": "c4fc53dc96751169",
"name": "",
"x": 430,
"y": 180,
"wires": [
[]
]
}
]