cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to ignore IDs from BT names in the custom POJO

Mohamed.Adel
Builder

Hello,

I have configured a custom POJO rule to detect and split business transactions(refer to screenshot), but I noticed that some business transactions have IDs at the end of them(refer to screenshot)

Example:
BT name: wso2./identity/accounts/4.0.0/users/profile/bca2fe18-e665-4d9b-a764-df3e839f6024 

How to ignore this id in the custom POJO rule configured?wso2-rule.PNGBTS.PNG

1 REPLY 1

Mohamed.Adel
Builder

Solved by @ahmed.zaki  by configuring the getter chain of the custom match rule to: getOptions().getTo().getAddress().split(V).[0,1]