Hello,
I have configured MIDC(Method Invocation Data Collectors) on an application, to collect the status of orders, but the value is in numbers, how can I map numbers to string to create a meaningful dashboard.
for example:
1 ==> "Pending"
2==> "Approved"
3==> "Rejected"
Hi Mohamed
you can use the replaceAll Function
.toString().replaceAll(1,Pending).replaceAll(2,Approved).replaceAll(3,Rejected)
Ciao
Hi Mohamed
you can use the replaceAll Function
.toString().replaceAll(1,Pending).replaceAll(2,Approved).replaceAll(3,Rejected)
Ciao