Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Analysis agent can call the cancelBatch function

Workflow Properties

MIM values to be associated with the batch are mapped in the Workflow Properties dialog. Also, the number of allowed cancelled batches is set here. Note that if  Abort Immediately  is enabled, no batch will be sent to ECS if the workflow aborts.

...

The error UDR is handled from the Analysis agent. For further information, see Analysis Agent in 9.24.6.2 ECS Collection Workflow. APL code always overrides any Desktop settings. Hence, the set Error Code will have no effect on this.

ECS Inspection

Automatic assignment to reprocessing groups is done exactly the same way as for UDRs in ECS Inspector in 9.24.6.1 ECS Forwarding Workflow via the ECS Inspector dialog (accessed from the Edit menu, selecting Reprocessing Groups...). Make sure to select the appropriate Error UDR Type. Then the UDR fields will be included as MIMs in the collection workflow.

...

ECS Error Codes - where a reprocessing groups can be selected

Analysis Agent

The Error UDR may be mapped from the Workflow Properties dialog as well, however in this case APL code must be used, since it is desired to insert other values than MIM values in the error UDR fields. Also, an Error Case will be assigned, and this is not possible from the Workflow Properties dialog. For further information, see 9.24.4.6 ECS Error Codes, and 9.24.4.7 ECS Reprocessing Groups.


 

Info
titleExample - Mapping the Error UDR in APL code


Code Block
languagetext
themeEclipse
E.myErrorUDR eUDR = udrCreate( E.myErrorUDR );
      eUDR.FileSize = (long)mimGet( "IN", "Source File Size");
      eUDR.TS = (date)mimGet( "IN", "File Modified Timestamp");
      eUDR.message = "PROCESSED ONCE.";
udrAddError( eUDR, "switch_ERROR", "Switch not found.");
cancelBatch( "Incorrect source.", eUDR );

 

 




Note
titleNote!

To send Sending error UDRs with the batch is optional. However, it is necessary if access to any application-specific information is wanted when reprocessing the batch. Error UDR fields will appear as MIM values in the reprocessing workflow. Also, the only possibility to associate an Error Code with the batch is by appending an Error UDR.


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next: