To change the inspection mode globally or in a particular VDOM go to Dashboard -> System Information widget check for ‘Inspection Mode’ and select ‘Change’.
To change the inspection mode to ‘Flow-based’, an alert indicates that the FortiGate will convert all the Security Profiles mode to 'Flow-based' and any specific configuration for a profile in Proxy mode will be lost.
Click on the checkbox and proceed with ‘OK’.