Server side actions - DronaHQ Services

You are aware of the On-screen actions that are a part of the Action flow. Studio has a range of different action blocks that take place on the server-side like updating sheets, calling a workflow, generating PDF, and undertaking different computations using the values fetched from the sheets and API connectors. These are the Server Side Actions under your Action Flow.

These are the Server-side services that include updating sheets and call workflow from current apps as well as from other Apps.

Update sheet

You are aware of the Update Sheet task that you define in your workflows to insert, update, and delete records from your sheets. These are typically actions on Form submission. These server-side tasks can also be initiated from the Action flows.

To add the Update Sheet task you need to Select Sheet from the list and Select Operation as Insert Record, Update Record, or Delete Record.

In case you are inserting records you would choose the input controls to bind to the respective columns in the sheet.

If you are using Updating records or Deleting records, you can add a filter and set the record to be deleted or updated if there are multiple records matching the filter. Under If Multiple Match you can choose whether to update or delete All, First, Last records or then None of them.

In case you are updating the records you need to bind the controls to the respective columns.

Call Workflow

There are different workflows that you would create as a part of your form submission action. These workflows can also be called from the Action flows in case you want to define the overall structure of your application with these few important processes in the background.

Under DronaHQ Services you can find the Call Workflow action which initiates the workflow defined in your current app.

To use the workflow, Select Workflow from the list.

You can then specify a condition as to when to execute the action and which environment. An Action Unique name is important that would help you identify the tasks in the flow.

Call Workflow from other Apps

We have used the Call Workflow to trigger the workflows in the current app. Similarly, under DronaHQ Services you can find the Call Workflow from other Apps which initiates the workflow defined in other apps.

To use the workflow from other Apps, you need to configure the fields as follows:

  • Select Apps: Allows you to select the App from your existing apps in the channel.

  • Select Workflow: Provides a list of Workflows from the Selected App.

  • Select Data Environment: Allows you to select the Environment for the Data fetched for your workflow.

  • Select workflow environment: Allows you to select the environment of the Workflow to be executed.

Now depending on your workflow, there would be some dynamically generated fields. So you need to bind the controls to these fields. Use Keywords to choose from your controls or variables or default keywords.

You can then specify a condition as to when to execute the action and which environment. An Action Unique name is important that would help you identify the tasks in the flow.

Generate PDF