Unsafe behavior is a leading factor in accidents, and the working environment significantly affects behaviors. However, few studies have focused on detailed mechanisms for addressing unsafe behaviors resulting from environmental constraints. This study aims to delineate these mechanisms using cognitive work analysis (CWA) for an elevator installation case study. Elevator installation was selected for study because it involves operations at heights: falls from heights remain a major cause of construction worker mortality. This study adopts a mixed research approach based on three research methodology stages. This research deconstructs the details of the working environment, the workers' decision-making processes, the strategies chosen given environmental conditions and the conceptual model for workers' behaviors, which jointly depict environment-behavior mechanisms at length. By applying CWA to the construction industry, environmental constraints can easily be identified, and targeted engineering suggestions can be generated.