You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest to create it as a separate Lift Actor. It schedules messages for himself every N(e.g. 5) minutes.
A message indicates that we need to go to C3 and search for documents with special "x-s4-meta-auto" tag attached. Then it gathers these docs, extracts owner id from their meta and send a notification to owner.
Main idea is to indicate to owner that he has a document with tags auto extracted and he need to approve them .(so notification will have a link to this doc basically).
I suggest to create it as a separate Lift Actor. It schedules messages for himself every N(e.g. 5) minutes.
A message indicates that we need to go to C3 and search for documents with special "x-s4-meta-auto" tag attached. Then it gathers these docs, extracts owner id from their meta and send a notification to owner.
Main idea is to indicate to owner that he has a document with tags auto extracted and he need to approve them .(so notification will have a link to this doc basically).
https://www.assembla.com/spaces/liftweb/wiki/Comet_Support
example of liftActor:
object AutoMDTaggingService extends LiftActor { ActorPing.schedule(this, Message, 5000L) override def lowPriority : PartialFunction[Any,Unit] = { case Message => { // do some processing: retrieve documents from c3 ActorPing.schedule(this, Message, 5000L) // schedule another message } } }
The text was updated successfully, but these errors were encountered: