Using Extension Points on function "createIncidentFromCase"

Vinicius2
Kilo Sage

Hello everyone,


I have a demand here that I need to control de behavior  from the function "createIncidentFromCase" when I use the UI Action "Create Incident". I am no too to familiar with extension points so I am having some difficult. I will explain what I did bellow.

1. I added the function "createIncidentFromCase" to the extensions points

Extension Points added "createIncidentFromCase"Extension Points added "createIncidentFromCase"
2. Pressed the "Create implementation" related link

3. I wrote the function on the script include created when I pressed "Create implementation"script includescript include

4. Added the new logic on the UI Action and called the extension point

uiaction.jpg

Am I doing it wrong? it's my first time working with extension points.


Thank you 🙂

1 ACCEPTED SOLUTION

Vinicius2
Kilo Sage

I got it working, the problem was that the UI action was not on the same application as the extensions point and script include

View solution in original post

2 REPLIES 2

Aoife
Tera Guru

What is the desired functionality you expect when clicking the button?

 

Aoife

Vinicius2
Kilo Sage

I got it working, the problem was that the UI action was not on the same application as the extensions point and script include