How can we add 'Add' button in affected ci tab on Change Request related list

prasad8
Giga Expert

I need to configure Add button in Affcted ci tab in change related list,

Here my Add button Ui action condition :

RP.isManyToMany() && (new ChangeProposed(parent)).canAddCI() && current.canCreate()  && parent.active == true && gs.getProperty('com.snc.task.associate_ci').indexOf(parent.sys_class_name) > -1 

 

find_real_file.png

 

Help  me on this 

1 ACCEPTED SOLUTION

Filipe Cruz
Kilo Sage
Kilo Sage

Hello prasad,

 

I think that is the exact same condition that appears in the PDI:

RP.isManyToMany() && (new ChangeProposed(parent)).canAddCI() && current.canCreate() && parent.active == true && gs.getProperty('com.snc.task.associate_ci').indexOf(parent.sys_class_name) > -1

 

I would recommend you to remove the condition and see if the button appears. 
If so, start adding each condition until you identify which one is preventing you from seeing the "Add" button.

If this answer is relevant for you, please mark it as correct/helpful.

Thanks,

Filipe

View solution in original post

2 REPLIES 2

Filipe Cruz
Kilo Sage
Kilo Sage

Hello prasad,

 

I think that is the exact same condition that appears in the PDI:

RP.isManyToMany() && (new ChangeProposed(parent)).canAddCI() && current.canCreate() && parent.active == true && gs.getProperty('com.snc.task.associate_ci').indexOf(parent.sys_class_name) > -1

 

I would recommend you to remove the condition and see if the button appears. 
If so, start adding each condition until you identify which one is preventing you from seeing the "Add" button.

If this answer is relevant for you, please mark it as correct/helpful.

Thanks,

Filipe

Thanks @Filipe Cruz ,

 

It works for me I removed " && (new ChangeProposed(parent)).canAddCI()" . And checked Add button is visible.

 

Thanks.