Mark Struzinski Posted May 22, 2018 Share Posted May 22, 2018 Hi. I'm relatively new to writing workflows, and this is my first attempt at a complex one. I'm trying to get the user to select from one list, then another, via 2 script filters. My use case is letting the user select a git branch, then a second git branch, then running a bash command to open a diff tool that diffs the 2 branches. I've got both script filters running and populating results. The problem I'm having is being able to reset between the first script filter and the second. When the first one runs, because it's connected to the second one, it pre-populates the second one with the selection from the first one. I then have to clear that pre-populated input on the second filter and select the 2nd branch. After that, everything runs as expected. My setup is basically this: Script filter 1, selection populates a variable Script filter 2, selection populates another variable Run Script action runs, and uses the 2 variables to perform a command. I'm sure I'm just modeling this wrong in my head. Is there a better way to do this or am I doing things wrong? Link to comment
vitor Posted May 22, 2018 Share Posted May 22, 2018 Setup an Argument and Variables Utility between them and make the argument empty. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now