Skip to main content

system.kanoa.devOps.addAppChange(changeInfo)

Logs any changes made to the application. Gets called from the Gateway Update event script handler


Parameters

changeInfo Dictionary

- actorStringUsername of person who made the change
- commentString
- projectString
- resourcesDictionaryThe resource dictionary holds three lists of project resources: 'added', 'modified' and 'removed' as well as a 'manifestChanged' boolean variable.
- taskIdString

Returns

None


Example

changeInfo = {          
'actor': 'jason',
'project': 'kanoaAPP',
'resources': {'manifestChanged': True, 'added': ['resourceType': 'com.inductiveautomation.perspective/views', 'path': 'kanoa\reports\shiftReports']}
'taskId': None,
'comment': None
}
userId = 5
system.kanoa.config.addAppChange(changeInfo, userId)