Removing Toast with JavaScriptJavaScript can be used to remove a created Toast at any time in a Workflow.
How ToInside any JavaScript-manipulating Field (Calculate, JavaScript, JavaScript - Button), use the Script.Toast.Hide() function:
Script.Toast.Hide(name);
Example:
Script.Toast.Hide("customerDetails");
NotesIf specifying a Field Name, the name shouldn't be wrapped in square brackets, but should be wrapped in quotes.
|