Search

Google Drive

Last Updated: Feb 14, 2022

Articles

Google Drive is a file storage and synchronization service developed by Google.

Design the Action steps for Google Drive Node

In the Actions tab, you can define actions to be performed in Google Drive Processing Node.

Click the Google Drive node to open the attributes pane. In the Actions tab, select one of the following options from the first drop-down:

  • G-Drive Functions: To select the required Google Drive Functions from the list in the second drop-down.
  • Custom G-Drive Function: The Custom Google Drive functions are created for specific needs if not met by the Predefined Google Drive functions. All the User Defined Functions created in the HyperApp with Type selected as Google Drive gets listed in the drop-down.
  • Call Function: To select other generic Functions from the list in the second drop-down.
    To know more about how to use Functions, click here.
  • Set Variable: To set the value for a Variable as needed in further steps. The value set can either be a constant or another variable.

Image description

Variables

All Input/Local variables of the Google Drive node are displayed under the Variables tab.

Table Definition

All Default/Custom DataTables in the task are displayed under the Table Definitions tab.

Properties of the Google Drive Node

  1. Navigate to the Properties tab and set the Name and Description properties for the node.
  2. Enable Mark run Failure on Node Fail and Continue on Failure? options as required.
  3. Select the Cluster to run on the task from the Clusters drop-down.

Image description

Result of Execution in Google Drive Node

After executing the task, the Result of Execution window displays the following tabs:

  • Input: The inputs mapped to the Google Drive node are displayed.
  • Output: The results of the actions performed are displayed in XML format.
  • Run Info: The Run Details and Machine Details are displayed.
    • Run Details include Run ID, Sequence Number, and Total Node Execution Time (in seconds).
    • Machine Details include ID, Name, Host, Port, Iteration Start Time, Iteration End Time, Iteration Time (in seconds).
  • Step Data: The details of the steps designed inside the node, the status of each step, and the values stored in the variables are displayed.
  • Formatted Output:The table data of the output variable with Type selected as Table is displayed.

Image description

When the Create Folder (Invoices, ABCD+/, example@gmail.com) function is executed, a folder with name Invoices is created in Google Drive. Image description

Did you find what you were looking for?