Skip to main content
14-Alexandrite
February 12, 2026
Solved

Is there any API to get Rule Definition from Choice Rule?

  • February 12, 2026
  • 1 reply
  • 62 views

Version: Windchill 12.1

 

Use Case: I have a scenario where I'm supposed to get Rule Definition from ChoiceRule. Row Object: com.ptc.windchill.option.model.ChoiceRule Lets say My Column I'm trying to get is "atoRuleDefinition"


Description:

Manoj_Dokku4_0-1770875942217.png

 

Best answer by HelesicPetr

Hi @Manoj_Dokku4 

I believe that the API exists

OptionsClientHelper.service.getLocalRulesOnSourceChoiceForOptionSet();
OptionsClientHelper.service.getGlobalIncludeEnableRuleOnSourceChoice();
OptionsClientHelper.getATORuleConfigSpecs();

HelesicPetr_2-1770881168335.png

generally check the OptionHelper methods

PetrH

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
February 12, 2026

Hi @Manoj_Dokku4 

I believe that the API exists

OptionsClientHelper.service.getLocalRulesOnSourceChoiceForOptionSet();
OptionsClientHelper.service.getGlobalIncludeEnableRuleOnSourceChoice();
OptionsClientHelper.getATORuleConfigSpecs();

HelesicPetr_2-1770881168335.png

generally check the OptionHelper methods

PetrH

PetrH