Skip to main content

Enumeration: EvictionReason

workflow_activation.RemoveFromCache.EvictionReason

EvictionReason enum.

Enumeration Members​

CACHE_FULL​

• CACHE_FULL = 1

Workflow cache is full


CACHE_MISS​

• CACHE_MISS = 2

Workflow received a partial task but was not in the cache. Typically it won't be in the lang cache either at this point, but we send an eviction to be sure.


FATAL​

• FATAL = 8

There was some fatal error processing the workflow, typically an internal error, but can also happen if then network drops out while paginating. Check message string.


LANG_FAIL​

• LANG_FAIL = 4

The lang side completed the workflow activation with a failure.


LANG_REQUESTED​

• LANG_REQUESTED = 5

The lang side explicitly requested this workflow be evicted.


NONDETERMINISM​

• NONDETERMINISM = 3

The workflow produced results inconsistent with history.


PAGINATION_OR_HISTORY_FETCH​

• PAGINATION_OR_HISTORY_FETCH = 9

Something went wrong attempting to fetch more history events.


TASK_NOT_FOUND​

• TASK_NOT_FOUND = 6

The workflow task we tried to respond to didn't exist. The workflow might have already finished, or the WFT timed out but we didn't learn about that yet.


UNHANDLED_COMMAND​

• UNHANDLED_COMMAND = 7

There was new work that must be handled while we attempted to complete the WFT. Ex: a new signal came in while trying to complete the workflow.


UNSPECIFIED​

• UNSPECIFIED = 0

UNSPECIFIED value


WORKFLOW_EXECUTION_ENDING​

• WORKFLOW_EXECUTION_ENDING = 10

The workflow is being completed with a terminal command and we sent the WFT completion to server successfully.