Error workflow component

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 file has failed a validation in InterFormNG2.

 

You can use the advanced utilities error workflow component for that.

 

When the error component is triggered, then the workflow processing stops. If an on error workflow has been configured, then this other workflow is triggered.

 

The error workflow component has this parameter:

 

NG2WorkflowErrorComponent0001

 

Message

This message will be sent to the job log as shown below:

 

NG2WorkflowErrorComponent0002

 

Related workflow component is: Error handler.

    • Related Articles

    • Error handler

      This advanced other workflow component, Error handler, sets which workflow to call if an error should occur during processing. This is similar to the On error workflow on the workflow inputs. An alternative or addition is the general error report ...
    • Workflow: How to move files into an error folder

      When InterFormNG2 is processing files from a folder, then it will process the input files like so: The files are moved into the processing folder, when InterFormNG2 starts to process the files, and they are moved into the processed folder, when they ...
    • 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 ...
    • Choice workflow component

      The choice workflow component can be used to condition the processing of the files. The choice component can branch out to one or many cases (subtrees) depending on a condition for each case (subtree). When you insert a new choice component it will ...