Submit your inspiring success story or innovative use case to the 2022 Dataiku Frontrunner Awards! ENTER YOUR SUBMISSION

Boolean custom field returns True value while Groovy expect true

Solved!
arielma2304
Level 3
Boolean custom field returns True value while Groovy expect true

Hi

I created custom field from type Boolean, and I see the returned value is True or False. However, when I'm trying to use this variable in my JenkinsFile (from type: groovy), it doesn't works as groovy Boolean type holds the values: true or false.

do you plan to support it?

0 Kudos
1 Solution
arielma2304
Level 3
Author

I think issue can be closed as its more related to Groovy rather than DSS. anyway, to solve it, I used ReturnSdtout which return type STRING of "True" of "False" per the Boolean value of the custom field.

View solution in original post

0 Kudos
1 Reply
arielma2304
Level 3
Author

I think issue can be closed as its more related to Groovy rather than DSS. anyway, to solve it, I used ReturnSdtout which return type STRING of "True" of "False" per the Boolean value of the custom field.

0 Kudos

Labels

?
Labels (2)
A banner prompting to get Dataiku