I have encountered an issue with the Due Date field not populating (is blank) within the Catalog Task record. Via the Item View, the Delivery Time was set to 5 days. This is shown correctly for the Delivery Date section of the Catalog Item view, as

ram57
Kilo Contributor

I created a new Catalog Item 
I have encountered an issue with the Due Date field not populating (is blank) within the Catalog Task record. Via the Item View, the Delivery Time was set to 5 days. This is shown correctly for the Delivery Date section of the Catalog Item view, as well as showing correct calculations within the RITM record - it is just the Catalog Task record that is blank.

asifnoor
Kilo Patron

Hi,

Is the catalog task created through any script on submit of catalog item? If yes, kindly share the script to debug.

 

ram57
Kilo Contributor

var taskDefs = workflow.scratchpad.taskDefs;
taskDefs.data[taskDefs.index].wf_activity = activity.activity.sys_id+"";
var scTask = sc_ic_Factory.getWrapperClass(sc_.TASK);
var sct = scTask.create(taskDefs.data[taskDefs.index]);
//Task use complete
taskDefs.index++;

Threesha
Giga Contributor

Iam able to see due date in RITM but not in SCTASK of the RITM ,how can we correct it in admin level?