Skip to main content
jvisweswarai0001
Participating Frequently
Mar 4, 2023 9:48 AM UTC
Question

Update Expression Rule Smart Service

How to get the Rule Id of the Expression I want to update, since I want this dynamically based on the rule name I am extracting elsewhere and passing as a process parameter?

Here when I select the rule by typing and prompt, and save it into a pv created using (+), it is showing the value for that particular rule, I but I want it to be dynamically populated.

2 replies

stefanhelzle0001
Brainy
Mar 4, 2023 2:36 PM UTC

I highly recommend to not go that way. Self-modifying code is just no good idea. Maybe we can help you solving your challenge in a different way when you share some details.

Inspiring
Mar 5, 2023 3:44 AM UTC

As Stefan mentioned it is not recommended to use this approach until you don’t have any other alternatives. If you provide your use case it will help us to provide any alternative solutions