- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2023 02:08 AM
Hi All,
We have a requirement to get the list of OOB fields which all get copied form demand to Project once project is created out of demand.
Please suggest.
Regards,
Himanshi K
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2023 02:11 AM
We have a UI action on the Demand form called "Create Project" inside this UI Action we're calling SI named as "AjaxCreateRelatedEntityFromDemand" from this Script include we're calling one more SI named as "DemandToProjectCreationHelper" in this Script include check the function "createProject" you'll be able to locate the fields array.
Pasting those fields(from "createProject" function) from the Sandiago version instance:
var fields = ['short_description', 'description', 'primary_program', 'business_case', 'sys_domain', 'investment_class', 'investment_type', 'risk_of_performing', 'risk_of_not_performing', 'enablers', 'barriers', 'in_scope', 'out_of_scope', 'assumptions', 'goals', 'primary_goal', 'strategic_objectives', 'business_unit', 'department', 'impacted_business_units', 'business_applications', 'business_capabilities',
'cmdb_ci', 'company', 'priority', 'urgency', 'impact', 'rate_model', 'project_manager', 'project_currency', 'approved_start_date', 'approved_end_date','calculation_type', 'data_separated_by'
];
Please mark the suggestion as helpful, if you find it useful to you or others who wants to refer similar content.
Please mark the solution as correct, if the answer provided by me has resolved your query.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2023 02:11 AM
We have a UI action on the Demand form called "Create Project" inside this UI Action we're calling SI named as "AjaxCreateRelatedEntityFromDemand" from this Script include we're calling one more SI named as "DemandToProjectCreationHelper" in this Script include check the function "createProject" you'll be able to locate the fields array.
Pasting those fields(from "createProject" function) from the Sandiago version instance:
var fields = ['short_description', 'description', 'primary_program', 'business_case', 'sys_domain', 'investment_class', 'investment_type', 'risk_of_performing', 'risk_of_not_performing', 'enablers', 'barriers', 'in_scope', 'out_of_scope', 'assumptions', 'goals', 'primary_goal', 'strategic_objectives', 'business_unit', 'department', 'impacted_business_units', 'business_applications', 'business_capabilities',
'cmdb_ci', 'company', 'priority', 'urgency', 'impact', 'rate_model', 'project_manager', 'project_currency', 'approved_start_date', 'approved_end_date','calculation_type', 'data_separated_by'
];
Please mark the suggestion as helpful, if you find it useful to you or others who wants to refer similar content.
Please mark the solution as correct, if the answer provided by me has resolved your query.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2023 05:11 AM
If logging time to demands, does the time move with the demand when the demand is converted to a project? Is this OOB functionality?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2023 02:29 AM
check analysis shared by Neeraj
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2023 06:07 AM
Thank you @Neeraj Modi and @Ankur Bawiskar for the quick help.