Export smart rule option

Is it possible to export the smart rules?
I don’t see export option for smart rules in the platform.
If yes, how can we do it?

Hi Vignesh,

in the UI there is no functionality to export smart rules.
But you can get them with REST.

Examples:

  1. get all global smart rules
    GET {{url}}/service/smartrule/smartrules
  2. get all global smart rules including private rules
    GET {{url}}/service/smartrule/smartrules?withPrivateRules=true
  3. Get smart rules by given managed object id
    GET {{url}}/service/smartrule/managedObjects/{{managedObjectId}}/smartrules

Regards, Christian

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.