Now call a workflow even from another app

What is the need for Call workflow from another App?

You are now well versed with creating Apps in Studio with workflows for a range of different tasks like update sheet, create PDF, send notification or send an email, and so on. You must have also tried the Action flows to customize actions visually with On-screen actions as well as server-side actions. Typically when using the workflow you must have seen that a workflow would be available only within the respective App that it is linked to. However, we realized that at times you may need the same workflow in other Apps as well. We are thus introducing the new feature in workflows as well as the action flows that enable you to call a workflow from another App.

Where is the Call workflow from another App feature?

Now you are already aware of the workflows and the Action blocks. You will find the Call Workflow of Another App feature under Workflow > DronaHQ Services when you are creating a workflow. Similarly, you can also find the feature under Action Flow> Server-side Actions > DronaHQ Services. You can configure the workflow from here to use the respective workflow from another App.

How to use the Call Workflow from Another App in workflow or action flow?

In the Builder, go to the Workflow or Action flow and click Call Workflow from another App, and click Continue.

It is very important to properly configure your workflow of another App. So now under Configure Connector Fields, provide the necessary details of the workflow. First, select App from the App menu after which Select App Version is auto-selected. You can either select the workflow from the current App or another app that you may have developed. Now from the selected App, Select Workflow. Once you select the workflow, the respective tables, token, data environment, workflow environment, use email, and Source are auto-populated. You can choose appropriately from the multiple options that may be available for each.

You will also find the list of Dynamically generated fields, which are input fields of the screen to twitch the selected workflow is added. Click Continue.

Add the Task name, task description, environment, condition to when to execute (if any) and add variables if you want to use response value. return some value or send a response. Click Finish. You will find similar steps in the Action flow also.

Now your configuration is complete. Whenever you use the App and submit the form or trigger the action, the Workflow from Another App will be called and response or output received accordingly.

This gives you further capabilities to make use of common workflows across multiple apps and save your time in design and developing the app.

In case you have any thoughts, suggestions or feedback? We’d love to hear from you. Head to our forum to share in our Suggestions Section.