Skip to main content

clearVariable()

Last updated 10/09/2024

Example

The following code clears the current order number when saving an order.

Clears a previously set order number using clearVariable()
function SaveOrder(five: Five, context: any, result: FiveError) : FiveError {
five.clearVariable('OrderNumber');
return five.success(result);
}