How to publish the records with data that is available in the latest version of the record?

How to publish the records with data that is available in the latest version of the record?

book

Article ID: KB0090733

calendar_today

Updated On:

Products Versions
TIBCO Collaborative Information Manager -
Not Applicable -

Description

Resolution:
For this case, the application allows to publish the records even when they are not confirmed.

In the IdentifyRecordVersions if you pass the "VersionOption" as latest then all the records in the subset will be published, even the unconfirmed ones, as follows:
    &ltActivity Name="IdentifyRecordVersions">
        &ltAction&gtIdentifyRecordVersions</Action>
        &ltDescription lang="en"&gtPicks the appropriate record versions from the catalog</Description>
        &ltParameter direction="in" type="string" eval="constant" name="eventState"&gtIDENTIFYVERSION</Parameter>
        &ltParameter direction="in" name="InDocument" type="document" eval="variable"&gtinDoc</Parameter>
        &ltParameter direction="in" name="VersionOption" type="string" eval="constant"&gtlatest</Parameter>
        <!-- Added dummy parameter to allow selection of relationship direction -->
        &ltParameter direction="in" name="relName" type="string" eval="constant"&gtContains</Parameter>
    </Activity>

Issue/Introduction

How to publish the records with data that is available in the latest version of the record?