Execute Connection Command
Last updated
Last updated
Use the block for invoking the based .
Connection Name: that accepts a value representing the name of the to use.
Command: that accepts a value representing the of the to use.
Data: Optional that accepts an value representing the data to be used when invoking the command/operation. Refer to the specific commands documentation for further details.
Success Tasks: a where you connect blocks that specify what you want done when the operation completes successfully. The block can be used to access the output of the command/operation.
Fail Tasks: a where you connect blocks that specify what you want done when the operation reports an error. The block can be used to access the error information.
The image below shows an example of the Execute Connection Command
block where the command iccPaymentIntent1 ( ) is invoked for an amount of 100.
Upon success, the block is used to access the client_secret and publishable_key properties from the block which represents the output of the command. The client_secret and publishable_key properties are called to the function process payment.
If there was an error with the operation, the block is used to show the error information.