Integrate Atlassian Cloud with ForgeRock Identity Cloud

That’s what I thought - so I tried to remove the default value - still working.

And just now, I tested with this, still Ok:

{
        "source" : "accountStatus",
        "target" : "inactive",
        "transform" : {
            "globals" : { },
            "source" : "source === \"ACTIVE\" ? false : true",
            "type" : "text/javascript"
        }
    }

Something else is at play, I reckon. Do you get any error from the debug logs?

Very bizarre. I bumped logging to FINEST and didn’t see anything related to this. I’ll keep playing with this to see what I can figure out.

Looks silly, but by any chance, have you tried to stop the server, clear the felix cache, start again? I don’t believe it’s a likely cause, but who knows?

Otherwise we could start to figure out what you and I are doing differently.

This is what I did:

  • Unzip 7.3.
  • Start without any configuration change (e.g : embedded DS repo)
  • Spin up my existing MSSQL server (Docker image), drop existing sync.json and provisioner file, reconciliation from MSSQL to managed Ok
  • Then checked the reverse mapping Ok (which has a property mapping from accountStatus → boolean in MSSQL with the transform script)
  • Then created a custom managed type, establish mapping between user and custom type, with same transform script. Implicit sync Ok, ACTIVE and INACTIVE correctly transposed to false and true.

Running on Mac OS Ventura, Intel core (2018)