Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Comala workflow page not staying published

Lynne Randolph
Contributor
July 16, 2019

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@@
{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@ 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

The next day: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.

2 answers

0 votes
Lynne Randolph
Contributor
July 18, 2019

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.

0 votes
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2019

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).

Lynne Randolph
Contributor
July 17, 2019

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.

Lynne Randolph
Contributor
July 17, 2019

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.

Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2019

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.

Lynne Randolph
Contributor
July 17, 2019

the storage view?

Lynne Randolph
Contributor
July 17, 2019

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.

Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2019

You can access the storage format view from the page menu:

image.png

 

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

Like Lynne Randolph likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events