Skip to main content

HasPreviousCase

The HasPreviousCase function is supported in both Studio and Search. It returns true if the current case has a previous case, otherwise it returns false.

Prototype

    HasPreviousCase()

Arguments

  This method does not require arguments.

Returns

    Boolean

The functions returns True if previous Case is associated, otherwise it returns false.

Exception

    Undefined

Undefined is returned if no Case is current.

Example 

    HasPreviousCase()

This will return true if the Case is linked to a previous case.