-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cancelling an appeal doesn't change the pending approvers status #18
Comments
Although it's not an incorrect state for approvals that the appeal is canceled, why are approvals with status |
The approvals API returns approvals based on filters. One would not be able to exclude these un-actionable approvals from approvals API with current set of filters. |
Finalized Approach -
|
* feat(compass): add support for group asset api Related to : goto/compass#19 * feat(group assets): group by and include-fields changed to string from array. * feat(group assets): add a struct to contain info on grouped fields and grouped field value * changes as per review comments * rename GroupFieldInfo to GroupFields * change groupby and include fields from string to []string * update the description of fields in group assets api --------- Co-authored-by: anjali.agarwal <anjali.aggarwal@gojek.com>
Description
When an appeal gets created, based on the policy steps, approval records are also created in approvals and approvers tables.
When the appeal gets cancelled by the user, only the status of the appeal is changed and the status of the approval is still kept as pending.
To Reproduce
Expected behavior
![image](https://user-images.githubusercontent.com/6890568/230833255-33c7e3ed-d198-4aaa-a24f-f0fb379ba5fa.png)
Approvals should also marked as canceled in addition to the appeal. The below are the current status types in approvals. we need to have a
canceled
type to factor in user cancellations.The text was updated successfully, but these errors were encountered: