Hi everyone, 
Does anybody know how Galaxy currently determines which outputs from a tool are shown when a workflow is run? I'm currently dynamically creating workflows based on the number of given inputs and iterating through all "HideDatasetAction*" for each tools "post_job_actions" to figure out the total number of steps that will be run.  

"post_job_actions": {
                "HideDatasetActionoutput": {
                    "action_arguments": {}, 
                    "action_type": "HideDatasetAction", 
                    "output_name": "output"
                }, 
                "HideDatasetActionoutput_suppressed_reads_l": {
                    "action_arguments": {}, 
                    "action_type": "HideDatasetAction", 
                    "output_name": "output_suppressed_reads_l"
                }, 
                "HideDatasetActionoutput_suppressed_reads_r": {
                    "action_arguments": {}, 
                    "action_type": "HideDatasetAction", 
                    "output_name": "output_suppressed_reads_r"
                }, 
                "HideDatasetActionoutput_unmapped_reads_l": {
                    "action_arguments": {}, 
                    "action_type": "HideDatasetAction", 
                    "output_name": "output_unmapped_reads_l"
                }, 
                "HideDatasetActionoutput_unmapped_reads_r": {
                    "action_arguments": {}, 
                    "action_type": "HideDatasetAction", 
                    "output_name": "output_unmapped_reads_r"
                }
            }, 

In the latest galaxy, there no longer seems to be any "HideDatasetAction*" in each tools "post_job_actions" options. How does Galaxy know which output files for a tool it should show or process? 

Does it have to do something with "RenameDatasetAction*"? 

            "post_job_actions": {
                "RenameDatasetActionoutput_file": {
                    "action_arguments": {
                        "newname": "19_output_file"
                    }, 
                    "action_type": "RenameDatasetAction", 
                    "output_name": "output_file"
                }
            }, 

Any guidance would be much appreciated. 
Thanks, 
Richard