Introduce new state in Problem tickets

Rachael12
Tera Contributor

Hello,

 

I want to add a new state 'On Hold' in Problem tickets after 'Fix in Progress' but it is not appearing on the form.

I have made changes at following places :

 

1. Added new state 'On Hold' on Problem table.

 

2. Made changes in Script Includes, since they were OOB scripts I made copy of them with suffix 1 at the end of names. Added below line :

a. Script Include : ProblemState1

    ProblemState1.STATES = {     //Only this line was added in this function

    ON_HOLD : ProblemStateSNC1.ON_HOLD, 

     }

     getProblemState1: function() {
          return ProblemState1.STATES;
     },

b. Script Include : ProblemStateSNC1

     ProblemStateSNC1.ON_HOLD = "105";

  

3. Changes in BR : Set State variables on Scratchpad
        g_scratchpad.STATE = new ProblemState1().getProblemState1();

 

Could you please assist in this.

Thanks in advance!

0 REPLIES 0