Request in other Request

Good morning, I am testing my site and would like to know how to test the value of a ComboBox when joining another Request, for example.

I have a request only from the “period” combo box that contains “morning, afternoon, evening”. I have another employee list request that the combo box is on the same page of this list as I do in the tests for when I click the combo box, select morning, make sure you have filtered only the employees that contain the morning period?

REQUEST COMBOBOX PERIOD

let responseJson = JSON.parse(responseBody);
pm.tests(“Testing”,function(){
for(var value in responseJson){
if(responseJson[value].code === 1){
console.log(“Morning”);
}else if(responseJson[value].code === 2){
console.log(“Afternoon”);
}else{
console.log(“Evening”);
}});

REQUEST LIST EMPLOYEES
let responseJson = JSON.parse(responseBody);
pm.tests(“Test”,function(){
var count1 =0,count2=0,count3=0;
for(var value in responseJson){
if(responseJson[value].codePeriod === ??(value Request ComboBox)){
count1++;

}tests[“Employee with period Morning”] = count1>0;

How do I implement this to work? For one request to complete the other?