Skip to main content

Include functionality in Appvance Designer

To reuse a function from one script in another, we include the relevant script using the include Action from Appvance Designer.

Usage: include relative:-<filename>

This will be helpful in shortening your designer scripts.

Call other scripts as functions. This will let users to include other designer script at any given step as shown in below screenshot.

In the example below, note:

  • The prefix : relative:- just before the login.ds filename on the Value column.
  • This script can be executed only in the Scenario Builder.

In the Scenario Builder it can be added as shown below

The other dependent designer scripts can be added in resources section.

An Example Designer script is attached is this article as well for reference.

activity.ds

login.ds

logout.ds



Last updated: July 03, 2023

If you have any feedback on this topic, please contact us at documentation@appvance.ai