Version: 1.0.8 · ID: zoan-packages-core · Author: Zoan Software
The Core package contains the fundamental activities that structure any automation: making decisions, repeating actions, handling errors, storing data and recording what happens. They don’t automate a specific system (Browser, Excel, etc. do that); they organize the flow of the playbook.
They are installed by default: you will always find them in the palette under the Core group.
If this is your first automation
These are the activities you will use the most. It is worth understanding three concepts first: variables (where data is stored), expressions (how values are calculated with C# formulas) and sub-flows / lanes (how some activities contain others).
Activity Type What it does If / Elseif / Else ifRuns one branch or another depending on a condition
Activity Type What it does For Each foreachRepeats for each element of a list or table For Loop for-loopRepeats a counted number of times While whileRepeats as long as a condition is true Break breakExits the loop immediately Continue continueSkips to the next pass of the loop
Activity Type What it does Try / Catch try-catchCatches errors and lets the flow continue Retry retryRetries a block that fails Throw throwThrows an error on purpose Should Stop should-stopTells whether someone asked to stop the execution, to stop cleanly
Activity Type What it does Set Variable set-variableAssigns a value to a variable
Activity Type What it does Log logWrites a message to the execution log Log to File log-to-fileAppends a log line to a file Comment commentDocumentation note on the canvas (no effect at run time) Delay delayWaits for a while before continuing Invoke Playbook invoke-playbookRuns another playbook and brings back its results Invoke Process invoke-processRuns another process published in Zoan Cloud and brings back its results
I want to… Use Do something only if a condition is met If Process each row of an Excel sheet / each email in a list For Each Repeat N times (e.g. 10 pages) For Loop Repeat until something changes While Keep one error from stopping the whole bot Try / Catch Retry an unstable action (slow website, network) Retry Stop the bot with a clear error message Throw Stop at a safe point when someone asks to stop the execution Should Stop Store or change the value of a variable Set Variable Keep a record of what happened (to diagnose) Log Keep a log in a file of your own Log to File Document the flow with a note Comment Wait for a system to react Delay Reuse logic in another playbook Invoke Playbook Reuse an already published process (for example, a login) Invoke Process