Skip to main content

AF Attribute AF Attribute


AF Attribute ExportAF-Attribute-Export


Input​

InputsTypeMandatoryDescription
PISystemstringY
DatabasestringY
ElementPathstringY
FilterNamedynamicNIf not null, only export attributes that fit the name filter (full path)
FilterCategorydynamicNIf not null, only export attributes that have this category
PrimaryPathdynamicNIf not null, will use this path over the PISystem, database, elementpath combo
ExportAllValuesdynamicNExport all values
ExportStaticValuesdynamicNExport values that have a null data reference
ExportValuesCategorydynamicNExport value for this attribute category

Output​

OutputsTypeDescriptionExample
AttributesAttributes: array[1]
   0object
      AttributePropertiesobject
      Name""CustomSetNoValue""
      Template""""
      Description""""
      ValueType""AFEnumerationValue""
      ConfigString""""
      IsAnalysisInputfalse
      IsAnalysisOutputfalse
      SimpleConfig""""
      IsDataReferenceDefinedByTemplatefalse
      DataReferencePlugIn""""
      DefaultUOM""""
      IsConfigurationItem""True""
      IsManualDataEntry""False""
      IsHidden""False""
      IsExcluded""False""
      ID""26556959-6694-4522-b949-c9d49573d090""
      UniqueID""26556959-6694-4522-b949-c9d49573d090""
      TypeQualifier""""
      IsTypeQualifierGlobalfalse
      Categoriesarray[0]
Valueobject
         IsAnythingValuefalse
         T""AFEnumerationValue""
         Vnull
         Timestamp0
         Qfalse
         Sfalse
         Attributesnull
      PrimaryPath""\Dev-AF1\NodeTestCaseSource\Element1""

Example Input Payload​

msg.payload = {
"PISystem": env.get("TestSystem"),
"Database": env.get("TestDatabase"),
"ElementPath": "Element1",
"ExportAllValues": true
};
return msg;

Example Flow​

[
{
"id": "4c1c7f6b4d617de8",
"type": "AF Attribute Export",
"z": "fbcc6f6461481998",
"name": "",
"PISystem": "",
"Database": "",
"ElementPath": "",
"FilterName": "",
"FilterCategory": "",
"PrimaryPath": "",
"ExportAllValues": "",
"ExportStaticValue": "",
"ExportValuesCategory": "",
"x": 150,
"y": 380,
"wires": [
[]
]
}
]