Action command is showing the output of leaf name

Hi,

While testing action command it is showing the output leaf name.

[local]#application showpid
**returnValue** ASWD-22-1   pid:15330
ASWD-22-2       pid:15864

[local]#

tailfext:action showpid {
                        description "Displays PID's for all processes of application.";
                        tailfext:actionpoint "app-action";
                        output {
                                leaf returnValue {
                                        type string;
                                        mandatory true;
                                        description "Result for show pid is displayed.";
                                }

                        }

                }

Can you suggest how remove the returnValue from the action command when the output is displayed.

Regards,
Bibin

output
{
leaf result
{
tailf:cli-drop-node-name;
type string;
}
}

1 Like

Thanks It worked :slight_smile:

One more query i am not able to use my action commands , till i configure something on my application module.

is it possible to use action commands without configuring ?.

Regards,
Bibin

Any update on this ??

Regards,
Bibin