===== 2. Hookflow Script =====
=== Hookflow script is used for inserting custom logic at a certain point in the flow===
There are //input// and //output// parameters defined in the Hookflow class.\\
The value from the parameter can be loaded by the //Get()// method.\\
Set value in the parameter can be done by the Set() methd: BackRequested.Set(true);\\
It is not possible to define additional input or output parameters.\\
**__Customization Articles for WMS scripting:__\\
[[https://support.boyum-it.com/hc/en-us/articles/7292913095325-How-to-make-custom-bin-location-list-in-Put-Away|How to make custom bin location list in Put Away]]\\
[[https://support.boyum-it.com/hc/en-us/articles/7274248186013-How-to-make-custom-bin-location-list-in-AdHoc-move|How to make custom bin location list in AdHoc move]]**
There are two classes in every HookFlow script that are pre defined in the //Execute()// method.\\
It is the **Session** and the **ISboProviderService** classes.
**References:**
using Produmex.Foundation.SlimScreen;
using Produmex.Foundation.Wwf.Sbo.LocalServices;
**Remove the comment before the variables in case you would like to use them!**
Session session = GetScopeParameter("Session") as Session;
ISboProviderService sboProviderService = GetScopeParameter("
ISboService") as ISboProviderService;
{{page>implementation:wms:wms_scripting_site:database_connection}}
{{page>implementation:wms:wms_scripting_site:screen}}