Prerequisites

You must create the scenario described in Create a basic scenario before following this procedure.

Use a function to update a project

Add the Update Record module to your scenario

  1. Open the scenario in the scenario editor.

  2. Hover over the partial circle to the right of the of the second module, then click Add another module.

  3. Select Adobe Workfront from the list of applications, then choose the module Update Record.

  4. In the ID field, select the ID block that is under the Convert object module. This is the ID of the project that was output by that module.

    ID from Convert object

  5. In the Record Type field, select Project, because the object to be updated is a project.

  6. In the Select Fields to Map area, select Name.

    A Name field will open.

  7. Continue to Map the function for the name update.

Map the function for the name update

When this scenario converts a request to a project, the project’s name is the same as the request. The function here takes that name and capitalizes all of the letters in it.

  1. Click the Name field.

    The mapping panel opens.

  2. In the mapping panel, click the Text and binary functions icon. Text functions icon

  3. Select the function upper.

    The function appears in the Name field, including the formatting for the input it expects.

    The input for this example is the name of the issue the project was converted from.

  4. Move your cursor between the parentheses, because this is where the input will go.

  5. In the mapping panel, click the Module output icon. Module output icon

  6. Select the name block that was output by your first module.

    The name block appears in the function.

    Name block in function

  7. Click OK to save the module settings.