States and Checked out option are not showing correctly for PrePublish Flow for Catalog Builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12 hours ago
I have created a custom flow by copying the Template Catalog Builder Item Review Flow. In this flow, after the approval steps, I am updating the catalog item record based on the approval outcome. If the approvals are approved, the catalog item state is set to Published, and if rejected, the state is set to Draft.
This setup works correctly when creating a new catalog item through Catalog Builder. However, the issue occurs when republishing an existing catalog item. In that scenario, even after all approvals are approved, the state appears as Published, which is correct, but the Checked Out field remains true, and the item is not editable after publishing.
Additionally, when approvals are rejected, the Catalog Builder dashboard correctly shows the item in Draft state, but in the Maintain Items view, the state still appears as Published and Checked Out = true. While having Checked Out = true is acceptable, the state should reflect Draft, not Published.
To implement this, I have used Update Record actions in the flow:
On approval: set State = Published and Checked Out = false
On rejection: set State = Draft and Checked Out = false
Despite these configurations and proper approval conditions, the state and checked-out status are not reflecting correctly in the Maintain Items view, although they appear correctly in the Catalog Builder dashboard.
Please help me in this scenario.
Thanks
