system.kanoa.item.checkItemStateClassPath
Description
Checks if an itemStateClassPath exists and creates it if it doesn't.Syntax
checkItemStateClassPath(itemStateClassPath, itemStateClassId, itemStates, userId)Parameters:
Returns:
Code Examples
# Example Usage:
itemStateClassPath = 'Scrap Reasons\Illegible label'
userId = 17
itemStateClassId, msg = system.kanoa.item.checkItemStateClassPath(itemStateClassPath, userId)