ValueListItem

  • Updated

A discrete item in a ValueList

value Returns: string

Description:

Returns the Value List item's value

Code Sample:

var session = inrule.createRuleSession(); 
var dataManager = session.dataManager; var valueList = dataManager.getValueList("ValueList1"); var item = valueList.getItem("Value1"); var itemValue = item.value;

 

displayName Returns: string

Description:

Returns the Value List item's display name

Code Sample:

var session = inrule.createRuleSession(); 
var dataManager = session.dataManager;
var valueList = dataManager.getValueList("ValueList1"); var item = valueList.getItem("Value1"); var displayName = item.displayName;

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.