How to change the workflow inbox message payload path through a java class. | Community
Skip to main content
Var
Level 4
October 16, 2015
Solved

How to change the workflow inbox message payload path through a java class.

  • October 16, 2015
  • 2 replies
  • 1188 views

How to change the workflow inbox message payload path through a java class.?

Basically i have a custom workflow for which have a launcher to trigger the workflow on nt:unstructured node creation. But i want to show the payload in the workflow inbox till the page path not to the JCR:content node. ( i am trying to have a process step after the workflow start and change the payload path of the inbox message through the java class and for the next participant step the inbox message should appear till the page path) .. Any idea help to change the workflow payload path at runtime in an process step .?

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

Overlay [1] & Implement a logic to change a url based on workflow model. 

[1]    /libs/cq/workflow/widgets/source/utils/InboxUtil.js

2 replies

smacdonald2008
Level 10
October 16, 2015

I would start by researching the Workflow API for CQ 5.6:

https://dev.day.com/docs/en/cq/current/javadoc/com/adobe/granite/workflow/exec/package-summary.html

Sounds like you will also need to create a custom workflow step to get that the workflow data that you are interested in. 
I will investigate on Mon if anyone has code that shows a solution for this use case. 

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Overlay [1] & Implement a logic to change a url based on workflow model. 

[1]    /libs/cq/workflow/widgets/source/utils/InboxUtil.js