Skip to content
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

ARR: Add desk reject verification filter to PC Webfield #2425

Open
haroldrubio opened this issue Nov 13, 2024 · 0 comments
Open

ARR: Add desk reject verification filter to PC Webfield #2425

haroldrubio opened this issue Nov 13, 2024 · 0 comments
Assignees
Labels
arr Issues related to the ARR workflow

Comments

@haroldrubio
Copy link
Member

Add the following option to the propertiesAllowed field of the webfield config to enable filtering out papers without responses:

,
      deskRejectVerificationCount: `
      const invitationToCheck="Desk_Reject_Verification"; 
      const verificationReplies = row.note?.details?.replies.filter(reply => {
        const hasReply = reply.invitations.some(invitation => invitation.includes(invitationToCheck)); 
        return hasReply;
      })
      return verificationReplies?.length??0;
      `
@haroldrubio haroldrubio added the arr Issues related to the ARR workflow label Nov 13, 2024
@haroldrubio haroldrubio self-assigned this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arr Issues related to the ARR workflow
Projects
None yet
Development

No branches or pull requests

1 participant