You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
Jerry Liu edited this page Jan 22, 2015
·
4 revisions
Why do we want to do so?
When a workflow suspends during execution, in order to resume running it, we have to disable all previously passed commands before clicking the run button again. Otherwise, those commands will be executed one more time which is not likely what we want in most cases.
Although disabling an individual command is as easy as clicking the right most button on the command bar, it could be an annoying job especially when the workflow contains many commands.
So it's much more user friendly to provide a way to do this automatically.
How to do so on workflow UI
Simply to check the check box on top right corner. It's checked by default.
Please note that the command for defining global variables will never be automatically disabled because it's usually used to provide parameter values for other commands. Disabling it may cause unexpected results.
When shouldn't we do so?
Obviously, the check box should not be checked when we need to run the workflow for more than one iterations.