Skip to main content

Update Resource

Updates an existing resource.

Category: File & Folder Operations · Group: Files · Activity name: UpdateResource

The UpdateResource activity in the designer

Example

outputVariable = UpdateResource("<resourceName>", resourceId="<resourceId>", resourceName="<resourceName>", resourceType="<resourceType>", description="<description>", tags="<tags>", folder="<folder>")

Inputs

NameTypeRequiredDefaultDescription
ResourceresourceThe resource to update. Either this or Resource Name must be provided.
Resource NamestringAlternative to Resource dropdown. Exact name match within the project. Workflows using this will break if the resource is renamed.
Resource NamestringYesA friendly name for the resource (e.g., 'Customer Data CSV').
Resource TypestringType of the resource (e.g., 'document', 'image', 'data', 'config', 'other').
DescriptionstringOptional description of the resource.
TagsstringComma-separated tags for categorizing the resource (e.g., 'data,csv,customers').
FolderstringFolder to organize the resource into (e.g., 'invoices', 'reports').

Outputs

NameTypeDescription
outputVariablestringVariable to store the unique resource ID for later reference.