webMethods Integration flow service task configuration
Configure the following properties for the webMethods Integration Flow service task:
| Field | Description |
|---|---|
| Task name | Type a unique name for the task. |
| File filter | When you define a File filter for a task, the task acts only on files
that are filtered out. For example, type *.zip to trigger the action only when ZIP
files are uploaded or downloaded. To trigger an action based on a name string in the ZIP files, use
the name string in the File filter box, which is preceded and followed by
wildcard characters. For example, type *invoice*.zip to trigger the action based on
the file URLs, when ZIP files containing the character string invoice in their file
names are uploaded or downloaded. Note: Use wildcard characters to filter the file
names. If you want to use a regular expression, specify a valid regular expression in the
File filter and select the Use regular expression
option. For example,
|
| Flow service | Click Browse to select the Flow service you want to run from the list.
Note: Services that are configured for an HTTP/HTTPS endpoint can be invoked from
actions and only these services are displayed.
|
| Include file content as stream |
Select the option to pass the contents of the file to a Flow service on webMethods Integration. When importing the actions that contain the Flow service tasks to another environment, make sure that you import the actions to the connected instance of webMethods Integration as well. If a failure occurs during the import, the output parameters are not passed on to the next task. The errors in the input and output pipelines appear in the 'event log'. Note:
|
| Flow service input | Only 'String' values can be applied to the service. |
| Include file content as stream |
Click For example, consider you invoke a Flow service by having two output fields, output1 and output2.
Configure the following variables in the Extract flow service output section.
With this configuration, myVar1 and myVar2 are available as server variables. Use the values that
the service execution returns in the format |
| Execute task even if there are no files | Select this option if you want the operation to be run if no files are found. |
| Execute task only once | Select this option to execute the operation a single time. |
to add the
variables with