The CreatorCon Call for Content is officially open! Get started here.

Schedule button missing in SOW for new change model

Jessica18
Tera Expert

I have created a new change model which has the following states: New, Scheduled, Implement, Review, Closed, Canceled.  I have a state transition for "New to Scheduled."

 

I have also created a type = Model, when the change model is selected, the type value could be set to Model or null.  

 

I need the "Schedule" ui action to display in Classic UI and Service Operations Workspace when the state is New.  The out of the box condition "gs.hasRole('itil,sn_change_write') && new ChangeFormUI(current).isScheduleAvailable()" only works if the type = standard.  I do not want to set the type=standard for my change model.

 

When I try to update the condition to this, as an example: "gs.hasRole('itil,sn_change_write') && new ChangeRequest(current).canMoveTo('-2')", the UI Action will display in the classic UI, but not SOW.  I am generating this message "[ChangeRequestStateHandler]: _deriveModel: undefined type not specified. Using the ChangeRequestStateModel_normal script include."

 

I can't be the first person to have the requirement to have the "schedule" button display in a "new" state for a new change model.  Does anyone have any suggestions or a solution?

Thank you.

0 REPLIES 0