Copy and paste the following code into the InsertBuiltCoursemap action:

VarGeneratingCoursemap.set('2');
VarCoursemapArray.set("");