---
title: commitConditionModification
slug: campaign/docs/commitconditionmodification
docTags: 
createdAt: 2026-07-02T19:01:45.566Z
---

If the target group is empty, an exception is thrown.

**Type**: void

**Parameters**

| Name           | Type   | Value                                                                            |
| -------------- | ------ | -------------------------------------------------------------------------------- |
| sessionId      | String | ID of the session                                                                |
| modificationId | String | Identifier created by [beginConditionModification](docId\:WZCyrDlEmoCFmh_omibBd) |

**Return values**

- **Code structure**

```javascript
void commitConditionModification(String sessionId, String modificationId)
```
