In this section we will dive into the technical details of creating or modifying workflows, using pre-made or custom blocks.
Info |
---|
We recommend that you review the Quick start and Best practices sections first to get an understanding of the process of setting up workflows and the terms involved in developing on Canvas. |
...
The Datasource setting will often be marked with a red star * as mandatory, since you have to specify which block will provide the input data:
...
The blocks will often have configurable parameters, shown in the “Working Area” tab, which make them easy to configure without having to modify the block code directly:
...
If your project requires additional blocks which are not available as ready-made blocks, you can either create them yourself or contact ConnectMyApps for assistance.
...
Blocks are written in modern Javascript, and . The code can be inspected, modified, and debugged directly in the browser under the Debug tab.
...
Note |
---|
When a block is “customized” it is no longer connected to the block template: If you make a change to a block template, then all non-customized instances of that block across all workflows will be updated to match the block template, but not . But if a block is customized its code will not be affected by the change made to the template. Customized blocks are essentially “forked”, and will not be updated automatically via the template. |
See this article for more information about on how you can modify test and test run blocks directly in the browser debugger:
Running blocks in the debugger
Creating new blocks
Creating new blocks is quick and easy, but it can be a good idea to put some thought into what the block should doIf you find yourself in need of a block which does not exist, you can create it itself.
In Canvas, blocks are meant to be modular and single purpose. Although it is technically possible to run the whole integration as one monolithic mega-block, we instead recommend creating new, separate blocks as needed in keeping with the Canvas philosophy. See the Best practices section for more info.
If you want to add New blocks can either be created through one of the generic block types, or by creating a new block to your workflow
Customized blocks, generic
Ready-made blocks (templates)
Drag-and-drop onto Canvas
Block settings
Block code under debug
Run in Chrome debug by pressing F12
Page Tree
Generic blocks are not specific to any app, and can be used in any workflow. See Generic blocks
Block templates allow easy reuse and management across many workflows. They also allow you to define block options for quick setup. See Creating block templates