Hey, I have a custom library with activity that has a boolean argument with direction: Out.
When I use that activity in a project, I create a boolean variable for the activity and print the status. The status is always false, even if I put assign bool = True as the final activity of my library…
Am I doing something wrong? I have used outgoing arguments before but only with string values, I have no problem with those.
I would start by checking that in the library, you don’t have a variable with the same name as the boolean argument, as that would cause issues with the assigning.
If that doesn’t help, you could provide some screenshots so it would be easier to check where the problem is
Can you recheck the argument whether a value is being assigned to that argument through your code in the library,
Becasue the most common reason is that you would have used another variable in place of this one.
Well, this is awkward. I was sure I checked this, but lo and behold - there it was. A variable with the same name. That sure fixed it for me, thanks a lot!
Feels like there should be some sort of warning for this eh?
I think this might actually cause an error in Windows compatibility since its got stricter compilation rules, I’m curious was this a Windows - Legacy library?