How to show the related Business Service of a configuration item in change

keithcox
Giga Expert

I have a request to display the related business services of any configuration item listed on the change form. I am trying to create a relationship to display this information but it returns all business services in the cmdb and not just the ones that the CI are related to. Example- I list a server x on the change form and there are 5 Business services dependent on this server. I would like to show this information in its own related list. Below is the screenshot of the Relationship I am attempting to use.

find_real_file.png

But it shows all 40 business services in the change form where this particular server only had 5 related to it.

find_real_file.png

Any help is much appreciated.

Thanks,

Keith

1 ACCEPTED SOLUTION

If you want to have it update without them using the UI action, take a look at the UI action and move the logic to an async business rule. Don't use BEFORE - that's for updating the current record. You're not doing that. You're updated related records. Don't use AFTER or the poor person may have to wait a long time for their record to save.



Using async will process it in the background. As a result, the updated Impacted Services may not show on the list immediately, but they will get updated without holding the user hostage.


View solution in original post

10 REPLIES 10

If you want to have it update without them using the UI action, take a look at the UI action and move the logic to an async business rule. Don't use BEFORE - that's for updating the current record. You're not doing that. You're updated related records. Don't use AFTER or the poor person may have to wait a long time for their record to save.



Using async will process it in the background. As a result, the updated Impacted Services may not show on the list immediately, but they will get updated without holding the user hostage.


keithcox
Giga Expert

Thank You Chuck


Hi Keith,



Let me know if that solves your issue or you become blocked.


keithcox
Giga Expert

Hi Chuck, It worked just fine. thanks


You are welcome. Please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.



If you are viewing this from the community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thank you