Hi Shashank,
To achieve this functionality, you can use "${P_mode}" in the URL used for home icon. Example: "url" : "/live/customer_id/appli/homepage_id?P_mode=${P_mode}&P_version=${P_version}".
"${P_mode}" will print the current mode/environment. Kindly try this out and confirm if this works for you.
Best regards,
Fujitsu RunMyProcess Support