Let us discuss the following assertion, where $(\ast)$ stands for some extra assumption to be specified.
--- (A) --- Let $(\Omega,\mathfrak A,\mathbb P)$ be a probability space. Let $\mathfrak B\subset \mathfrak A$ be a sub-$\sigma$-field, $n\in\mathbb N$. Let $(X,Y) \in L^0((\Omega,\mathfrak B),\mathbb R^n) \times L^0((\Omega,\mathfrak A),\mathbb R^n)$ be, respectively, $\mathfrak B$- and $\mathfrak A$-measurable random vectors of our space, and $f$ a bounded Borel function on $\mathbb R^{2n}$. Then, if $(\ast)$ holds, we have, for almost any $\omega\in\Omega$,
\begin{equation} \mathbb E[f(X,Y) \mid \mathfrak B] (\omega) = \mathbb E[f(X(\omega),Y) \mid \mathfrak B] (\omega). \end{equation}
Let us continue the discussion.
--- (1) --- If the probability space if finite (= $(\ast)$), the assertion is easy to prove since every random vector takes only a finite number of values, so it suffices to prove the assertions for functions having the form $f = \mathbf 1_{A\times B}$ where $A,B\in \mathfrak B(\mathbb R^n)$ are Borel sets.
--- (2) --- This can be extended to the case where $\Omega$ is countable (= $(\ast)$), by approximation of $f$ with simple functions being linear combinations of the above-mentioned type. But the argument is based upon the assumption that the union of $|\Omega|$ many null sets is still a null set.
--- (3) --- It is rather easy to see that the assertion holds for general probability spaces if $Y$ and $\mathfrak B$ are independent (= $(\ast)$).
--- (4) --- Whence the question: Is (A) true in general, i.e. $(\ast)$ being void? I suppose no, but I did not find a convenient counterexample. Do you know one? It would be great to obtain a useful answer to this.