# How to disable and enable decision data/propositions on adhoc basis without server restart?

**URL:** <https://forums.pega.com/t/how-to-disable-and-enable-decision-data-propositions-on-adhoc-basis-without-server-restart/1218>\
**Category:** General\
**Tags:** 7-3-1, decision-management\
**Created:** [March 11, 2021, 8:28pm UTC](https://forums.pega.com/t/how-to-disable-and-enable-decision-data-propositions-on-adhoc-basis-without-server-restart/1218 "2021-03-11T20:28:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![GayathriG1080](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@GayathriG1080](https://forums.pega.com/u/GayathriG1080)\
**Post date:** [March 11, 2021, 8:28pm UTC](https://forums.pega.com/t/how-to-disable-and-enable-decision-data-propositions-on-adhoc-basis-without-server-restart/1218/1 "2021-03-11T20:28:06Z")

</div>

We have 15k decision data or offers in production and there are ad-hoc requests to turn on one or two effective immediately.

What is the best way to achieve this without a server restart?

I understand for un-versioned decision data - we can run aquery on pr\_dm\_propositions to make the offer inactive. But, I am more concerned about versioned decision data.

---

<div class="post-metadata">

**Author:** ![BURTA](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@BURTA](https://forums.pega.com/u/BURTA)\
**Post date:** [March 12, 2021, 10:02am UTC](https://forums.pega.com/t/how-to-disable-and-enable-decision-data-propositions-on-adhoc-basis-without-server-restart/1218/2 "2021-03-12T10:02:48Z")

</div>

@GayathriG1080 we don’t recommend updating the DB directly. If you wish to achieve this, each proposition has an active flag, this can be changed as appropriate. You should not need to do this directly in production, instead you should make use of change management capability to do this (Ops Manager or if prior to 8.5 Revision management).

In the absence of this you can deploy a change directly to production to switch off but this is likely more cumbersome than using our change management capability.

---

<div class="post-metadata">

**Author:** ![MANNM1](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@MANNM1](https://forums.pega.com/u/MANNM1)\
**Post date:** [March 12, 2021, 10:09am UTC](https://forums.pega.com/t/how-to-disable-and-enable-decision-data-propositions-on-adhoc-basis-without-server-restart/1218/3 "2021-03-12T10:09:36Z")

</div>

Add to what Alex mentioned, the versioned propositions are not backed up by DB table and they are managed with in a rule named “” Decision data"

---

<div class="post-metadata">

**Author:** ![GayathriG1080](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@GayathriG1080](https://forums.pega.com/u/GayathriG1080)\
**Post date:** [March 15, 2021, 6:07pm UTC](https://forums.pega.com/t/how-to-disable-and-enable-decision-data-propositions-on-adhoc-basis-without-server-restart/1218/4 "2021-03-15T18:07:00Z")

</div>

@MANNM1, , @BURTA

Yes, inactivating the active flag is the best approach, however, the nodes do not sync up when we do that and it requires a rolling restart of the servers. We are trying to avoid multiple rolling restart.

Unfortunately, We do not have revision management set up. (7.3.1) Once we upgrade to 8.5 - will explore Ops Manager

---

<div class="post-metadata">

**Author:** ![MANNM1](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@MANNM1](https://forums.pega.com/u/MANNM1)\
**Post date:** [March 16, 2021, 12:13pm UTC](https://forums.pega.com/t/how-to-disable-and-enable-decision-data-propositions-on-adhoc-basis-without-server-restart/1218/5 "2021-03-16T12:13:47Z")

</div>

@GayathriG1080 Proposition Cache will be updated when we update propositions. You do not require rolling restart for this. Could you please check if PropositionCache is disabled from DIsablePropCache DSS in your case?

Thanks & Regards,

Matta

---

<div class="post-metadata">

**Author:** ![GayathriG1080](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@GayathriG1080](https://forums.pega.com/u/GayathriG1080)\
**Post date:** [March 16, 2021, 2:18pm UTC](https://forums.pega.com/t/how-to-disable-and-enable-decision-data-propositions-on-adhoc-basis-without-server-restart/1218/6 "2021-03-16T14:18:51Z")

</div>

@MANNM1 Sure, Will check Thanks
