- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 07:48 PM
Hello,
I have a requirement to create an information popup message that also lists out affected CI records when a release task is created. The message should state: "The following CIs are impacted by work done in this release". I am familiar with using gs.addInfoMessage for the message, but am really struggling to write the business rule so that the affected CIs are also listed. Any help is greatly appreciated!!!
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 10:09 PM
Also,
change this
ciLst.push(affectedCIs.getValue('ci_item'));
To:
ciLst.push(affectedCIs.ci_item.name.toString());
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 10:05 PM
Hi Aman,
This makes so much sense, but for some reason absolutely nothing is happening. I can see the Affected CIs in the related list, but when adding a new release task, using the after insert business rule, nothing is happening - not even the popup information message (??) I'm not sure why it's not working since it seems like it should ... Do you have any other suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 10:06 PM
Should I use a string value for the list of CIs?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 10:07 PM
I hope you have BR on release task table,
try changing the type to before BR then
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 10:09 PM
Also,
change this
ciLst.push(affectedCIs.getValue('ci_item'));
To:
ciLst.push(affectedCIs.ci_item.name.toString());
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 10:58 PM
Aman,
I want to THANK YOU so much for your help with this!!! It actually worked this time with the after insert business rule, by adding the to.String to the ci item. The popup message is visible now with the CIs listed. THANK YOU very much!!! I was really ((REALLY!!!)) struggling with getting this to work, so I honestly can't thank you enough for your help, but I really appreciate it.