Is there any way or sample code to achieve, using Custom Task, connecting existing specific type of elements with my custom task (all within the same EG project)?
There is! You get to this through the ISASProject interface, which you can get through the Consumer. (Assuming you are navigating in a .NET project.)
I'll need to dig up a thorough example for you.
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!