Create standard change button is not working

akin9
Tera Contributor

Hello Exports,

We are using OOB Create standard change button for incident and problem table.

earlier it was working fine but recently i noticed its not working properly, after clicking the button.

not creating change request its showing some other pages ,pls support for this and what is wrong here.

akin9_0-1666943438119.png

 

Its Redirecting to below service catalog page

 

akin9_1-1666943650695.png

 

and Remaing normal and emergergency change buttons are working fine.

Please support to standard change.

 

1 ACCEPTED SOLUTION

Hello,

 

My bad i misinterpreted your question.

 

The behaviour you are seeing could be because someone might have created a standard change template which is pointing to catalog.

 

To verify this you should go to Standard Change Module (in left Navigator) and verify if any Template related module is there in that.

 

Once you open the templates record you will see the setting that is associated with Standard change .

 

For more inforamtion about this chekc the below video

Getting Started with Standard Change - YouTube

View solution in original post

6 REPLIES 6

Ct111
Giga Sage

Hello,

you can either go to UI actions and check for "Create a Standard Change"  record and revert it to original version

by going at the bottom and looking at versions.

 

Or 

You can go to code and correct the behaviour of it in UI action whereever URL is mentioned . 

 

Your choice.

 

Here is the link where something similar was attempted for modification but you can go here to modify your code but best is to revert back if you suspect someone did it mistakenly

akin9
Tera Contributor

Hello

Thank you for your reply.

I have changed the old versions but unfortunately its not working as expected.

pls find the below my OOB Code and Suggest me any other solution.

Condition - current.state != IncidentState.CLOSED && gs.hasRole("itil,sn_change_write") && gs.fieldExists('incident', 'rfc') && current.rfc.nil()

 

Script - action.setRedirectURL(new StdChangeUtils().getURLForTask(current, 'rfc'));

akin9_0-1667037283678.png

 

Hello,

 

My bad i misinterpreted your question.

 

The behaviour you are seeing could be because someone might have created a standard change template which is pointing to catalog.

 

To verify this you should go to Standard Change Module (in left Navigator) and verify if any Template related module is there in that.

 

Once you open the templates record you will see the setting that is associated with Standard change .

 

For more inforamtion about this chekc the below video

Getting Started with Standard Change - YouTube

akin9
Tera Contributor

Hello 

its working fine .Thank you very much