GridFSPhotoOperate.bwp

This process demonstrates how to use the plug-in to insert, query, or 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 in 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 to the inserted file
DeletePhotos Invokes the DeletePhoto subprocess to delete the inserted file from the specified bucket