option to cancel/terminate the workflow | Community
Skip to main content
Level 2
October 16, 2015
Solved

option to cancel/terminate the workflow

  • October 16, 2015
  • 4 replies
  • 1167 views

Hi ,

I am working on requirement to provide option to author to cancel/terminate the workflow initiated by him at page level.
Could you please let me know how this can be achieved ?

Thanks,
Hari

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Add a button to sidekick[1]. Click of button invoke your service & in that service implement an logic to cancel the the workflow using workflow api shared earlier. 

[1]   http://aemfaq.blogspot.com/2013/04/adding-button-to-sidekick.html

4 replies

Sham_HC
Level 10
October 16, 2015

You can use workflow api or jmx. An example for workflow api look at source code at [1].

[1]  http://helpx.adobe.com/experience-manager/kb/howtopurgewf.html

[2]   http://helpx.adobe.com/experience-manager/kb/workflow-monitor-via-jmx.html

Level 2
October 16, 2015

Hi,

Thanks for your reply.

Basically requirement is to provide option to Author at page level(side kick) to cancel the submission of work flow.

Could you please let me know what is the best option to provide this feature to author ?

Thanks,

Hari 

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Add a button to sidekick[1]. Click of button invoke your service & in that service implement an logic to cancel the the workflow using workflow api shared earlier. 

[1]   http://aemfaq.blogspot.com/2013/04/adding-button-to-sidekick.html

Level 2
October 16, 2015

Thanks a lot.