> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# checkForUnpublishedChanges

> The checkForUnpublishedChanges operation checks the count of unpublished changes on a CX Commerce node. The count is returned to the workflow as an ou

The checkForUnpublishedChanges operation checks the count of unpublished changes on a CX Commerce node.

The count is returned to the workflow as an output, `FDOCC_OP_UNPUBLISHED_CHANGE_COUNT`.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>OCC Account</td><td>`FDOCC_CLOUD_ACCOUNT_CODE`</td><td>Yes</td><td>The Oracle CX Commerce account with all the required properties like URL, App Key etc.The account will be different for each OCC environment.The target node that is checked for unpublished changes.</td></tr></tbody></table>

# Outputs

<table><colgroup><col /><col /></colgroup><tbody><tr><th>**Output Name**</th><th>**Description**</th></tr><tr><td>`FDOCC_OP_UNPUBLISHED_CHANGE_COUNT`</td><td>An integer that is the number of unpublished changes on the CX Commerce Node.</td></tr></tbody></table>

# Artifacts

This operation does not consume or produce artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target. You can add any endpoint to Target as this operation does not depend on any external libraries or utilities.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
