Defines the concept states during a transactional workflow that is ongoing. Also determines how the system reacts if the user quits the transaction
before completing it. For more information, see Transactional Workflows.
You define this key and its child keys in a *.transaction.bxb
file. This file must be in the appropriate locale-specific resources
folder.
// resources/en-US/transactions/Order.transaction.bxb
transaction-support {
match {
Order (this)
}
confirm-on-abandon {
message ("Are you sure you want to leave?")
on-retain {
goal {
hotel.BookHotelRoom @context (Continuation)
}
}
}
}
confirm-on-abandon optional | If declared, the system will prompt the user for confirmation when navigating away from the transaction with an existing Transaction |
match optional | Use match patterns to dynamically lookup an appropriate root type for the current context |
Copyright 2024 Samsung All rights reserved