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 The workflow and block is are in Redy statusstatuses

  • Response and User Log are availabled

  • Session 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

...