Custom field populated from demand to project SPM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Everyone is there a OOTB way to populate a custom field from demand to project in SPM module?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @MalikB,
well, OOTB doesn't take customisations into consideration, so the answer to your question as a part of this logics is no. There's no OOTB way to populate custom field(s)...
But you can try to review the UI Action that is responsible for converting the Demand into Project:
https://yourinstance.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=afdb50a3d7122100b7490ee60e6103cd
+++ the script below
Also, I checked the system properties whether there's any easy way to select fields to be copied but no luck, you should try that yourself as well maybe you'll be more successful. Some similar property as seen for INC > CHG conversion, maybe there's some maybe there isn't...
Answers generated by GlideFather. Check for accuracy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @MalikB ,
OOB two component are there where update is needed in order to add your custom field.
1. During Create : From Create project UI action on dmn_demand table
Create Project UI action- >AjaxCreateRelatedEntityFromDemand script Include ->DemandToProjectCreationHelper script Include ->CreateProject() function has been called.
There fields has been mentioned . You need to include your custom one.
2. During Update: There is a update Business Rule Auto Create Project on dmn_demand table.
In the script , you have to include your custom field , so that during update your custom field update it get updated to project as well.
