Steps to perform Microsoft Azure Storage Append Block operation

Summary:

This article describes step-by-step process of performing Append Block operation in Microsoft Azure Storage.

To perform Append Block operation, Put Blob operation needs to be executed first. Put Blob call creates append blob and only initializes the blob, to add content to an append blob Append Block operation should be performed.

Prerequisites:

• The user needs to have a working Microsoft Azure Storage Account
• Working webMethods.io tenant

Contents:

How to create flow service to perform Append Block operation in Microsoft Azure Storage

Steps:

  1. Select Microsoft Azure Storage v2019-12-12 connector and Select predefined operation blobPutBlob
    image
    image

  2. Provide input fields: type as AppendBlob, containerName and blobName to create Append Blob
    image
    image

  3. Use Amazon S3 connector to pass file as stream to appendBlock operation
    (Upload file to Amazon S3 by following article FlowService for uploading files to Amazon Simple Storage Service (S3) bucket in webMethods.io - Knowledge base - Software AG Tech Community & Forums )

    After uploading file to Amazon S3, Select Amazon S3 connector in flow service, select operation getObject and provide input bucketName and objectName

    image
    image

  4. Select Microsoft Azure Storage predefined operation blobAppendBlock to add content to an append blob created using Put Blob operation
    image

  5. Map input fields and name the flow service and click on Save
    image
    image

  6. Run the created flow service
    image
    image

  7. After successful execution of the operation, we can verify the created append blob and content from the Azure portal.
    image

Sample Flow :
Azure_Storage_blobAppendBlock_recipe.zip (7.4 KB)