- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2022 06:53 AM
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
Help me on this
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2022 06:58 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2022 06:58 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2022 07:28 AM
Thanks
It works for me I removed " && (new ChangeProposed(parent)).canAddCI()" . And checked Add button is visible.
Thanks.