How to get Complex lifeCycleState Rule via API

Hi all,

I’m trying to compare our Complex Life Cycle State rule between Sandbox and Production. It’s listed as a Transform under the ‘Complex Data Source’. I can’t retrieve it via the standard Transform API. How can I get this?

Thanks
Adam

Is it a cloud rule? If so, you can use the SP-Config Export API to get the rule.

Hey @adama, Welcome to SailPoint community,

That “Complex Data Source” lifecycle logic isn’t a standalone saved Transform, so the Transforms API won’t return it. It should be: an Identity Attribute Rule (“complex rule”)

Recommended way: use SP-Config export to pull and compare across Sandbox/Prod.

  • Export with SP-Config:
POST /beta/sp-config/export
{
  "objects": [{ "type": "RULE", "name": "<Your Complex Lifecycle Rule Name>" }]
}

Download the job result and diff the rule content between tenants.

1 Like

Thanks Yash, Sita. Yes this worked. Marked as solved.

Awesome, Glad it worked.