Change request should be in closed state only

Porkodi
Tera Contributor

If we have a change in lying "pending acceptance" state and if we need to close that change (with cancel reason code)as its no longer needed. It would bypass the SMO approval and move to next state "pending owner approval" and sometimes straight way going to "Implementation" state instead of close state.

2 REPLIES 2

HrishabhKumar
Kilo Sage

Hi @Porkodi ,

To address the issue of a change request in the "Pending Acceptance" state that needs to be closed (with a cancel reason code) but is bypassing the necessary approvals and moving to the wrong states, you need to ensure that the workflow and business rules handling the state transitions and approvals are correctly configured. Here's a step-by-step guide to troubleshoot and resolve this issue:

 

Check the Workflow:

 

Review the change request workflow to ensure that the transitions from "Pending Acceptance" to "Closed" are correctly defined.

Ensure that the workflow correctly handles the "Pending Acceptance" state and includes logic for cancellation.

Business Rules:

 

Check for any business rules that might be affecting the state transitions of change requests.

Ensure that there are no conflicting business rules that might cause the change request to bypass the required approvals and move to the wrong states.

UI Actions:

 

Verify any UI actions (e.g., buttons) that are used to cancel change requests.

Ensure that the script associated with these UI actions correctly sets the state to "Closed" and updates the cancel reason code.

State Transition Conditions:

 

Ensure that the conditions for moving to the "Pending Owner Approval" or "Implementation" states are correctly defined and do not get triggered when the change request is canceled.

If necessary, add conditions to prevent the change request from moving to these states when a cancel reason code is provided.

Approval Rules:

 

Verify the approval rules for the SMO approval and ensure that they are correctly configured.

Make sure that canceling a change request does not inadvertently bypass these approval rules.

 

Thanks,

Hope this helps.

If my response turns useful, please mark it helpful and accept solution.

Porkodi
Tera Contributor

i have checked all the things nothing worked.