Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

Workflow block is in Redy status

Responses and User Logs are availabled

DateLastRun is updated or not 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.

...

You can get the full list of block statuses by this link