Skip to main content
New Participant
Apr 18, 2023 10:51 AM UTC
Question

Error in the GetConstantOrRuleUUIDByName() plug-in

When I call the plugin GetConstantOrRuleUUIDByName() with a previously created expression it does return the UUIDD, however when I create a new expression it returns the name of the expression and not the UUIDD.

4 replies

sanchitg0002
Inspiring
Apr 18, 2023 10:59 AM UTC

Are you sure that the new expression rule object has been saved and you are using the correct name for it in the function

New Participant
Apr 18, 2023 11:00 AM UTC

Yes, I'm totally sure

sanchitg0002
Inspiring
Apr 18, 2023 11:10 AM UTC

Works just fine for me. By any chance are you trying to call this function for a rule which has been created in some other environment. I can only see it returning the name of rule when a rule with the provided name do not exist.