...
Code Block |
---|
var v = getVariables(); var src = await api.get('myst2/eventordersbystatus?status='+v['status']); if (!src || !fx.any(src)) { fx.stopAfterThisBlock(false); // false - stops workflow after current block and does not update dateLastRun } |
Stopping result:
...
objects are availabled
DateLastRun is updated or not: it depence on input parameter for stopAfterThisBlock
Session.vault is moved or not into myVault: it depence on input parameter for stopAfterThisBlock
Stop by click button
You can stop workflow running on workflow edit page by click on workflow button.
...