This function returns the indice of the last validated step before the current step.
Examples
history <- InitializeHistory()
Add2History(history, 'Example', 'First step', "my param", 'THE value')
#> Process Step Parameter Value
#> 1 Example First step my param THE value