The present work aims to analyze the properties of the working conditions recorded in the Sixth European Working Conditions Survey (EWCS); with it, it has being built seven independent indexes about different aspects of work’ quality in the health sector, and these constructs are used to evaluate their effects on work engagement (WE). In this sense, the originality of incorporating teamwork as a modulating variable is included. To analyze the effects of the job quality index (JQI) on the WE, a logistic regression model is proposed for a total of 3044 workers within the health sector, differentiating between those who work or not in a team; in a first stage and these estimates are compared with those obtained using an artificial neural network model, and both are used for the consideration of the research hypotheses about several causal factor. An important contributions of the study, it is related to how work commitment is mainly influenced by prospects, social environment, intensity and earnings, all of them related to job performance. Therefore, knowledge of the determinants of work commitment and the ability to modulate its effects in teamwork environments is necessary for the development of truly sustainable Human Resources policies.