filter_state

--filter_state=<states>

States for selecting objects to be output. The parameter is used with the list activities, list tasks, and list plans commands. If the parameter is not specified, objects with any state will be listed.

For the list activities command, you can specify one or more of the following states: running, paused, waiting, waiting_for_children, or completed.

For the list tasks and list plans commands, you can specify one or more of the following states: idle, waiting, running, or need_interaction.