Pliant Meta-blocks
Overview
Pliant supports a list of handful meta-blocks executing particular actions.
Action
- the most common block. Each of Pliant’s integration blocks areactions
. Same goes for the most of theCommon
ones. Actions are sub-flows which are being executed in the scope of their parent flow.Assign
- used to assign a value to a variable. It is a simplified version of theFunction
block. More information: AssignAuth Override
- used to override authentications by selectingauthKey
. All overridable parameters are listed in the node so the user can choose what values to set to the properties and use theresult
of theAuthOverride
block down the flow. More information: AuthOverride, AuthOverrideJSONBreak
- used to exit from a loop. More information: BreakComment
- used for adding descriptive texts in the flow. TheComment
block is a flow that does nothing.Continue
- used to skip the current iteration of a loop. More information: ContinueEnd
- the last node of the flow. It doesn’t have any input and output parameters.Exit
- used to terminate the flow. It doesn’t have any parameters. It always connects to theEnd
node. More information: ExitForEach
- used for looping over a collection (array) of items. More information: ForEachForEach Parallel
- same asForEach
but it provides the option to run multiple iterations in parallel. More information: For Each ParallelFunction
- used for writing custom code/scripts. Anything that can be done by using all the other blocks could be done withFunction
blocks as well. More information: FunctionGoto
- used for changing the direction of a flow. It expects the node that the flow’s execution should continue with. Currently,Goto
is an internal block!If
- used for splitting the logic of the code by using a condition.If
block contains two subsequences -then
andelse
. More information: IfParallel Repeat
- same asRepeat
but it provides the option to run multiple iterations in parallel. More information: Parallel RepeatRepeat
- used for repeating a subsequencen
times. More information: RepeatStart
- used for defining flow’s variables. It is not part of the actual nodes collection in a flow. More information: StartSwitch Case
Throw
Try
- used for ensuring that a subsequence will not finish the execution with failure because of a thrown error. It contains two subsequences -try
andcatch
.Catch
subsequence is executed if there is an error thrown in thetry
subsequence. More information: TryWhile
- used for looping until a given condition istrue
.