iApprovalAPI made approval from Requested state to No Longer Required. How this happened

sri vyshnavi
Tera Expert

Hi Team,

 

I have created an approval for a record which is on custom table. 

Initially it is in requested state. So I have created a custom Approve button on related list, we should select the records only then we can approve those records. I selected some of the records and approved then.

For some other records, the state of the Approval automatically changed to No Longer Required.

When I checked on history it shows IApprovalApi user made form Requested to No Longer Required.

srivyshnavi_0-1701332471195.png

I tested this functionality many times before this and also after this to reflect the same scenerio, but it never came up.

Can I know how this changed to No Longer Required. I need to fix this error, it should be in Requested state itself, should not turn to No longer required state, It should turn to Approved only.

 

2 REPLIES 2

sri vyshnavi
Tera Expert

Hi Team,

 

I have created an approval for a record which is on custom table. 

Initially it is in requested state. So I have created a custom Approve button on related list, we should select the records only then we can approve those records. I selected some of the records and approved then.

For some other records, the state of the Approval automatically changed to No Longer Required.

When I checked on history it shows IApprovalApi user made form Requested to No Longer Required.

srivyshnavi_0-1701757635467.png

 

I tested this functionality many times before this and also after this to reflect the same scenerio, but it never came up.

Can I know how this changed to No Longer Required. I need to fix this error, it should be in Requested state itself, should not turn to No longer required state, It should turn to Approved only.

Hi,

Can you please explain how approvals are triggered? 

If you are requesting Parallel User approvals or Group Approval through Workflow/Flow then you need to configure the rule to process approval.

The rules are like 'Approve/Reject when anyone approve' , 'Wait for everyone to approve/reject' etc.

If you you have a rule "Approve when anyone approve" then other records are automatically set as 'No Longer Required'.

Please check your configuration of approvals in Flow or Workflow.

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande