# Salesforce Integration Failing - how to update batch job running as inactive user

**URL:** <https://devforum.zoom.us/t/salesforce-integration-failing-how-to-update-batch-job-running-as-inactive-user/49194>\
**Category:** API and Webhooks\
**Created:** [April 29, 2021, 3:49pm UTC](https://devforum.zoom.us/t/salesforce-integration-failing-how-to-update-batch-job-running-as-inactive-user/49194 "2021-04-29T15:49:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdoan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jdoan/32/26548_2.png) [@jdoan](https://devforum.zoom.us/u/jdoan)\
**Post date:** [April 29, 2021, 3:49pm UTC](https://devforum.zoom.us/t/salesforce-integration-failing-how-to-update-batch-job-running-as-inactive-user/49194/1 "2021-04-29T15:49:43Z")

</div>

**Description**  
The person who installed the Salesforce package left the company. We need to update the scheduled job that comes with the package. But I can’t select the class that’s scheduled in the scheduler, and I can change the settings because it’s a managed package.

How can I update this?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [April 30, 2021, 9:07pm UTC](https://devforum.zoom.us/t/salesforce-integration-failing-how-to-update-batch-job-running-as-inactive-user/49194/2 "2021-04-30T21:07:37Z")

</div>

Hey @jdoan,

Thank you for reaching out to the Zoom Developer Forum. Just to clarify, are you looking to update to class or make customizations to it? If you want to bring the class to a newer version, you can update the entire package by following the steps [here](https://zoomappdocs.zoom.us/salesforce/admin/upgrade#upgrading-the-zoom-app-for-salesforce).

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![jdoan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jdoan/32/26548_2.png) [@jdoan](https://devforum.zoom.us/u/jdoan)\
**Post date:** [May 3, 2021, 12:12pm UTC](https://devforum.zoom.us/t/salesforce-integration-failing-how-to-update-batch-job-running-as-inactive-user/49194/3 "2021-05-03T12:12:47Z")

</div>

Thanks Max!

I’m looking to update the running user on the scheduled job. When you install the managed package, a job is scheduled as the user that installs it. The class that’s being scheduled is called ‘MeetingMetricsBatch’. However, when I look at the scheduled jobs, I cannot modify the job associated with this class, and I cannot schedule a new job using this class either.

Because this user is inactive, the job fails to run. We upgraded the package in the lower environments, but the scheduled job does not get created in our lowers (not sure what that’s about).

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [May 4, 2021, 6:19pm UTC](https://devforum.zoom.us/t/salesforce-integration-failing-how-to-update-batch-job-running-as-inactive-user/49194/4 "2021-05-04T18:19:34Z")

</div>

Hey @jdoan,

Thank you for explaining. I don’t know if we have a method to change the owner of the Managed Package and therefore the user that runs the job without reinstalling the entire package. Have you had a chance to reach out to SFDC support to see if they would be able to change the owner of the package/job without reinstalling it?

Another option is to change the email, password and name of the managed package owner’s user so that it reflects it is supposed to be the integration user. You could then reactivate that user and the previous owner wouldn’t have access or continued notifications.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![CJ\_SL](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cj_sl/32/27882_2.png) [@CJ\_SL](https://devforum.zoom.us/u/CJ_SL)\
**Post date:** [June 3, 2021, 3:44pm UTC](https://devforum.zoom.us/t/salesforce-integration-failing-how-to-update-batch-job-running-as-inactive-user/49194/5 "2021-06-03T15:44:26Z")

</div>

Hi @MaxM  
Is there any answer on the question of whether you have a method to change the owner? It seems that the scheduler class scheduleMeetingMetricsBatch isn’t global so it can’t be scheduled by another user directly. I get a “type is not visible” error when I try to do that. Is there a different way to call the same code that created the scheduled job during the install process?

At a minimum, you should update your installation steps to indicate this shortcoming. That is, it should be installed while logged in as the user that will run this job ongoing.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 5, 2021, 12:13am UTC](https://devforum.zoom.us/t/salesforce-integration-failing-how-to-update-batch-job-running-as-inactive-user/49194/6 "2021-06-05T00:13:25Z")

</div>

Hey @CJ_SL,

My understanding is that we don’t have a method to change the owner. You bring up a good point, we should update our documentation to indicate this is a limitation when installing. I’ll work with our team on this.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 5, 2021, 10:13am UTC](https://devforum.zoom.us/t/salesforce-integration-failing-how-to-update-batch-job-running-as-inactive-user/49194/7 "2021-07-05T10:13:29Z")

</div>

Closed on July 5, 2021, 10:13am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
