I have defined the following workflow:
Draft -> Review
Review -> Rejected | Approved
Rejected -> Draft
Approved -> Published
Published -> Draft
This works quite nicely so far. What I’m not really sure about is how I’d go about updating a previously published piece of content while moving through the workflow.
Say, I have a page with some paragraphs of text that has been reviewed, approved, and published. Now I want to make some changes to this page. In my expectation, I would then change the status from Published to Draft, make my changes, and kick off the whole review process again, all while my website is showing the content that was last published.
With the GraphQL endpoint, I’m always getting the latest data, i.e. the data that is currently being edited and reviewed, rather than the latest published content. Filtering for published content only means I lose the data from the page I’m editing from the response. Both of these situations are not ideal.
Is this me using the workflow feature incorrectly or is this maybe an issue with the GraphQL endpoint?