AF Server Properties
AF-Server-Properties-Update
Input
| Inputs | Type | Mandatory | Description |
|---|---|---|---|
| AFObjectPath | string | Y | AF Path Input |
| Property | string | Y | Property to Sync: (UOM, ENUM SETS, ENUM, ATTRIBUTE CATEGORIES, ANALYSIS CATEGORIES, ELEMENT CATEGORIES, NOTIFICATION RULE CATEGORIES, REFERENCE TYPE CATEGORIES, TABLE CATEGORIES) |
| Action | string | Y | Syncing action: (CREATE, DELETE, SYNC) |
| Item | array | Y | Item array to make property [name, description] if ENUM then (Set Name, Name, Value, Description) |
payload
Output
| Outputs | Type | Description | Example |
|---|---|---|---|
| object | object | ||
| Created | object | Created: object | |
| Item | string | Item: ""ATTRIBUTE CATEGORY"" | |
| Name | string | Name: ""CategoryName"" | |
| Description | string | Description: ""I am Description"" | |
| Error | array | Error: 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"]
};