DPR Workspace – Custom Field Not Displaying in Release Templates

sowndharyam
Tera Contributor

In the DPR workspace, under Release Administration>Add Phases>Add Task>KeyDates>policies. Here, under Add Task we have 'Task_name' field and is currently mapped to the short_description field via the client script include 'ReleaseTaskTemplateUtil'

- As we do not have Description field as part of OOB in release template form, our requirement is to add a new field called 'task description' next to 'task_name' which I have completed by customising DPR Tasks Playbook. But the inputs to this field is not showing in List view or in backend form (here too I have created same field in release template form as we do not have description field as part of OOB), I have updated the client script include to add this new field too but still seeing blanks in List view. Do we need to update anywhere else or how can we fix it.

- Additionally, for some release templates, the required fields are not being enforced or shown as expected when we edit playbook.

3 REPLIES 3

Bhanu29
ServiceNow Employee
ServiceNow Employee

You can configure the Description field on the Release Template table. The table already includes a Template field, and you can add the Description field from there.

If you need to make this change through Playbook, you will need to update the manageTemplateTask function within the ReleaseTemplateSNC Script Include to handle the Description field appropriately.
taskTemplateGR.template = "short_description=" + taskData.shortDescription + "^is_approval_task=" + taskData.needApproval;

Hi @Bhanu29 
Thanks for sharing the details but ReleaseTemplateSNC Script Include is a high priority file and unable to edit it its only opening in read-only mode. Do we have any alternative solution here.

Thanks

Best Regards
Sowndharya

Bhanu29
ServiceNow Employee
ServiceNow Employee

There’s an override class for ReleaseTemplateSNC called ReleaseTemplate. You can copy the same function into the ReleaseTemplate Script Include and make the required changes there.