Recipe integration

Refer to the following sections to use resources as data sources in recipes:

  • Supported actions: How to use resources in the actions that support them.
  • Use cases: Common use cases for resources in recipes.
  • File references: How a resource resolves relative and absolute references to other files.

VERSION UPDATES

A resource reference always uses the latest safe resource version. You can't prevent a reference in a recipe from updating. Refer to Restore a resource version to restore a resource to a previous version.

Supported actions

Select Use a resource in the following actions' input fields to reference a resource as an XSD or XSLT data source:

Use cases

The following examples are common use cases for resources:

  • SOAP API management

  • Manage WSDL files used by SOAP services. Workato stores uploaded WSDL files as resources to keep API recipes and service definitions in sync throughout the recipe lifecycle.

  • XSLT transformation

  • Transform XML documents using XSLT stylesheets stored as resources. You can optionally validate the transformation output against an XSD resource to ensure the result conforms to your expected schema.

  • Generate XML with XSD

  • Generate XML documents using an XSD resource to define the structure. You can optionally validate the generated output against the same or a different XSD resource.

  • Parse XML documents

  • Parse XML documents using generic parsing capabilities. You can optionally validate the source XML document against an XSD resource before processing.

  • Local XSD reference resolution

  • Resolve references across multi-file XSD setups stored within your Workato project folder structure. Resources follow relative and absolute file paths automatically, without accessing external internet locations.

File references

Use the schemaLocation attribute to resolve paths in XSD files, or the href attribute to resolve paths in XSLT files. Relative paths start from the current file's location. Absolute paths start with / (forward slash) and resolve from the root of the Workato directory.

Use import and include to reference external files within the current file:

Last updated: