How to add a custom task column to the Allocation WorkbenchDescriptionThe Allocation Workbench can be customized to add columns to it in order to display additional fields of the task. In order to do that, the custom code can be inserted in Script Include "ResourceGridCustomMetadata" and addiotanally, some code may need to be added to Script Include "customValueFormatter" The columns can be inserted as: ResourceGridSeededMetadata.TASK_COLUMNSResourceGridSeededMetadata.LEFT_PINNED_COLUMNSResourceGridSeededMetadata.LEFT_GROUPED_COLUMNS Instructions To add a custom task column, "u_task", from pm_project table as part of the LEFT_GROUPED_COLUMNS, we will need to follow these steps:Step - 1: Since, u_task is a task column, this column configuration needs to be added in ResourceGridCustomMetaData.TASK_COLUMNS initially before adding it in ResourceGridCustomMetaData.LEFT_GROUPED_COLUMNS. [Because, system picks this configuration while rendering the tasks and gives us the taskGlideRecord to our valueFormatter here itself. For ResourceGridCustomMetaData.LEFT_GROUPED_COLUMNS, You can give resource_plan level columns directly. Because, system picks this configuration while rendering the resource plans and gives us the resourcePlanGlideRecord to our valueFormatters] ResourceGridCustomMetadata.TASK_COLUMNS = [{ u_task: { snValueFormatter: 'getTaskU_Task', snDataType: 'string', headerName: gs.getMessage('Name of u_task column'), hidden: true } }]; We need to give hidden: true for this column when we keep here. Because, we don't want to see this column as a first column in the grid.Step - 2: Change the code in ResourceGridCustomValueFormatter.getU_Task. GlideRecord we get for the function is a taskGlideRecord. We can't get the u_task column value directly from the task glide record. We need to do getRefRecord from the taskGlideRecord(Which gives us the project record) and then we can do getValue('u_task). ResourceGridCustomValueFormatter.getTaskU_Task= function(gr) { if(gr.instanceOf('task')) { var task = new GlideRecord(gr.sys_class_name); task.get(gr.getValue('sys_id')); return task.getDisplayValue('u_task'); } else return ''; }; Step - 3: Since we want us this column to appear the details section of the allocation workbench, the same column configuration that we added in ResourceGridCustomMetaData.TASK_COLUMNS need to be added in ResourceGridCustomMetaData.LEFT_GROUPED_COLUMNS. [Remove hidden: true, because we want this column to get displayed in details section] ResourceGridCustomMetadata.LEFT_GROUPED_COLUMNS = [{ u_task: { snValueFormatter: 'getTaskU_task', snDataType: 'string', headerName: gs.getMessage('Name of u_task column'), columnGroupShow: 'open' } }]; ResourceGridCustomMetaData.LEFT_GROUPED_COLUMNS are the columns that we display in the details section of the grid in allocation workbench.Replace u_task for the name of your custom task column.