Sidebar

How do I correct 'Channel scope script variable' error in my CVS channel.

0 votes
240 views
asked Dec 17, 2015 by brandon-w-8204 (33,270 points)

1 Answer

0 votes
 
Best answer

1. Remove the channel scope variable from the source node

2. Modify mapping node 2 function 4 "portalDaysGap, businessDaysGap, gracePeriod"

     a. Add the following line to the top of the script

var holidayMapList = JSON.parse('' + channelCache.getValue('holidayMapList', null));

     b. After the line 

holidayMapList = holidayDayNumbers;
        Add this line
channelCache.setValue('holidayMapList', JSON.stringify(holidayMapList));

 

answered Dec 17, 2015 by brandon-w-8204 (33,270 points)
...