Wednesday, 19 August 2015

Resetting scheduled actions triggered by workflow stages

Reset scheduled tasks generated by WCM workflows


One customer found an extra set of emails were sent every time an item was moving to a particular workflow stage. This was confusing to the end users and is caused by additional bogus entries in the WCM EJBTimer Tables. Running these two tasks reset all scheduled actions for all libraries and resolved the issue:

(1) Go to <wp_profile_root>/ConfigEngine                           
.                                                                  
(2) run ./ConfigEngine.sh action-clean-scheduled-tasks             
.                                                                  
(3) run ./ConfigEngine.sh run-wcm-admin-task-schedule-actions  -DallLibraries=true                                                
.                                                                  
This will create all the applicable and relevant EJBTimers associated with all libraries.                                                    
.                                                                  
(4) Restart WebSphere_Portal 

Custom single threaded java server

 package com.diffengine.csv; import java.io.*; import java.net.*; import java.util.Date; public class Server { public static void main(Str...