Inherited methods aren't usable for task operation
Hello.
I have a class A that inherited from a class B. I have declared a instance of class A on the lane. In a task operation, I want to use public method declared on class B but the studio doesn't show inherited methods.
In studio 6.2.6, I used groovy script as workaround. But, in studio 6.4.2, I have on error "dependency cannot be initialized or updated inside a groovy script expression. You have to use Operation". Why this regression ? And why propose the operator "Takes value of" if it is forbidden ?
I'm blocked.
No answers yet.
Comments
My guess this this is deliberate code-safety in programming.
I also had this problem recently, but I've also found that Operations in the end work much better than using a groovy script connector to do the work I wanted to do.
Takes the Value of works just fine,
It took me a while to get the hang of it but I find it works.
regards Seán
Despite the error message, "Takes value of" continues to work (how many time ?).
That does not explain why inherited methods aren't shown (bug ?).