Expression evaluation error: Syntax error. Details: Expression evaluation error at function 'if' parameter 2 [line 164]: Keyword and non-keyword arguments must not be mixed. Used in: INO_WidgetAgentBreakTimeMonthlyDrilldown. why?

rule!INO_WidgetAgentBreakTimeMonthlyDrilldown(
                  if(
                    ri!selectedDateRange = cons!INO_DATE_RANGE_16_WEEK,
                    daily16WeekAgentTaskProduction: ri!daily16WeekAgentTaskProduction,
                    taskProdutionList: ri!dailyAgentTaskProduction
                     ),    
                  selectedMonth: local!selectedbreakTimeMonth,
                  selectedYear: local!selectedbreakTimeYear,
                  selectedWeek: local!selectedbreakTimeWeek,
                  selectedDay: local!selectedbreakTimeDay,
                  dateCategoryList: local!categoryList,
                  selectedDateRange: ri!selectedDateRange
                ),

the error is coming for this If condition. Please tell me how to solve?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data