NotificationFunction
✖
NotificationFunction
is an option that specifies how notifications should be sent from background tasks.
Details

- Possible settings for NotificationFunction include:
-
None send no notifications Automatic send email notification to the owner on failure All send email notification to the owner on success or failure "chan"Automatic notify the owner on failure through the specified channel "chan"All notify the owner on success or failure through the channel {user1,user2,…} send email on failure to the specified users {{user1,…}cond,…} send email to the specified users on condition cond f apply an arbitrary function - With NotificationFunction->f, the function f is applied to an association containing the following elements:
-
"Recipients" users to be notified "Result" result from the task "TaskLink" link to the task object "TaskCloudObject" cloud object for the task "TaskFilename" file name for the task (None if unnamed) "LogLink" link to the log from running the task "StartTime" start time of the task "EndTime" end time of the task "Timing" CPU time used for the task "AbsoluteTiming" wall-clock time used for the task "NextRunTime" time of the next scheduled run "RemainingRuns" number of remaining runs specified
Examples
Basic Examples (1)Summary of the most common use cases
Deploy a task that notifies multiple parties on any outcome:

https://wolfram.com/xid/0ywkhnjgshv2-3jrt91

Trigger the task to run asynchronously:

https://wolfram.com/xid/0ywkhnjgshv2-s105qt

Redeploy the task to notify on failure only:

https://wolfram.com/xid/0ywkhnjgshv2-m7lsck

Trigger the task to run again:

https://wolfram.com/xid/0ywkhnjgshv2-ve93nr

Redeploy the task with a custom notification function:

https://wolfram.com/xid/0ywkhnjgshv2-pgupu

Trigger the task to run again:

https://wolfram.com/xid/0ywkhnjgshv2-n8t91d


https://wolfram.com/xid/0ywkhnjgshv2-d02hbe

Wolfram Research (2015), NotificationFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/NotificationFunction.html.
Text
Wolfram Research (2015), NotificationFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/NotificationFunction.html.
Wolfram Research (2015), NotificationFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/NotificationFunction.html.
CMS
Wolfram Language. 2015. "NotificationFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NotificationFunction.html.
Wolfram Language. 2015. "NotificationFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NotificationFunction.html.
APA
Wolfram Language. (2015). NotificationFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotificationFunction.html
Wolfram Language. (2015). NotificationFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotificationFunction.html
BibTeX
@misc{reference.wolfram_2025_notificationfunction, author="Wolfram Research", title="{NotificationFunction}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/NotificationFunction.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_notificationfunction, organization={Wolfram Research}, title={NotificationFunction}, year={2015}, url={https://reference.wolfram.com/language/ref/NotificationFunction.html}, note=[Accessed: 29-March-2025
]}