Mustaq Pradhan [
https://community.jboss.org/people/mustaq.pradhan] commented on the
document
"if-else control flow"
To view all comments on this document, visit:
https://community.jboss.org/docs/DOC-18764#comment-10671
--------------------------------------------------
I am trying following from a script:
{code}
/interfaces=/interface=management:read-attribute(name=nic)
/if (result.value == "undefined") of
/interfaces=/interface=management:read-attribute(name=nic)
/socket-binding-group=standard-sockets/socket-binding=https:read-attribute(name=port)
/end-if
{code}
Getting following error:
{code}
[jboss@uc-j00-01 cli]$ cli --file=init-setup.cli
{
"outcome" => "success",
"result" => undefined
}
'if (result.value' is not a valid node type name.
{code}
Help, please.
--------------------------------------------------