# Action command is showing the output of leaf name

**URL:** <https://dmap-community.ductus.global/t/action-command-is-showing-the-output-of-leaf-name/1791>\
**Category:** YANG\
**Created:** [February 14, 2018, 12:52pm UTC](https://dmap-community.ductus.global/t/action-command-is-showing-the-output-of-leaf-name/1791 "2018-02-14T12:52:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bibin](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@Bibin](https://dmap-community.ductus.global/u/Bibin)\
**Post date:** [February 14, 2018, 12:52pm UTC](https://dmap-community.ductus.global/t/action-command-is-showing-the-output-of-leaf-name/1791/1 "2018-02-14T12:52:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vsnowball](https://avatars.discourse-cdn.com/v4/letter/v/278dde/32.png) [@vsnowball](https://dmap-community.ductus.global/u/vsnowball)\
**Post date:** [February 15, 2018, 11:17am UTC](https://dmap-community.ductus.global/t/action-command-is-showing-the-output-of-leaf-name/1791/2 "2018-02-15T11:17:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bibin](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@Bibin](https://dmap-community.ductus.global/u/Bibin)\
**Post date:** [February 15, 2018, 1:18pm UTC](https://dmap-community.ductus.global/t/action-command-is-showing-the-output-of-leaf-name/1791/3 "2018-02-15T13:18:46Z")

</div>

Thanks It worked 🙂

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

---

<div class="post-metadata">

**Author:** ![Bibin](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@Bibin](https://dmap-community.ductus.global/u/Bibin)\
**Post date:** [February 19, 2018, 2:29pm UTC](https://dmap-community.ductus.global/t/action-command-is-showing-the-output-of-leaf-name/1791/4 "2018-02-19T14:29:21Z")

</div>

Any update on this ??

Regards,  
Bibin
