All Products
Search
Document Center

DataWorks:Manage functions

Last Updated:Feb 27, 2026

View, clone, move, and delete functions in DataWorks.

Prerequisites

  • A DataWorks workspace in standard mode or basic mode

  • At least one function created within a business process on the Service Development page

View function details

Open a function's configuration tab. The right-side navigation pane provides the following tabs:

TabDescription
PropertiesView basic information about the function, including the function ID and creation time. The function ID uniquely identifies the function and can be used to search for it.
Association RelationshipView the relationships between the function and published or unpublished APIs.
VersionView details about each version of the function.
Resource GroupView or change the resource group assigned to the function.
Check the association relationships before you delete or modify a function to identify affected APIs.

Clone a function

  1. On the Service Development page, expand the business process that contains the function, and click Function.

  2. Right-click the function name, and select Clone from the shortcut menu.

  3. In the Clone Function dialog box, configure the following parameters.

    ParameterDescription
    Function NameThe name of the cloned function. The name must be 4 to 50 characters in length and can contain letters, digits, and underscores (_). It must start with a letter.
    Destination FolderThe folder where the cloned function is stored.
  4. Click OK.

Move a function

  1. On the Service Development page, expand the business process that contains the function, and click Function.

  2. Right-click the function name, and select Mobile from the shortcut menu.

  3. In the Modify file path dialog box, select a value for Destination Folder.

  4. Click OK.

Delete a function

  1. On the Service Development page, expand the business process that contains the function, and click Function.

  2. Right-click the function name, and select Delete from the shortcut menu.

  3. In the Delete Function message, click OK.

If the function is referenced by APIs, the deletion fails. Remove the function from the filters of the APIs before you delete the function.