Skip to main content
11-Garnet
June 12, 2024
Question

How can we get affected end item of affected objects through API

  • June 12, 2024
  • 2 replies
  • 764 views

Hi @BjoernRueegg 

In reference of a discussion in old topic

 

How can we get affected end item of affected objects through API

2 replies

Community Moderator
June 12, 2024

Hi @AA_9841156 

Thank you for your question. 
I’d like to recommend to bring more details and context to your question

It also helps to have screenshot(s) to better understand what you are trying to do in your process. 

This will increase your chances to receive meaningful help from other Community members. 

Thanks & Regards,
Community Moderation Team.

HelesicPetr
22-Sapphire II
22-Sapphire II
June 12, 2024

Hi @AA_9841156 

As I answered with PS šŸ˜„

Try to check following code> especially getAffectedEndItems

 

NmHelperBean helperBean= ((JcaComponentParams)componentParams).getHelperBean();
NmCommandBean nmCommandBean= helperBean.getNmCommandBean();
ChangeItemQueryCommands.getAffectedEndItems(nmCommandBean);

 

btw the API for problemreport  is

 

ChangeHelper2.service.getProblemProducts((ChangeIssueIfc)changeIssue);

 

PetrH

olivierlp
Community Manager
June 21, 2024

Hi @AA_9841156 ,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation. 

Thanks,

Olivier