Skip to main content

AF Server Properties AF Server Properties


AF Server Properties UpdateAF-Server-Properties-Update


Input​

InputsTypeMandatoryDescription
AFObjectPathstringYAF Path Input
PropertystringYProperty to Sync: (UOM, ENUM SETS, ENUM, ATTRIBUTE CATEGORIES, ANALYSIS CATEGORIES, ELEMENT CATEGORIES, NOTIFICATION RULE CATEGORIES, REFERENCE TYPE CATEGORIES, TABLE CATEGORIES)
ActionstringYSyncing action: (CREATE, DELETE, SYNC)
ItemarrayYItem array to make property [name, description] if ENUM then (Set Name, Name, Value, Description)

payload

Output​

OutputsTypeDescriptionExample
objectobject
CreatedobjectCreated: object
   ItemstringItem: ""ATTRIBUTE CATEGORY""
   NamestringName: ""CategoryName""
   DescriptionstringDescription: ""I am Description""
ErrorarrayError: null

Example Input Payload​

Replace PISystem and Database w/ strings
msg.payload = {
"AFObjectPath": "\\\\" + env.get("TestSystem") + "\\" + env.get("TestDatabase"),
"Property": "ATTRIBUTE CATEGORIES",
"Action": "CREATE",
"Item": ["CategoryName", "I am Description"]
};