When using Decision Steps and there is no standard decision available, a custom decision can be used. The custom stored procedure needs to return wither a True or a False as shown below.

 

The standard is that two parameters (JobID and ScanData) are passed to the stored procedure. Even though in this case there is no scanned data, defining these two parameters for consistency is required. If data from a previous step is required for the decision to be made, then rather than finding this value manually, it is strongly recommend to add a third parameter to the stored procedure. This step can then be mapped using the step mapping form on the custom decision definition.

 

 

Sample Custom Decision