When creating an SLO object and attempting to set it up to get the notifications when two jobs completed, saving is not allowed when using the option ALL. The following error shows up:
Service selection: The query in the service selection is invalid.
Error screenshot attached.
Release : 12.x, 21.x
This is by design
The dropdown "All" acts as an "AND" filter. So in this case it is saying that:
The object name equals "JOBP.EBS.WEEKEND.PA.US"
AND
The object name equals "JOBP.EBS.WEEKEND.PA.CA"
This cannot be true since it needs to be one OR the other and cannot be both at the same time.
Using the dropdown choice of "Any" will allow it to be one or the other. Alternatively, you could use an operation of "contains" if it should contain both of those values.
There are possible workarounds for this - below are examples of how these might work:
The first way is if both the JOBP.EBS.WEEKEND.PA.CA and JOBP.EBS.WEEKEND.PA.US are in the same parent workflow - for the purposes of this example, it's called JOBP.TOP. In this case:
The second way to do this is somewhat similar and could be used if the JOBP.EBS.WEEKEND.PA.CA and JOBP.EBS.WEEKEND.PA.US workflows are not in the same top workflow. This will use them for a dummy script in its own workflow with both as external dependencies: