Affected CI 'Add' button to be visible on New and Assess state of Change Request and always visible to users having Change_manager role .

Mishu
Tera Expert

Hello Experts,

I am stuck with thie below issue

Affected CI 'Add' button to be visible on New and Assess state of Change Request and always visible to users having Change_manager role . 

There is a script include ChangeProposed responsible for this , i modified the condition , its visible on New and Assess state now but then not able to add Affected CI to the list and How to bring add button always available for Chnge manager role? see screenshot attached


 

Kindly help !!

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

add one more condition like this

        if ((this._changeRequest.isNew() || this._changeRequest.isAssess()) && gs.hasRole('change_manager') )
            return true;

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

This condition is not working, its not showing on Assess also now for itil users. And for change manager role also its not showing on all states

There was a OOB Business Rule ' Read Only CI when not new' which i deactivated and then was trying to update this script include as per the requirement. 

 

I could achieve the button visibility on New and Assess but on assess state, when i click on Add button for Affected CI , the CI did not get added to the list under Change ...and for change Manager role also 'Add' feature was not coming in all states of Change.

Hi @Ankur Bawiskar  ..Can you suggest where the correction is required or if I m missing out something?