[CP-17334] Edge rule chain error
- Skip saving EdgeEvent if edgeId equals originatorEdgeId
This commit is contained in:
		
							parent
							
								
									ffad592186
								
							
						
					
					
						commit
						df1e2a0c51
					
				@ -219,7 +219,7 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor {
 | 
			
		||||
                case CREDENTIALS_UPDATED:
 | 
			
		||||
                case ASSIGNED_TO_CUSTOMER:
 | 
			
		||||
                case UNASSIGNED_FROM_CUSTOMER:
 | 
			
		||||
                    if (edgeId != null) {
 | 
			
		||||
                    if (edgeId != null && !edgeId.equals(originatorEdgeId)) {
 | 
			
		||||
                        return saveEdgeEvent(tenantId, edgeId, type, actionType, entityId, body);
 | 
			
		||||
                    } else {
 | 
			
		||||
                        return processNotificationToRelatedEdges(tenantId, entityId, type, actionType, originatorEdgeId);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user