Sprache auswählen

This key can be used to restart the process from the beginning with a different rules configuration.

One reason for this can be that some information found later in the data stream might need to perform data stream changes in an earlier state

Notes:

  • This key is only available when ELP is called with a provided input and output file. So using the stdin and/or the stdout command line mode disable that key.
  • The key is available in an activated Search_ or Trigger_ rule, containing an iniFile key.
    On restart, the default configuration file, usually convert.ini, is ignored and instead the configuration file named in the iniFile key is used for that restart situation.
  • It is a complete restart, so nothing up to that rule execution will be saved for the second pass. Even all collected variables and information are waived. However you may transport the variables to the second "pass" using the Variables_Store and read them back into the new config.ini file using the Variable_Read keys.
  • Already opened archives will be closed. Maybe been written with zero bytes or using the key InArchiveDir will be stopped writing out exact at the time the Search_key executes a rule with those two key (iniFile and ReStart)
  • The same behavior is for already having activated sending the job to different ports InPort and OutPort.
  • Usually at the time the rule hits, nothing was written out, so the OutArchiveDir is empty and the OutPort is just closed.

Example:

Some of the ELP commands must be activated in the rule Global or on of the startup rules like printer/queue names, driver name etc. For example a user interface must be called when in the job several conditions are found, like for example a special country.

1. Default configuration file Convert.ini:

[Global]

; Set primary trigger to always found

SetTrigger=AlwaysFound:TRUE

 

[Search the document for the delivery country]

; read the country out of the data stream into the variable #MyCountry#

Search_Windows_New=Delivery country:

StoreNextWordTovariable=#MyCountry#

TriggerSectionAfterStore=Test if country XYZ

[Test if country XYZ]

; Primary trigger always true

Trigger_Binary=AlwaysFound

; Now test secondary trigger on variable content to XYZ

Trigger_Variable=#MyCountry#:XYZ

; Then set the new default ini file for the restart to

iniFile=#ELP_FORMS_PATH#UserInterface.ini

; and restart the process

ReStart=ON

 

 

2. The restart configuration file UserInterface.ini also located in the c:\ProgramData\WELP folder

[Global]

; Start the user interface to enter e.g. data or select a special process

CALLVISIBLE=ON
CALLATSTARTUP=C:\Programme\WELP\Job_Ticketing.exe -P1#PRINTERNAME# -P2#PCNAME# -P3#USERNAME# -P4#PRINTDOCNAME# -R#OUT_ELP_FILENAME#.uuu -c#ELP_FORMS_PATH#ticket.ini

; and any other configuration

 

 

Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern (Tracking Cookies). Sie können selbst entscheiden, ob Sie die Cookies zulassen möchten. Bitte beachten Sie, dass bei einer Ablehnung womöglich nicht mehr alle Funktionalitäten der Seite zur Verfügung stehen.