Skip to main content

Case Checkout

CategorySF Case
DescriptionCase Checkout performs the check-out of the case, reserving the current Sigmafine Case for your exclusive for running the analytic. It is a good practice to use this code block when you intend to modify the Case data. The statement executes the SFCodeBlocks connected to the "Failure" port (inner port), if unsuccessful; otherwise, the execution continues.
An unsuccessful Case Checkout is logged on the output panel with the following error message:

(E) \<Case CheckOut> Error checking out the case \<Case already checked out by domain username at 09/09/2021 09:17:26>
InputCurrent Sigmafine Case
ParametersNone
Pattern SupportNone
ReturnsNone
ConfigurationNone

Case Checkout SFCodeBlock



To handle an error, use the inner port to attach an additional code block. As an example, you could attach the End code block for terminating the execution.
Note

The Case Checkout SFCodeBlock can be used only in the Main block. Using it inside a function will generate an error when the analytic is saved.

Incorrectly used Case Checkout - error message