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.
| Property | Type | Description |
|---|---|---|
| initializing | case | The conversation is establishing its initial connection with the Agentforce service |
| active | case | The conversation session is fully established and ready for user interaction |
| sending | case | A message is being sent to Agentforce |
| receiving | case | Waiting for a response from Agentforce |
| refreshing | case | The conversation session is attempting to recover from a temporary disruption |
| ended | case | The conversation has been explicitly ended by the user |
| error | case | An error has occurred that prevents normal conversation operation |