Skip to main content

system.kanoa.attribute.addAttributeEvent(attributeEventInfo, userId)

Adds an attribute event record


Parameters

attributeEventInfo Dictionary

- attributeAssetLinkIdInteger
- tStampDateTime
- valueString

userId Integer: Id of user executing the function


Returns

attributeEventId Integer


Example

attributeEventInfo = {
'attributeAssetLinkId': 18,
'value': 'sausages',
'tStamp': system.date.now()
}
userId = 123
attributeEventId = system.kanoa.attribute.addAttributeEvent(attributeEventInfo, userId)