Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error with Groovy to get Sub Var Value

edited Sep 22, 2020 9:00AM in Planning 2 comments

Summary

Works for some SubVars but not others

Content

Hi All,

I'm experiencing what I would consider as odd behaviour when using Groovy/REST

operation.application.getConnection("SubVarConnection").get("$ConnectStr/$PMappName/substitutionvariables/subvar")

If I use Subvar X it returns a value, however if I use Subvar Y (same scope - added after the script was created) it returns an error.

Any thoughts would be good.

Thanks,

Mark

Version

20.09.66

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!