Rule type transform

Hello guys.

I’m learning about rule type transform. I’ve read this documentation Rule | SailPoint Developer Community

But I didn’t understand exctly how this transforman works correctly.

I’d like to know if the parameter name is actually rule, for example:

“type”: “rule”,
“attributes”: {
“name”: “Generate Random Number”
}

the name “name”: “Generate Random Number”, Is it a reference to a rule ?

So I need this transform (“name”: “Generate Random Number”) to exist in my tenant ?

I created it by looking at the documentation, but it doesn’t work.
{
“id”: “aaafca7e-427f-452c-b054-adee358bc27c”,
“name”: “Gui - Transform Rule”,
“type”: “static”,
“attributes”: {
“rule”: {
“type”: “rule”,
“attributes”: {
“name”: “Generate Random Number”
}
},
“value”: “$rule”
},
“internal”: false
}

Mensage error

Can someone help me ?

Does anyone have a simple example of this transform ?

Hi @guilherme_sec

It seems simple but an advanced topic. Example transforms are easy to get, but the tricky part is rule import.

Example topics:
DevRel Tenant - Cloud Rules process? - Ambassadors / Ambassador General Discussions - SailPoint Developer Community

Upload new Cloud Rules - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community

Cloud rule redeploy from sandbox to production - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community

Can we modify cloud rule with config hub? - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community

Useful link for cloud rule creation:

I need step by step cloud rule creation and deployment - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community

Transform Rule is Cloud Rule or Cloud-Executed Rule.

Cloud Executed Rules document link:

Cloud Executed Rules | SailPoint Developer Community

Example:
Transform Rule | SailPoint Developer Community