GridFSPhotoOperate.bwp
This process demonstrates how to use the plug-in to insert, query and delete a file from a specified bucket.
The process is designed with the following activities:
The following table describes the activities in the process.
Activity | Description |
---|---|
Timer | Starts the process. |
CreateGridFSFile | Invokes the CreateGridFSFile subprocess to insert a file into the specified bucket and specify a new name for the inserted file. |
QueryGridFSPhotos | Queries the inserted file from the specified bucket. |
JavaCode | Obtains an instance of InputStream and writes the file stream into the inserted file. |
DeletePhotos | Invokes the DeletePhoto subprocess to delete the inserted file from the specified bucket. |
Copyright © Cloud Software Group, Inc. All rights reserved.