If your scheduled Conductor fails to run, the first thing to check is whether the Master Switch on the Conductor Setup Tab is enabled (which is required for Conductor schedules to run). If it is not enabled, it is possible the Master Switch was disabled due to a Salesforce limitation in which a user can only have four OAuth tokens per application.
Why Does This Happen?
The defaultbutton on the Conductor record Page Layout uses OAuth. Thus, manually launching Conductor with this button can "kick out" the OAuth token used to run the schedule because of the limitation mentioned above.
Default launch button on the Conductor record
This can also happen if you clicktoo many times when generating a Composer debug URL since it also creates an OAuth token.
What to Do
One thing you can do to help ensure the Master Switch is not disabled from too many OAuth tokens being created is to change the defaultbutton on the Conductor record to use the non-OAuth button that came with the package (the one that says "APXT_BPM__Launch_Dev" when hovering over it. See screen shot below).
To change the button:
- Click Edit Page Layout on the Conductor record.
- Select the Buttons section, drag the default button off the page and drag the new button into the Custom Button region on the page.
- Click (See screen shot below).
APXT_BPM_Launch_Dev Button (non-OAuth)
Drag the non-OAuth button on the layout
When generating a debug URL, we suggest only clickingwhen you are on the phone with a Conga Business Analyst. If you are generating a Composer debug URL for your own use, click (you can still get the debug URL, it just won't create an OAuth token).
Access Composer Debug URL