# DSS not working in a Switch Shape in a Strategy

**URL:** <https://forums.pega.com/t/dss-not-working-in-a-switch-shape-in-a-strategy/7873>\
**Category:** General\
**Tags:** decision-management, 8-8, case-management\
**Created:** [July 23, 2024, 2:49pm UTC](https://forums.pega.com/t/dss-not-working-in-a-switch-shape-in-a-strategy/7873 "2024-07-23T14:49:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyesh](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@Priyesh](https://forums.pega.com/u/Priyesh)\
**Post date:** [July 23, 2024, 2:49pm UTC](https://forums.pega.com/t/dss-not-working-in-a-switch-shape-in-a-strategy/7873/1 "2024-07-23T14:49:53Z")

</div>

Hi,

Trying to use a DSS rule in a Switch Shape in a Strategy such that operation can be handled via the DSS Value.

using a condition with @getDataSystemSetting(),

if true, take output from a component,

ow from an another component

Any Suggestions would be helpful!

Thanks!

---

<div class="post-metadata">

**Author:** ![Nanjundan\_Chinnasamy](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/nanjundan_chinnasamy/32/7033_2.png) [@Nanjundan\_Chinnasamy](https://forums.pega.com/u/Nanjundan_Chinnasamy)\
**Post date:** [July 24, 2024, 12:17pm UTC](https://forums.pega.com/t/dss-not-working-in-a-switch-shape-in-a-strategy/7873/2 "2024-07-24T12:17:31Z")

</div>

Hi @Priyesh,  
There should not be any issue to achieve this. I have attached the sample screen-prints for the implementation.

Thanks,

Nanjundan Chinnasamy | Pega Lead Decision Architect | 1:1 Customer Engagement & Credit Risk

 ![ABSelectoin.jpg](https://pega1.discourse-cdn.com/pega/original/1X/5b491c39d888c4d4414397886d837b5a162c8f47.jpeg)

---

<div class="post-metadata">

**Author:** ![Priyesh](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@Priyesh](https://forums.pega.com/u/Priyesh)\
**Post date:** [July 24, 2024, 1:58pm UTC](https://forums.pega.com/t/dss-not-working-in-a-switch-shape-in-a-strategy/7873/3 "2024-07-24T13:58:24Z")

</div>

@Nanjundan Chinnasamy

Thanks for the response!

It’s working in Strategy Persona Testing

but not working with real time API Run.

Thanks!  
Priyesh A

---

<div class="post-metadata">

**Author:** ![Priyesh](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@Priyesh](https://forums.pega.com/u/Priyesh)\
**Post date:** [August 6, 2024, 12:46pm UTC](https://forums.pega.com/t/dss-not-working-in-a-switch-shape-in-a-strategy/7873/4 "2024-08-06T12:46:58Z")

</div>

Saved the DSS value to a property in parent data transform rule and referenced the property in Switch shape in Strategy. This worked.

Thanks!

---

<div class="post-metadata">

**Author:** ![Nanjundan\_Chinnasamy](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/nanjundan_chinnasamy/32/7033_2.png) [@Nanjundan\_Chinnasamy](https://forums.pega.com/u/Nanjundan_Chinnasamy)\
**Post date:** [August 8, 2024, 7:39am UTC](https://forums.pega.com/t/dss-not-working-in-a-switch-shape-in-a-strategy/7873/5 "2024-08-08T07:39:55Z")

</div>

To use the DSS value within a Switch shape, please create a DataPage for reference. This approach allows you to delve into this option seamlessly. Thanks, Nanjundan Chinnasamy
