2022.2

Table Of Contents
Examples
ToaccessJobInfo1to9definedinWorkflow(seeJobInfovariables):
automation.jobInfo.JobInfo1;
ToaccessProcessName,OriginalFilenameorTaskIndexfromWorkflow:
automation.properties.OriginalFilename;
ToaccessWorkflowvariables(see"Propertiesandruntimeparameters"onpage227):
automation.parameters.runtimeparametername;
boundaries
Returnsaboundariesobjectencapsulatingpropertiesandmethodsallowingtodefinethebound-
ariesofeachdocumentinthejob.
ThisobjectisavailablewhentriggeringdocumentboundariesOn script.
Properties
Thefollowingtableliststhepropertiesoftheboundaries object.
Property Description
currentDelim Aread-only1-basedindex(number)ofthecurrentdelimiterinthefile.Inotherwords,theBeginningOfFile(BOF)delimiterequals
1.Itindicatesthepositionofthecurrentdelimiterrelativetothelastdocumentboundary.
Methods
Thefollowingtabledescribesthefunctionsoftheboundariesobject.Theyareavailablewithallfile
types.
Method Description Script type
"find()"onthenext
page
Findsthefirstoccurrenceofastringstartingfromthecurrentposition. Boundaries
Preprocessor,Extract,Condition,Repeat,Action,
andPostprocessorsteps
"get()"onpage372 Retrievesanarrayofstrings. Boundaries
Page 370