Changing Block Operation Type
Use the Change Block Type option in Integration Maps to modify the operation type of an existing operation Block configured in a Map. For example, assume you have a Create operation Block in your Map. You later realize that an Update/Insert Block is better because it updates existing records and inserts new records in one operation. Select Change Block Type on the Block Gear menu , to change the operation within the Block instead of deleting the old Block and configuring a new Block.
Using The Change Block Type Option
Block type must be one of the following operation Blocks:
Consider the following:
- You must save the Map before you can use the Change Block Type option.
- Only active Blocks in the stack can be changed. Blocks on the workspace, but outside the active stack cannot be changed.
- Only the operations supported by the entity configured within the selected Block are available as new operations for that Block.
- If the original Block is referenced in the formula of another Block, those references are updated when the type is changed.
- Common elements between the old and new operation are preserved. All other elements are dropped. If the configuration of the modified Block is incomplete, an Error () icon displays.
Below are some examples of what happens to elements when operations are modified.
- Changing a Create Block to an Update/Insert Block causes an Error () icon to display, because the Matching Criteria required by the Update/Insert Block are not configured.
- Changing an Update/Insert Block to a Create Block drops the Matching Criteria because Create does not use that information.
- Changing an Update/Insert Block to a Delete Block retains the same Matching Criteria and uses it to select records to remove.
Changing A Block Type
- Navigate to the Solutions page and select an existing Solution.
- Select Edit to open the Solution and scroll to the Maps section.
- Select a Map from the list.
- From the Gear menu, select Edit.
- Select the operation Block that you want to change.
- From the Block Gear menu , select the Change Block Type option. The Change Block Type dialog displays.
- Select a Block new type from the drop-down list and select OK. If the configuration of the modified Block is incomplete, an Error () icon displays.
- From the Block Gear menu , select Edit.
- Complete the configuration and select OK.
- Select OK on the Map to save it.