Skip to main content

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

Updates an attribute event record


Parameters

attributeEventInfo Dictionary

- attributeAssetLinkIdInteger
- attributeEventIdInteger
- tStampDateTime
- valueString

userId Integer: Id of user executing the function


Returns

# of records modified Integer


Example

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