Hi Mustafa
The point you have mentioned may not work because APPLICATION.getUserAgent(); will return the details about the browser, OS and Device in which the application is executed. For this scenario we need to use DataSource.getInfo().user ;
Thanks