Commit de4fa6d9 authored by Frédéric Escudié's avatar Frédéric Escudié
Browse files

No commit message

No commit message
parent 5e57aaa2
......@@ -626,7 +626,7 @@ class Workflow(threading.Thread):
def _get_cleaned_email_placeholders(self, text):
"""
@summary: Returns the text after replacement of placeholders by the corresponding workflow values (method or attribute).
Placeholders must be an attribute or a method of the workflow between three dollars: ###attribute### or ###method()###.
Placeholders must be an attribute or a method of the workflow between three sharps: ###attribute### or ###method()###.
You can add "|date" after the attribute or the method to convert a timestamp in human readable date.
Examples: ###id### is replaced by wf.id ; ###get_status()### is replaced by wf.get_status() ; ###start_time|date### is rplaced by wf.start_time in date format.
@param text: [str] The text containing placeholders.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment