[pmwiki-users] Workflow alerts (e-mail) based on certain value has changed yes or no
Patrick R. Michaud
pmichaud at pobox.com
Sat Sep 2 11:31:55 CDT 2006
On Sat, Sep 02, 2006 at 09:10:42AM +0200, Hsing-Foo Wang wrote:
> Hi all,
> I have beel searching through the archives and on pmwiki.org but I
> could not find anything closely related to my quest.
> Let me explain my goals with an example:
> 1. Person A fills out a form on a wiki page and sets the field status to '1'
> 2. An e-mail is send to person B because the field status is '1'
> 3. Person B edits the field status and sets it to '2'
> 4. An e-mail is send to person A with an alert that field 'status' has changed
#2 and #4 seem to be saying something different; #2 says that B receives
a response because the status is 1, while #4 says that A receives
a response because the status changed. Is it one or the other or both?
> I am aware that pmwiki can not do this on it's own, and I guess cron
> has to be get involved (talking linux here)
Cron only has to be involved if the wiki isn't accessed frequently
or if it's very important that notifications be sent at specific
times. Otherwise the email triggers can be detected and occur
when PmWiki is activated by a person normally accessing the site
(this is how the Notify capability works).
Of course, even if cron *is* involved it's not difficult --
we just have cron issue a "wget" or similar command to invoke
the desired action within the wiki.
More information about the pmwiki-users