Workflow - Delete Issue
We have 3 environments that are setup as follows:
enviornment1 ---> stagingEnvironment actualTestEnvironment
| ^
| |
| |
|______________________________________________|
Run a "Move To Staging" workflow to replicate content from "environment1"to "stagingEnvironment"
After our partners review it and accept it, they run another workflow to get it to "actualTestEnvironment"
Run a "Move To Test" workflow to replicate content from "environment1" to "actualTestEnvironment"
I've configured a Launcher to run as follows:
Event Type: Node removed
Nodetype: cq:Page
Globbing: /content(/.*)
Condition: none
Workflow: Delete from Staging
Description: Delete from Staging
Enabled: true
Run Modes: author, publish
Delete from Stating workflow
-----------------------------
start -> Delete Node -> stop
Create a page - works fine
1. Run "Move to Staging" workflow - Works fine
2. Run "Move to Test" workflow - works fine
3. Delete the page - the "Delete from Staging" workflow runs behind the scenes - works fine
All things work and the pages are removed in all environments
Issue:
1. Run "Move to Staging" workflow - Works fine
2. Delete the page - the "Delete from Staging" workflow runs behind the scenes - FAILS
NOTE: The "Move to Test" workflow is not executed because there may be a problem and the user does not want it to go to the next environment.
When the "Delete from Staging" workflow runs (upon page deletion - step 2 above), it tries to delete from the "actualTestEnvironment" and fails, so it does not proceed to try and delete from "stagingEnvironment" ... I'm not sure WHY???
How can I get the Workflow to continue to try to delete in all environments when it cannot find the page in one of them.
Any and all help here is appreciated.
Thanks,
-Dean