Resource


Actions of type external resource allow you to retrieve data from a resolvable and reachable URL. The data will be saved as a file that can be used later by actions requiring a file.

Configuration screen for actions of type Resource.

Options

  • File source
    The type of resource to be used. Available options are form resources, client resources, or external resources allowing you to retrieve data from a URL.
  • Resource
    Depending on the selected file source users are prompted to choose a form specific resources or client specific resources or to provide a resource URL. There are no restrictions relating to file extension, mime type, file size etc. Variables can be used in the resource URL.
  • Output file name
    The name used for storing the data on the file system.
  • Connection timeout (in seconds)
    The time limit until the URL is declared unreachable and this action fails. Must be between 1 and 60.
  • Read timeout (in seconds)
    The time limit for the data transfer. When downloading data form the URL takes longer than this limit, this action fails. Must be between  1 and 600.

Support of repeated elements

Variables can be used as part of the resource URL. When multiple URL are specified, they will all be downloaded. In this case, an underscore and an index is added to the file name so that every file gets a unique file name. 

For example, when two URLs have been given and the name has been set to example.png, the two files example_0.png and example_1.png will be created.

Tags:
Copyright 2000-2024