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
Carlos AcedoCarlos Acedo 

Changing Status field changes Owner

Hi,

I want to change a case status, but every time I change it, the Owner field changes as well. Even trying to change Owner back to its previous value won't work.

I suspect this is done by a trigger in the backend side, but I can change the Status through the web interface and I don't see this behaviour.

Thanks in advance.
OnpursuitOnpursuit
Hi,

When are you facing the problem? Throught UI or Data Loader
Carlos AcedoCarlos Acedo
When using the REST API. I tryied with simple-salesforce python framework, Beatbox and force client (written in GO). 
For instance, with force I would do:
./force query "UPDATE Case set Status='Pending - Awaiting Customer' WHERE caseNumber='12345678'"

After executing the query, Status and Owner are changed. Owner, I believe, is set to the default value

Changing the Status value through the web UI, works as expected.
OnpursuitOnpursuit
Hi,

Do you have some functionality like the person who edits the Case ,becomes the owner. Normally this do not happen with integrations.
Carlos Acedo 6Carlos Acedo 6
I don't think so, I'm logged as my user when making changes through the API.