function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sebastian KSebastian K 

Creating a Flow test for a record triggered flow for the User object. Cannot deactivate test-user

I cannot de-activate a user for the "Updated Triggering record" part of the test for my flow. I am doing a record triggered flow for the User record type.

Also, I get this error when "editing" the test:

Object Profile is not supported in UI APISave your flow and refresh the page. If the problem persists, contact Salesforce Customer Support. Error ID: -1186868143.
Error Details
If you're working on a screen component, check your component configuration for invalid values.
This page has an error. You might just need to refresh it. [LWC component's @wire target property or method threw an error during value provisioning. Original error: [Object Profile is not supported in UI API]] Failing descriptor: {markup://lightning:lookup}

VinayVinay (Salesforce Developers) 
Hi Sebastian,

Can you provide with your org id?

Thanks,
Sebastian KSebastian K
Hi Vinay,
Why do you need that?