Adobe App Builder module

You can create custom functions in the Functions area of Fusion. You then add these functions to your scenarios in the form of an Adobe App Builder module.

Because custom functions work through Adobe App Builder, your organization must have an Adobe App Builder license to use them.

Access requirements

Expand to view access requirements for the functionality in this article.
table 0-row-2 1-row-2 2-row-2 layout-auto html-authored no-header
Adobe Workfront package

Any Adobe Workfront Workflow package and any Adobe Workfront Automation and Integration package

Workfront Ultimate

Workfront Prime and Select packages, with an additional purchase of Workfront Fusion.

Adobe Workfront licenses

Standard

Work or higher

Product
  • If your organization has a Select or Prime Workfront package that does not include Workfront Automation and Integration, your organization must purchase Adobe Workfront Fusion.
  • You must have an Adobe App Builder license to use custom functions.

For more detail about the information in this table, see Access requirements in documentation.

Create a connection to Adobe App Builder

The connection uses the Adobe I/O Runtime credentials of an App Builder project workspace. Before you create the connection, get these credentials from the Adobe Developer Console.

Get your Runtime credentials

  1. Sign in to the Adobe Developer Console with the organization that has your App Builder license.

  2. Open the App Builder project that contains your functions, then select the workspace you want to connect to (for example, Production).

  3. Click Download all in the upper-right corner to download the workspace configuration JSON file.

  4. Open the file and locate the runtime section. It contains:

    • namespace: the value to enter in the Namespace field
    • auth: a value in the format username:password. The part before the colon is the Username, and the part after the colon is the Password.
    note
    NOTE
    You can also find the namespace and auth values by running aio runtime namespace get or aio app use in the Adobe I/O CLI.

Create the connection

Use these steps to connect an App Builder project that already exists. For the steps to use this connection to set up custom functions in Fusion, see Connect an existing App Builder project.

  1. In the module, click Add next to the Connection field.

  2. Fill in the following fields:

    table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 layout-auto html-authored no-header
    Connection name Enter a name for this connection.
    Environment Select whether you are connecting to a production or non-production environment.
    Type Select Service account.
    Username Enter the username from the auth value of your workspace (the part before the colon).
    Password Enter the password from the auth value of your workspace (the part after the colon).
    Namespace Enter the namespace value from the runtime section of your workspace configuration file.
  3. Click Continue to save the connection.

Adobe App Builder modules

Run a custom code block

This module allows you to run a code block. You configure the code block when you set up the module, and it is run when the module runs during a scenario execution.

Connection
Select the connection that contains the custom function that you want to run.
Code block

Enter the block of code that you want the module to run.

To format the code for easier reading, click the Format code icon.

Run a custom function from package

This module runs a function from a package.

For information on packages, see Use custom function packages.

Connection
Select the connection that contains the custom function that you want to run.
Package
Select the package that includes the function that you want to run in the scenario.
Variable
Select the function that you want to run in the scenario.

Use variable from package

This module brings a variable configured in a package into your scenario.

For information on packages, see Use custom function packages.

Connection
Select the connection that contains the custom function that you want to run.
Package
Select the package that includes the variable that you want to bring into the scenario.
Variable
Select the variable that you want to bring into the scenario.

Run a custom function or code block

This module allows you to use a previously configured custom JavaScript function stored in the Functions area.

For instructions on configuring a custom function, see Map data using custom functions.

Connection
Select the connection that contains the custom function that you want to run.
Action
Select the custom function that you want to run.
Parameters

Enter the values for the function parameters. Available parameters are based on the parameters configured when the function was created.

If a parameter has a default value, you will not see it in the field, but can override it by entering or mapping a value into the field.

recommendation-more-help
workfront-fusion-help-workfront-fusion