I found two interesting things when I am modifying the subclass of a vehicle.
I was trying to incorporate the request evaluating logic in the vehicle subclass processes rather than model processes, for ease of transplant and multiple uses.
But when the token return value is 0 in subclass, no matter what add-on-process returns, vehicle still picks up entities.
What's the logic behind this?
How should I make it work? Anybody knows?
Another problem is I added breakpoint in the subclass, it does not stop, but I use some assign step to detect it, these assign step works, which means token is executing the process, anybody knows why the breakpoint does not work?
Attachment is the model, Assign step assign token return value 'False' in evaluating request in subclass of vehicle.
Everytime process runs, It could be seen weight of vehicle +0.5
Anybody knows why?
SimplestTuggerWithTwoCycle.spfx