A Useful Blog
Here is a useful blog that shows how to configure the application that is opened in My Inbox for a specific task: https://community.sap.com/t5/technology-blogs-by-sap/my-inbox-open-task-swfvisu-configuration/ba-p/13292774
There is the Open Task button in My Inbox if you use desktop PC or laptop PC to invoke the functionality. Using the new types with parameters, the My Inbox creates the appropriate Web application call, for example, to start a Web-Dynpro application or a UI5 Application.
It opens another window to execute the task.
If there is no configuration in the SWFVMD1 table, SAPGUI for HTML windows is opened in a separate tab.
The URL is generated in the ERP back end: http ://<host>.<domain>:<port>/sap/bc/gui/sap/its/webgui/?~transaction=SWNWIEX&P_WI_ID=000001122380&P_APPL=NOTIF&P_ACTION=EXECUTE&~OKCODE=ONLI&sap-ui-theme=sap_bluecrystal&sap-client=800&sap-language=EN.
Please note that the Open Task button is not available in mobile and tablet devices because SAPGUI for HTML or WebDynpro application which is opened does not fit in mobile and tablet screen size.
By controlling URL generation with SWFVMD1 configuration, you can open existing application via http. It helps for reducing app development workload if you use many different type of workflow scenarios. You can use existing application for transition period until you develop custom Fiori app for a dedicated object.
SWFVMD1 configuration has been used for long time in the Portal UWL and SAP Business Client (NWBC). For example, when you execute a workitem in the Portal UWL, WebDynpro screen comes up for executing an action.
The URL generation logic is in the class CL_SWF_UTL_URL_GENERATE.
You specify the visualization parameters as a view cluster