How to set correlation rule in the source

I ask [email protected] to review my correlation rule code.They notice my code has deployed in sandbox.But I don’t know how to set correlation rule to the source and what api method to find my submitted code.

@TOPTYU

Using patch API you can attach the correlation rule to the source :

Ask support to provide Id and name of the correlation rule deployed. or check in configuration objects to know these details.

I have tried but the system respond “400 bad request”.

Rule - Correlation - chimeiADForEmpId1.xml (711 Bytes)

You could try using the following payload:

[
    {
        "op": "add",
        "path": "/accountCorrelationRule",
        "value": {
            "id": "<ruleId>"
        }
    }
]
1 Like

where to know the cloud executed rule Id?

Export the Rule objects using Sp-config to identify the ids:

1 Like

thanks this help me a lot

this method is helphul thank you