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
| 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 |
|
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
-
Sign in to the Adobe Developer Console with the organization that has your App Builder license.
-
Open the App Builder project that contains your functions, then select the workspace you want to connect to (for example, Production).
-
Click Download all in the upper-right corner to download the workspace configuration JSON file.
-
Open the file and locate the
runtimesection. It contains:namespace: the value to enter in the Namespace fieldauth: a value in the formatusername: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 getoraio app usein 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.
-
In the module, click Add next to the Connection field.
-
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 authvalue of your workspace (the part before the colon).Password Enter the password from the authvalue of your workspace (the part after the colon).Namespace Enter the namespacevalue from theruntimesection of your workspace configuration file. -
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.
Run a custom function from package
This module runs a function from a package.
For information on packages, see Use custom function packages.
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.
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.