Question
"Unable To Parse JSON Request" in Application logs while executing the below code from mashup
Iam continously getting error: "Unable To Parse JSON Request" in Application logs while executing the below code from mashup but the code providing results successfully while executing directly from Service. Kindly tell me what is the problem in below code.
The code is:
try{
var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({
infoTableName: "InfoTable",
dataShapeName: "FabShopIntake.ScheduleTasks-DS"
});
if(editedTable===true){ Users[CurrentUser].SheetMetal_ScheduleTasks = editedTable;}
else if(AssignedToGroup === true)
result = griddata;
else{
result.AddRow({
Select : true,
GroupName : "LASER CUTTER Group",
Order : 1
});
result.AddRow({
Select : true,
GroupName : "BEND-WELD-SEC OP Group",
Order : 2
});
result.AddRow({
Select : true,
GroupName : "PAINT Group",
Order : 3
});
result.AddRow({
Select : true,
GroupName : "SHIPPING Group",
Order : 4
});
}
}catch(err){
logger.warn("SheetMetalScheduleGroups: error is "+err);
}

