Ad hoc workflow send-email pagerejected

Since the ad hoc workflow support page gets so little activity and a bunch of people here likely use their plugin, I'm going to take a shot and ask the question here.

I'm trying to get an email generated when a page is rejected. All other aspects of my workflow are working as desired (email notifications for page approvals, ie. trigger:statechanged are being sent and received just fine). I followed the example as closely as I could for my scenario, but I received no email. My trigger looks like this:

{trigger:pagerejected|approval=@techlead@}

{send-email:user=@Author@|subject=Page has been rejected by Tech Lead}

The page @page@ has been rejected by [~@user@]

{pageactivity}

{send-email}

{trigger}

The @techlead@ variable is working in other parts of the workflow and is an authorized approver.

The @Author@ is set with a {set-metadata:Author}@user@{set-metadata} in the first state and is working for other triggers.

Also, the {pageactivity} macro does not appear to work, even though it is included in the example in the documentation. Not sure why.

Any thoughts as to what I'm doing wrong?

1 answer

1 accepted

Turns out the examples in the online documentation uses a user named Editor in Chief (referenced by @Editor in Chief@) and an approval called Editor in Chief. That caused the confusion. I was unclear what the "approval" parameter was doing - it looked like just a title for the comments window. Seems it is a little bit more.

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
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

100 views 0 6
Read article

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