1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
530 views
by brandon-w-8204 (34.1k points)
I need to have a condition based on a ChannelCache Variable. Is this possible since there is no ChannelCache option in the Dropdown menu.

1 Answer

0 votes
 
Best answer

Yes you can use channel cache in a conditional node. Below is a sample custom script 

 

var value = (channelCache.getValue('TEST') !== null ? channelCache.getValue('TEST') : new java.lang.String(''));

return value.equalsIgnoreCase('test');

by brandon-w-8204 (34.1k points)
...