Email scheduled task - update field value by increment 1

mahmoodee

Member
Hello ,
I am using Email scheduled task to send email , I want to update field value after send email by increment field value by 1
in my list there is hit count field which contain the number of hits , so I want to increment this field by 1 after send mail like:
'{users___hitcount}'+1
is that possible if I use eval option ? any idea
thank you
 
No, not in "Value"+Eval: as the tooltip says
Evaluate the update value as PHP. NOTE - no per row placeholders can be used, as only a single update value is used to update all rows.
But you should be able to do it in the "Update code" field
OPTIONAL - code to run at end of processing. The rowids which the plugin succesfuly emailed is in the array $sentIds, and any which failed sending ar in $failedIds. Either array could be empty, so check before imploding it into an IN(...) update query.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top