--- title: "system.alarm.getShelvedPaths" description: "Returns a list of ShelvedPath objects, which each represent a shelved alarm." --- # system.alarm.getShelvedPaths > Returns a list of ShelvedPath objects, which each represent a shelved alarm. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](ignition-modules\vision\vision-project-properties\vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.alarm.getShelvedPaths()` ### Parameters Nothing ### Returns **List[ShelvedPath]** - A list of ShelvedPath objects. See [Scripting Object Reference](appendix\reference-pages\scripting-object-reference\scripting-object-reference.md#shelvedpath). ### Scope Gateway, Vision Client, Perspective Session ## Code Examples ```python title="Example #1" # The following code prints a list of the shelved alarms paths and prints them to the console. paths = system.alarm.getShelvedPaths() for p in paths: print "Path: %s, Shelved by: %s, expires: %s, is expired? %s" % (p.getPath(), p.getUser(), p.getExpiration(), p.isExpired()) ```