I'm building a graphical model in QGIS 3.4 to check if a point feature with a specific value in the A field is within a polygon with the same value in B field.
The image displays the draft of the model.
I set two vector layers as input (point layer and polygon layer), then I added the algorithm "Join attributes by location". After I tried to use "Select by attribute" to compare the attribute values between two fields and I continued adding "Extract selected feature" algorithm.
My issue is in "Select by attribute" part, I don't know what I need to write in the "Value" field or if there are other solutions to compare the value of the two fields. 
I found this post that uses actions but I prefer Graphical Modeler.

overlay_containsoroverlay_withinfunctions. You should be able to use the Extract by expression tool without even having to build a model, I think.