RecommendationSessionState

RecommendationSessionState
Recommendation Session State

Status information for a recommendation session, including overall status, analysis status, status messages, alerts, and rerun recommendations. Provides visibility into the current state and progress of the recommendation generation process.

JSON Example
{
    "recommendation_overall_status": "READY_TO_PUBLISH",
    "recommendation_analysis_states": [
        {
            "site_id": "9e0865d0-9d89-44c7-8cc0-9f96a9b35721",
            "status_message": "",
            "status": "SUCCESS"
        }
    ],
    "recommendation_result_states": [
        {
            "id": "9e0865d0-9d89-44c7-8cc0-9f96a9b35721",
            "site_id": "9e0865d0-9d89-44c7-8cc0-9f96a9b35721",
            "status": "READY_TO_PUBLISH"
        }
    ],
    "rerun_recommended": false,
    "alerts": [],
    "groups_with_alert": []
}
recommendation_overall_status
Optional

The overall status of the recommendation session, representing the highest-level state of the recommendation process. This status aggregates the state across all sites and stages of the recommendation generation.

Enumeration: WAITING, READY_TO_PUBLISH, ANALYSIS_IN_PROGRESS, ANALYSIS_FAILED, PUBLISHED, PUBLISH_INITIATED, PUBLISH_FAILED, DISCOVERY_CANCELED, NOTHING_TO_PUBLISH
recommendation_analysis_states
Optional

Array of status values representing the current state of the recommendation analysis process. Can contain multiple status values if the analysis is being performed across multiple sites or stages.

recommendation_result_states
Optional

Array of status values representing the current state of the recommendation result. Can contain multiple status values if the analysis is being performed across multiple sites or stages.

string
overall_status_message
Optional
Constraints: maxLength: 2048

Used to communicate any information back to the user while or after processing. Examples of these are any errors/exceptions so far encountered during processing( which should be cleared if processing completes successfully). May be empty.

boolean
rerun_recommended
Optional

Boolean flag indicating whether the recommendation should be rerun. Set to true when continuous monitoring detects changes in effective members, configuration, or other factors that warrant regenerating the recommendation.

alerts
Optional

Alert reasons is set when recommendation has a alert for user. This does not inhibit the recommendation job.

groups_with_alert
Optional

During start/rerun of a recommendation, if some group(s) has alert like unsupported membership types, their respective id(s), path(s), display name(s) and unsupported membership type(s) will be stored and kept in this array.