Error in executing GENERATETJ_TASK task

Error in executing GENERATETJ_TASK task

Hi,

I have added the following script to On Load

clear Region;
Regions = Geographic.distinct(Il);
Region:ui.add(Regions);

this is done in order to get on the unique list of regions from the Form Geographic and the field Il. But when I try to open the application I get the above error. Can you please advise what the problem is, as I have copied this from https://help.zoho.com/portal/en/community/topic/grouping-a-lookup this link?

Regards,