Hello all,
I am currently working with WEM 10.5 and one of my goals is to trigger a workflow when the approval or publish process has been invoked. The main goal is that, when a editor tries to publish content, a supervisor becomes a task, which has to be approved and includes the content to be publish.
I was able to trigger a custom workflow when the Publish (or Deployment) event has been called. However, by doing this I noticed that the content which has been approved is not visible in the task (the task to be approve) itself. Which means that the payload is the deployment job itself. So, using this approach I am not able to see the contents approved before publishing.
I found an article using our forums which states that is not possible to have a workflow linked to the approval process.
"I don’t think you have a provision to start a wf when user clicked on approve button. Instead you can start the workflow on create/update event and have a custom program task and get the CI approval status. If you want to unapproved it (based on the information in CI) and send a manual task/email."
"There is no option for a workflow on approval because approving is just updating. All that happens on approval is setting the approval status and committing the object just like is done when any other change is made."
So based on this statemenst, I was wondering if someone tries to perform something similar to my approach or has any alternative in order to fulfill this requirement.
I will appreciate any help or information.