Montag, 2. Mai 2016

User defined session parameter scope

There is a number of session parameter name patterns that allow to use complying session parameters to get used however deep into a cascade of worklets without defining them as worklet parameters:
  • $InputFile<user string>
  • $OutputFile<user string>
  • $BadFile<user string>
  • $LookupFile<user string>
  • $DBConnection<user string>
  • $LoaderConnection<user string>
  • $FTPConnection<user string>
  • $QueueConnection<user string>
  • $AppConnection<user string>
  • $Param<user string>
This allows for instance to provide a mapping with the name of the source file that it is loading easily and robust:
$InputFile_MyFirstFile=my_first_file_at_this_date.csv
$$InputFile_MyFirstFile=$InputFile_MyFirstFile

Keine Kommentare:

Kommentar veröffentlichen