Changing Icon in a service task shape

Hello All,

I am looking to change the cog wheel or gears icon rendered in the Service Task shape. I want to change it based on the type of plugin selected for that service task. Is there anything I can refer to or any pointers?

Thank you.

So you want to change how the element is rendered on the canvas?


1 Like

Yes, on selection of a plugin, I want to display the type of plugin using an icon here.

One thing you can do here is to create a custom element. Take this example to explore how it works. Furthermore inside a CustomRenderer you can implement the logic for changing the icon dependent to conditions you want to.