Assistance Needed: Locating Function Triggered by Cancel Button

Lisa Goldman
Kilo Sage

Hello, 

I'm having trouble finding the function implemented by the consultant. When I click the cancel button, the RITM stage changes to "Request Cancelled," and all tasks under this Requested Item state are updated to "Closed Incomplete."

 

I've checked the Business Rules, Client Script, and Flow Designer, but I haven't had any luck locating this function. Could someone please suggest where else I should look?  Thank you

 

Here is the UI Action:

LisaGoldman_0-1744046626797.png

 

Here is the Requested Item:

 

LisaGoldman_1-1744046682649.png

 

Here are the SCTASK state updated to Closed Incomplete

LisaGoldman_2-1744046764703.png

 

 

 

 

1 ACCEPTED SOLUTION

Shivalika
Mega Sage

Hello @Lisa Goldman 

 

Did you check the business rule on the "sc_task" table ? Condition should be something like "request item" state changes to "close skipped" however view all in their and let me know. It should be one of the BRs on catalog task definitely. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

 

View solution in original post

11 REPLIES 11

Hello @Lisa Goldman 

 

I am talking about script includes also. That are triggered by client script. Did you check in script include with the condition I gave ?

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

 

@Shivalika 

 

I need to disable all the business rules for the sc_task table to identify the function that updates the task state to closed incomplete. Is there another way to troubleshoot this without disabling all the related business rules?

 

LisaGoldman_1-1744057190670.png

Hello @Lisa Goldman 

 

No, @Lisa Goldman it's not needed. Just apply the condition as I have given in script includes table. Go to system definition -> script includes and apply the condition I gave. Definitely we will find out something from there. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Hi @Shivalika 

Could you please show me that one more time? For example, when I click the cancel button, the status changes to "Closed Incomplete" in the sc_req_item table.

LisaGoldman_0-1744084899956.png

 

 

 I navigate to System Definition -> Script Includes and proceed to apply this condition is that right?

LisaGoldman_1-1744084960492.png

 

 

 

 

Hello @Lisa Goldman 

 

Script contains "sc_task" and "Active = true" - apply these two things and go through the scripts. You can find what is happening. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY