Hello Community,
I have a data source designer script that returns an error when pressing preview button.
System.Collections.Generic.List`1[System.Collections.Generic.Dictionary`2[System.String,System.Object]]
Script is
var numberOverdueTasks21 = getDBValues('C_FSM_TASKS_OVERDUE_21_DAYS_SQL');
return numberOverdueTasks21;
SQL Script is
SELECT TASK_ID, PERSON_ID, STATUS, PLAN_START_DTTM FROM TASK
WHERE PLAN_START_DTTM > GETDATE() - 21
AND STATUS NOT IN ('CO', 'CA', 'CL');
Any ideas?
Cheers!