AgentforceConversationState

Represents the current operational state of an Agentforce conversation session. This enumeration tracks the lifecycle stages of a conversation, enabling applications to respond appropriately to state changes and provide relevant user feedback. Understanding session state is crucial for managing user expectations and handling error conditions gracefully.

PropertyTypeDescription
initializingcaseThe conversation is establishing its initial connection with the Agentforce service
activecaseThe conversation session is fully established and ready for user interaction
sendingcaseA message is being sent to Agentforce
receivingcaseWaiting for a response from Agentforce
refreshingcaseThe conversation session is attempting to recover from a temporary disruption
endedcaseThe conversation has been explicitly ended by the user
errorcaseAn error has occurred that prevents normal conversation operation