Stop workflow from restarting

This may be a basic question, but how do I stop the workflow from going back to draft mode if a comment is added after the workflow has been completed?

5 answers

Hi Erika,

As it's unclear which type of workflow you are referring to, are you using Ad hoc Workflows or another type of workflows?

If it's Ad hoc Workflows, please provide the version numbers of Ad hoc Workflows and Confluence. As well as the workflow markup. If you'd rather not post it publicly, you can email it to support@comalatech.com.

Thanks,
Miguel

If you go to the workflow and view the last status. Click on 'View Properties'. There could be a property key and value that are causing this to happen when comments are added to 'completed' issues. You can delete that property to stop this from happening. You will have to create a draft of the workflow > delete the property > plublish the workflow.

Hope that helps.

I guess that's the problem. I don't know what in the workflow that is causing it. I don't thing in the workflow that would bounce it back to Draft.

It's the Ad Hoc workflow. Our company uses an older version of confluence, 4.3.7. I'm not the system administrator. I'm only the adminstrator of a space. I don't know what version of the workflow plug in we are using.

Hi Erika,

Please post the workflow markup so I can take a look at it to determine which option is changing the workflow to the draft state.

Do you want it never to change back to the draft state or only if the page is edited?

Thanks,
Miguel

{workflow:name=FSR Workflow|label=ups-fsr}

{workflowparameter:UPSTSRs|description=UPS TSRs|type=group}

dmp-ups

{workflowparameter}

{workflowparameter:Corporate Project Manager|description=User able to give final approval|type=user}

@user@

{workflowparameter}

{workflowparameter:Requestor|description=The creater or the page|type=user}

@user@

{workflowparameter}

{state:Draft|submit=Ready}

{state}

{state:Ready|approved=Pending}

{approval:Submitted|user=@user@}

{task:name=Send FSR to Avantor|assignee=@CorporateProject Manager@}

{state}

{state:Pending|approved=Billing Review|rejected=Complete}

{approval: - Click approve if there are items to be billed - Click reject if the job has been canceled}

{state}

{state:Billing Review|submit=Complete}

{task:name=Provide documenation to biller}

{task:name=Verify charges appear on the invoice}

{state}

{state:Complete|final=true|rejected=Billing Review|hideselection=true}

{state}

{trigger:statechanged|state=Pending}

{send-email:user=@creator@|subject=FSR Sent}

The FSR on @page@ has been sent to Avnator by [~@user@] and is waiting for your further action.

{send-email}

{trigger}

{workflow}

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

982 views 23 13
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you