How to add user defined timeouts in custom workflows?
this should extremely simple , ootb functionality hope not require java developer code something.
we have simple content approval workflow because don't want risk authors being able use activate , deactivate, , delete directly. actions done workflow part of process steps. however, our authors need ability able schedule when pages activate , deactivate in workflow. ideally use calendar control of kind select date , time page activate or deactivate ever case may be. if not ootb there way user of workflow specify "time out" value participant step? requires java developer cost money i'm hoping funtionality available in product purchased, (cq5.5).
see if [1] suffice need. otherwise based on use case might need custamization required. in custom workflow insert before autotimeoutadvancer step new custom process step code set metadata absolutetime value in millisec.
workflowdata data = wf.getworkflowdata();
data.getmetadata().put("absolutetime", "<absolutetime>"); // <absolutetime> = calculated absolute time string.
[1] http://dev.day.com/docs/en/cq/current/wcm/page_publish.html#scheduling page activation
More discussions in Archived Spaces
adobe
Comments
Post a Comment