Demand state is not moving from screening to draft state

Yuvaraj T
Tera Contributor

Hello All,

 

I have a demand which does not have 'Reset to Draft' UI action on demand form. When i tried to move the demand from screening to draft state from list view i got the below error message. 

"Demands selected for execution cannot be reset to Draft state"

YuvarajT_0-1726477034183.png

 

There are specific conditions defined in the "DemandDraft" Script Include code when to show the "Reset to draft" UI action. (found it from Servicenow community)

> Project, Defect, Enhancement, or Change, If any of these fields are not empty then the 'Reset to Draft' UI action will not be visible

 > Demand state should not be in DRAFT and User should have Demand manager role to see UI action.

> If there are more project funding records planned for the same Demand then also UI action will not be visible.

   (I am not sure what records need to check for calculating project funding)

 

I checked all the above conditions, and nothing is causing with the demand which i tried to move. 

 

Please let me know if i need to check apart from the above list to find the reason for state change failure. 

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

There is an out of box Business Rule named Move Demand to Draft that is displaying this message.  This Business Rule calls the same Script Include and function as the UI Action condition DemandDraft.canResetToDraft.  You need to look at this function in your instance and see why it is returning false in your test case.