query='portal_type:="Manufacturing Execution" AND causality_uid: ('+causality_uid_list.join(', ')+') AND NOT simulation_state: ("draft", "cancelled")';
query='portal_type:="Manufacturing Execution" AND causality_uid: ('+causality_uid_list.join(', ')+') AND NOT simulation_state: ("draft", "cancelled")';