Resources

Last modified: August 15, 2025

Introduction

Resources are helping documents in a module that cannot function on their own but can be used in other documents. For example, a microflow or a page can function on its own, but a Java action can only function in a microflow.

Resources can be reused in different modules of your app.

Adding Resources

To add a resource document, do the following:

  1. In the App Explorer, right-click the module or a folder you want to add a resource to and select Add other:

  2. In the Resources category, select the document you would like to add to your app.

Resources Overview

The Resources category contain various document types that can be used in different editors of Studio Pro:

ElementIs used inDescription
DatasetPagesDatasets define the data shown in reports widgets.
Java actionMicroflowsJava actions can extend the functionality of your application. They can be called from microflows.
JavaScript actionNanoflowJavaScript actions can extend the functionality of your application. They can be called from nanoflows.
Task queueMicroflows and Java actionsA Task queue allows you to run microflows or Java actions asynchronously while controlling the number of tasks that are active.
RuleMicroflowsRules contain the application logic that should result in an enumeration or a Boolean. They are used in decisions in microflows.
EnumerationDomain modelEnumerations are used to define attributes of an enumeration type.
ConstantMicroflow expressions and Consumed web servicesConstants are used to define configuration values.
Regular expressionDomain modelRegular expressions are used in validation rules to define criteria that a string should match to pass the validation. They cannot be used in other places which require regular expressions (for example, the isMatch() function).
Scheduled eventMicroflowsScheduled events let the runtime execute a microflow at a specific moment in time.
Document template(deprecated)MicroflowsDocument template is used to format the document in a client and to download or print it.

Read More