Retry-repeat workflow component

Retry-repeat workflow component

The advanced utilities workflow component, Retry-repeat can help you, if you have a workflow component, that sometimes fail. You can use this to retry a subtree of workflow components until no error occurred, but it will fail when it has tried a specified number of times.

 

The Retry-repeat component has these parameters:

    

  1. Retries
    The maximum number of retries do execute.
  2. Retry delay
    The delay between each retry. The delay is specified as a number of seconds.

Both parameters can of course not only be a constant, but can also be set via an XPath expression.

 

Example

The workflow below will be repeated 3 times (since the template, mytemplate.ift does not exist):

    NG2WorkflowRetryRepeat0002

 

Since the last component is the one, that fails the workflow above will create 3 PDF files (which might overwrite each other).

    • Related Articles

    • Repeat workflow component

      The advanced, utilities workflow component, Repeat creates a loop in which the components following it are executed a number of times. At the start of each repetition, the workflow payload and variables are reset to the state they have at the point ...
    • Choice and join workflow component

      The basic, special Choice and join workflow component is very similar to the Choice component. For the majority of the documentation of the Choice and join you should refer to the choice component as choice and join does the same as the choice ...
    • Error workflow component

      The workflows, that you can setup in InterFormNG2 can be very long and complex and in some cases e.g. for debugging you might want to force an error in the workflow. Another reason why you might want to force an error, could e.g. be that an input XML ...
    • Swagger HTTP workflow component

      The advanced, utilities workflow component, Swagger HTTP can load a Swagger JSON definition can be loaded and a request from the API can be selected. An HTTP component is then generated with URL, output type, parameter names and header names ...
    • Multicast workflow component

      The multicast workflow component can be used, if you want to create multiple outputs from a single input file. You e.g. might want to create a PDF file, an email and a print output from a single input XML file. To do that the multicast component can ...