cancel
Showing results for 
Search instead for 
Did you mean: 

Expand/Collapse all Actions button

Please will you add a button to the ribbon which allows you to expand/collapse all the Actions within your Flow.

Status: New
Comments
CFlorian
Frequent Visitor

I am trying to find instances of variables (I put the variable names in the Action titles) and with a large workflow it takes a minute or two to go through the entire thing and expand each block.

This is not whining over a small amount of extra work because every time you add a new action EVERYTHING collapses like a 10-year-old's house of cards!  Please add this one!

HEATFreight
Super User

@heinrichbenade @CFlorian Try this bookmarklet! Works perfectly for me.

https://blog.magnetismsolutions.com/blog/paulnieuwelaar/2020/05/27/expand-collapse-all-actions-for-m...


image_thumb_3.png

javascript&colon;var expand=expand!==undefined?expand:true;var maxTries=10;var expandCollapse=function(){console.log("----Expand groups: "+expand);var groups=document.getElementsByClassName("msla-card-title-group");var hasClicked=false;for(var i=0;i<groups.length;i++){var actionHeader=groups[i];if(actionHeader.getAttribute("aria-expanded")!==""+expand){console.log(actionHeader.getAttribute("aria-label")); actionHeader.click();hasClicked=true;}}if(hasClicked&&--maxTries>0){setTimeout(expandCollapse,1000);}else{console.log("----Done");expand=!expand;}};expandCollapse();