[WFCORE-207] write- and undefine-attribute are not runtime-only ops

https://issues.jboss.org/browse/WFCORE-207