You can use this type of script to limit where your behaviour will act. The script will make the behaviour only work on the action(s) you specify. You can configure simple conditions through the UI by default, but are able to configure more complex operations and conditions programatically. For example, suppose you want to make a field required on screens where the action name is "Start Progress" or the destination step name is "Done"? This script provides an examples of how to achieve that.