@@ -166,7 +166,7 @@ export const Workqueues = defineWorkqueues([
166166 terms : [ 'DECLARED' , 'NOTIFIED' ]
167167 } ,
168168 flags : {
169- noneOf : [ InherentFlags . REJECTED ]
169+ noneOf : [ InherentFlags . REJECTED , 'validated' ]
170170 } ,
171171 createdBy : { type : 'exact' , term : user ( 'id' ) }
172172 } ,
@@ -194,7 +194,7 @@ export const Workqueues = defineWorkqueues([
194194 query : {
195195 status : { type : 'exact' , term : EventStatus . enum . DECLARED } ,
196196 flags : {
197- noneOf : [ InherentFlags . REJECTED ]
197+ noneOf : [ InherentFlags . REJECTED , 'validated' ]
198198 } ,
199199 updatedAtLocation : { type : 'exact' , term : user ( 'primaryOfficeId' ) }
200200 } ,
@@ -230,7 +230,7 @@ export const Workqueues = defineWorkqueues([
230230 {
231231 status : {
232232 type : 'anyOf' ,
233- terms : [ 'DECLARED' , 'VALIDATED' ]
233+ terms : [ 'DECLARED' ]
234234 } ,
235235 flags : {
236236 noneOf : [ InherentFlags . REJECTED ]
@@ -341,15 +341,10 @@ export const Workqueues = defineWorkqueues([
341341 clauses : [
342342 {
343343 updatedBy : { type : 'exact' , term : user ( 'id' ) } ,
344- status : { type : 'exact' , term : 'VALIDATED' } ,
345- flags : {
346- noneOf : [ InherentFlags . REJECTED ]
347- }
344+ flags : { noneOf : [ InherentFlags . REJECTED ] }
348345 } ,
349346 {
350- flags : {
351- anyOf : [ InherentFlags . CORRECTION_REQUESTED ]
352- } ,
347+ flags : { anyOf : [ InherentFlags . CORRECTION_REQUESTED , 'validated' ] } ,
353348 updatedBy : { type : 'exact' , term : user ( 'id' ) }
354349 }
355350 ]
0 commit comments