Manage conditions
This topic provides information on how to locate, duplicate, publish, and delete conditions. You can also view details of a condition, including how to obtain the friendly ID and see where a condition is used in Sitecore CDP.
Team members with a User, Developer, or Admin role in Sitecore Cloud Portal can manage conditions.
Locate a condition
Locate a condition with the help of the following features:
- Search for a condition by its name, identifier, or content.
- Apply these filters to locate conditions:
- Tags - filter by one or more tags.
- Status - filter on whether the condition is published or has a status of draft.
- Last Updated By - filter by the user who last updated the condition. This is only available for custom conditions. You can sort the conditions list according to first or last updated.
Publish a condition
You can publish a condition when you want to make it available for users to apply in an audience export. After a condition is published, you can not edit it.
To publish a condition:
- From the Conditions page, open the condition you want to publish.
- Click Publish.
- In the confirmation dialog, click Publish. The status of the condition is updated from Draft to Published.
Duplicate a condition
You can duplicate a condition to copy its code, description and tags into a new condition.
To duplicate a condition:
- From the Conditions page, open the condition you wish to duplicate.
- Click Duplicate.
- In the Name your template field, enter a new name for the condition.
- Click Create.
Copy code from a condition
To copy code from the JavaScript editor to a new condition:
- From the Conditions page, open the condition from which you want to copy code.
- Click Copy and paste the code into the JavaScript editor of a new condition.
View details of a condition
You can view the details of a condition, including the entities that use it, along with the friendly ID.
To view the details of a condition:
- From the Conditions page, open the condition you want to view.
- On the Usage pane, you can see the number of places in which the condition is reused.
- To see a detailed list of where the condition is used, click View list.
- In the Usage dialog, to open a place where the condition is used, click
.
Delete a condition
You can only delete custom conditions if they aren't used in any audience exports.
To delete a condition:
- From the Conditions page, open the condition you want to delete.
- Click
then click Delete.