Comala workflow page not staying published
Asked by Lynne Randolph:

I have a site with the Editor and Staff Approval workflow that I have copied and edited. For some reason, this site's pages (which are tagged to use the workflow) will not stay published. I publish them (as Editor in Chief) and overnight they revert to Ready. Any help would be appreciated. I have another site with a copy of the workflow, which I have diffed and see no differences, and it is working as it should.

Here is the workflow markup:

{workflow:name=Editor and staff approval workflow\|key=com.comalatech.sample.approvals.02\|label=process, guidance}  
{description}  
The Publishing Workflow has four states.  
Ready: Edited by Staff. Reviewed: Reviewed by SEPG. Published: Approved by Editor-in-Chief \& viewable publicly.  
You can define the Reviewers and Editor-in-Chief in the Space Admin Workflow Configuration.  
{description}  
{workflowparameter:Reviewers\|description=Reviewers group\|type=group}  
confluence-users  
{workflowparameter}  
{workflowparameter:Editor in Chief\|description=User able to give final approval\|type=user}  
[@User](/t5/user/viewprofilepage/user-id/115298)@@  
{workflowparameter}  
{state:Draft\|submit=Ready}  
{state}  
{state:Ready\|approved=Reviewed\|rejected=Draft\|updated=Draft}  
{approval:Review\|assignable=true\|rememberassignees=true\|allowedassignusers=jsjohnson\|allowedassigngroups=@Reviewers@\|user=jsjohnson\|group=@Reviewers@\|rejectlabel=Needs Work}  
{state}  
{state:Reviewed\|approved=Published\|rejected=Draft}  
{approval:Editor in Chief\|final=true\|user=@Editor in Chief@}  
{state}  
{state:Published\|final=true\|rejected=Reviewed\|updated=Draft\|hideselection=true}  
{state}  
{trigger:pageapproved\|approval=Review}  
{send-email:user=@Editor in Chief@\|subject=Page ready for final approval}  
The page [@pagetTeng](/t5/user/viewprofilepage/user-id/2589484)@ has been approved by \[\~@user@\] and is waiting for your final approval.  
{pageactivity}  
{send-email}  
{trigger}  
{workflow}

after publishing, this is the workflow activity for the page:

![after published.png](https://community.atlassian.com/t5/image/serverpage/image-id/60770i46BCFD7F5FC05490/image-dimensions/698x325?v=v2 "after published.png")

The next day:![after weekend.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/60771i8D801E763BE87958/image-dimensions/703x253?v=v2 "after weekend.PNG")

They're also back in a state where all I can do (without admin override) is reject them and restart the review process.


Answers:
author: Lynne Randolph
body: Well, I made two new pages and copied the content over from the two "broken" pages. Those published and stayed published so I'm going to chalk it up to something weird going on when those pages were originally created or something.


author: Bill Bailey
body: Does the page include any content from another page that might be changing? Has anyone added inline comments to the page (it is an editor event, so it may trigger the workflow).

comments: author: Lynne Randolph
body: No content from other pages, no inline comments, no page comments. Also, when I look at the activity report the next day, the action of going to Published has been removed. Almost like a rollback of some kind occurred.


author: Lynne Randolph
body: also, I have four pages on that site that are part of the workflow. Yesterday, I edited another one of them and it stayed published. It's just 2 out of 4 pages that won't stay published.


author: Bill Bailey
body: Take a snapshot of the storage view of one of the trouble pages. Then wait for it to reset and take another snapshot and do a diff. If that shows nothing, then it is time to file a bug.


author: Lynne Randolph
body: the storage view?


author: Lynne Randolph
body: I do have screenshots of the workflow activity after publishing and then the next morning. Those show the published action not being there at all the next morning.


author: Bill Bailey
body: You can access the storage format view from the page menu:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/60785iBE2B8D574729DABE/image-size/large?v=v2&px=999 "image.png")

There can be changes in the page's source code that could be the cause.


Tags: comala

confluence-server

server

workflow