Success["tag",assoc]
represents a success of a type indicated by tag, with details given by the association assoc.


Success
Success["tag",assoc]
represents a success of a type indicated by tag, with details given by the association assoc.
Details

- Success[…]["prop"] extracts a property from a Success object. Success[…][{key1,key2,…}] extracts a list of values. »
- Success[…]["Properties"] returns a list of available properties. »
- The association assoc typically contains:
-
"MessageTemplate" a string template for a message "MessageParameters" parameters to use for the message template - The parameters are effectively inserted into the message template using TemplateApply.
- With the entry "MessageTemplate":>symb::name, a message name can be stored for use when a message is generated.
- Success is generated by SendMail, EntityPrefetch and other functions that typically do not produce an output directly related to the evaluation being performed.
Examples
open all close allBasic Examples (1)
Create a Success expression with a given tag and association:
Scope (4)
Properties & Relations (3)
Success is returned by functions like SendMail and EntityPrefetch:
The opposite of Success is Failure:
Only the first two keys are shown in the typeset form when closed:
If a "MessageTemplate" is provided, it always appears first:
Related Guides
History
Text
Wolfram Research (2018), Success, Wolfram Language function, https://reference.wolfram.com/language/ref/Success.html.
CMS
Wolfram Language. 2018. "Success." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Success.html.
APA
Wolfram Language. (2018). Success. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Success.html
BibTeX
@misc{reference.wolfram_2025_success, author="Wolfram Research", title="{Success}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/Success.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_success, organization={Wolfram Research}, title={Success}, year={2018}, url={https://reference.wolfram.com/language/ref/Success.html}, note=[Accessed: 18-August-2025]}