Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Trying to setup a workflow to intercept page deactivations

Rich_Clem
Level 3
Level 3

Hello

I am trying to set up a workflow which will intercept page deactivations from the root level and down 2 levels only. This will allow the administrator to decide if the the deactivation is authorised

I am trying to use a launcher, but I am having trouble setting it up. I am using an Event Type of modified and Node Type of page, but this seems to be picking up new page creations as well. I assume I need to include something in the Condition and Exclude fields? Or do I need to start writing ECMA scripts?

Also does the path field in the launcher setup except regex ?

We are using CQ5.3

Thanks

3 Replies
Sham_HC
Level 10
Level 10

IIRC page deactivation goes through workflow & the workflow is configurable in felix console. So either modify the default workflow OR call the custom workflow in felix console. 

Rich_Clem
Level 3
Level 3

Any ideas where I can find out?

None of the Adobe workflow documentation I have looked at gives this information

Sham_HC
Level 10
Level 10

I am sorry it is from 5.5 which goes through WcmWorkflowServiceImpl on the topic com/day/cq/wcm/workflow/req/for/activation.   Please ignore my suggestion.