Always check what the warning says. Even that a node is yellow does not mean that it does not work at all. It means that it does not work in some (or all) instances. The warning might give an idea of the issue at hand.
First Issue. What I see in your script is that in the top you filter out elements (with the filterbyboolmask). However in the bottom row you do not do this. That is probably the first cause of the warning in this case.
In the top row you remove dimensions that are not of type "panel". You should remove the corresponding list of values from the bottom row.
Second Issue. Look carefully at my script. In your case you extract some data from the dimension (i.e. name)
In your last node "Setbelowvalue" what do you feed in?....the name. However what that node needs is not a text/string but a dimension. This information is at the "All elements of category" node (indicated by ID in green highlight). So the filterbyboolmask should be applied on that node and then feed in the setbelowvalue. (You want apply the changes on the dimension element, not on the name of that dimension).
With nodes always check what kind of information the inputs needs (e.g. elements, string, integers, numbers).
Louis

Please mention Revit version, especially when uploading Revit files.