How can i change event of shape to add alert message

how can i change event of shape to add alert message

Hi,

What do you mean by “event of shape”?
Could you give a bit more description to your use case?

Cheers,
Vladimir

i want to make shape as button add hyperlink in the event of the shape i want to open aspx page when i click on the shape

Have a look at these examples to get started:
custom elements
replace task with custom icon
bpmn-js interaction/events

Cheers,
Vladimir