Understanding Snap

Understanding Snap

Snap is a visual scripting language designed to allow admins to easily specify business rules for their company. Snap is used in many places in the admin portal, including configurators, workflows, and outputs. The language consists of individual blocks which you can drag out of a toolbox and connect to other blocks to create complex expressions and operations. Each place where Snap is used includes blocks that are contextual to the purpose of the rule. For instance, a configurator workspace will include blocks specific to the configurator you are modifying, while a workflow workspace includes blocks to specify states the quote can be in, as well as permissions and other workflow-related operations and settings.

This section provides an overview of how Snap works in general, as well as give some insight as to the best way to use Snap blocks and some example code.

 

 

Was this article helpful?