Hi,
This will work in version 6.0, where macros will be slightly modified again.
In current version, you can use nested macro to compare it with the result - the macro resolver is called again to resolve the macros in result.
In the above example you are comparing the returned value by the first macro (the node owner ID) to string "{(2)%currentdocument.nodeowner%(2)}" which returns false.
It will work in this way:
{(1)%currentdocument.nodeowner|(equals)84|(truevalue){(2)%currentdocument.nodeowner%(2)}%(1)}
as it is shown in the
CTO's blog post.
Best regards,
Juraj Ondrus