On the “Behavior” tab is a new option to edit the entity version, from which the publication is performed.
If the option is not checked, it is published from the version that comes in the job parameter – i.e. the standard method. If the option is checked, the version of the entity from which it will be published is before publication updated, as follows:
When publishing an entity “FILE” the latest version of the file in the same revision in which the file was sent is taken.
When publishing an entity “ITEM” the last version of the item in the same revision in which the item was sent is taken, but the last version of the file is no longer taken – the last version of item in the given revision is taken and version of files linked to this version of item are published.
The option is added due to "unwanted" updates for some variants of parallel tasks, when the document may be updated before publication, e.g. the revision table may be updated. To ensure the selection of the required publication, an option has been added.