Generating sequential numbers in program rule

A post was split to a new topic: Generating sequential numbers in Event Programs