Auto closure of Demand on Project creation

skumar_srbh
Tera Guru

as of now, Demand having "Project Calculation" as "automatic" and Close Demand as "On creation of project".

skumar_srbh_0-1702670234732.png

and script include "DemandToProjectCreationHelper" >  createProject, having below code...

skumar_srbh_1-1702670399661.png

however, when creating a project from demand, it is moving to "Screening(3)" phase instead "Completed(9)". in the logs as well getting "3" only.
I did check relevant script include and BRs... cant find any conflicts. has anyone encountered this issue...

Thanks in advance!!!

 

Regards,
Kumar

1 REPLY 1

AshishKM
Kilo Patron
Kilo Patron

Hi @skumar_srbh,

Check the standard flow for demand, as per the script include code and demand variables ( in your case) the control-flow executing the true part of this If condition. Read the complete code of "createProject()" function.

 

AshishKMishra_0-1702681003173.png

https://docs.servicenow.com/bundle/vancouver-it-business-management/page/product/planning-and-policy...

 

-Thanks,

AshishKMishra

 

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution