Example Flows
- Simple Transfer
-
Perform a file or directory transfer with a time limit.
- Move (copy and delete) files
-
Perform a 'move' operation on a directory by first transferring from a source to a destination and then deleting from the source.
The entire directory’s contents, including files and subdirectories, will be copied to the destination and then deleted from the source.
- Transfer and Share Files
-
Copy data to a Guest Collection and create a new read-only permission to allow a user or group to read the data from that location.
- Evaluate preliminary results
-
Evaluate preliminary results of an experiment. If the results look good, more expensive steps can be performed.
- Two Stage Globus Transfer
-
Transfer from source to intermediate and then from intermediate to destination. Remove from intermediate after completion.
- Approve publication
-
Generate a report from a data set using a Globus Compute function, then request publication approval before ingesting to Globus Search.
- Web Inputs: Admin signoff
-
Require admin approval before transferring data into a secure enclave.
The flow is designed with these assumptions and requirements:
-
The destination collection’s Associated Flow Policy lists this flow as its requirement when the collection is the destination in a transfer.
-
The administrators who can sign-off on the transfer request are all part of a single Globus group.
-
The administrators are not notified by the flow that approval is required (this could be added using the Notification action provider, which would require one additional state in the flow definition).
Instead, it is expected that they will regularly check the Globus Web App for notifications that a Web Input is awaiting their response.
-
- Transfer After Approval
-
Allow users to submit an approval request to transfer a file to a destination Guest Collection.
- Looping Batched Move
-
Use transfer and deletion to 'move' files from a source to a destination, in batches of 100 files. Repeat this process until the source directory is empty.
- Tar and Transfer Files with Compute
-
Use Globus Compute to bundle files into a tarball, which you then transfer using Globus Transfer.
Two examples are included here, one in which the files are located on the server which runs Globus Compute, and one in which the files are on a user’s machine and must be moved to the Compute host.
- Tar and Transfer for collections with an associated flow policy
-
Use Globus Compute to bundle files into a tarball, which you then transfer using Globus Transfer.
Two examples are included here, one in which the files are located on the server which runs Globus Compute, and one in which the files are on a user’s machine and must be moved to the Compute host.
These two examples are modified versions of the original tar and transfer examples. They are expected to be invoked from the Globus webapp when initiating a transfer where the source / destination collections have an
associated_flow_policywith this flow.