> Source: [sk123578](https://support.checkpoint.com/results/sk/sk123578)

# sk123578 - Global Policy Assignment fails with "Task failed" error

| Property | Value |
|----------|-------|
| Solution ID | sk123578 |
| Date Created | 2018-04-01 |
| Last Modified | 2019-12-16 |
| Technical Level | Advanced |
| Products | Multi-Domain Security Management Server |
| Versions | R82.10, R81.20, R82, R82.20 |
| OS | Gaia |

## Symptoms

- * Global Assignment fails with message "`Task failed:`" with no detail, although SmartConsole/MDS is configured to enforce session detail:  
  Multi-Domain -\> Sessions -\> Advanced -\> Enforce session details -\> All sessions must have a name and description  

* Rebooting the Multi-Domain Management temporarily resolves the failure.

* when CPM fails to publish the session, the CPM debug shows:

  ```
  
  WARN coresvc.internal.WorkSessionMgmtSvcImpl [taskExecutor-18]: Work session must contain a name and description before publishing
  ERROR coresvc.internal.WorkSessionMgmtSvcImpl [taskExecutor-18]: Enforcement of session description failed
  ERROR dleserver.coresvc.UnattendedTask [taskExecutor-18]: publish failed
  internal Exception= CpmGeneralException
  
  {base='com.checkpoint.management.is.exceptions.CpmGeneralException', errorCode='CP_ERR_UNSPECIFIED', 
  errorFamily='Publish cannot be performed without entering a session name and description.', messageForUser='null', message='null'}
  ```

* Once the total number of worksessions in CPM reaches 100, no more worksessions can be created and the task fails. CPM debug will show the following:

  ```
  ERROR coresvc.internal.LoginSvcImpl [taskExecutor-5]: Number of occupied Object Store Session Entities for username CPM Server 
  and domainId a0eebc99-afed-4ef8-bb6d-fedfedfedfed ,exceeded it's limit (100). 
  Logins from remote clients will be prohibited!!!
  ERROR coresvc.internal.LoginSvcImpl [taskExecutor-5]: failed to login after domainSession was created, 
  log out domain session sMBZNkZoDEDBxzbotA58AkDdn7LxoUpPLxTaFWx5rgQ and client session
  ```

## Cause

Global Assignment creates a CPM Server worksession to perform the task. The worksession has no description, so CPM fails to publish it. The session remains in CPM after Global Assignment completes.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
