Open Sandy-at-Tazama opened 4 months ago
Can a green condition be: override = true
outcome = false
? And if it is, should it override a typologyResult of true
to be false
since green = false
? Or does the overrides only happen in all cases if an outcome is true? With other words, this implementation proposes to only function as a block-list, and not as an allow-list?
Business case being: I'm investigating person A as suspected terrorist, and want to allow normal money flows as proof for an investigation, in which case I want to setup a green override on person A to make sure they can ALWAYS transact?
Is this understanding correct for the state of review
based on the EFRP outcomes?
stateDiagram-v2
[*] --> review=false
review=false --> review=true:EFRP=red/true
review=true --> [*]
review=false --> review=true:EFRP=amber/true \nEFRP=green/true
review=false --> review=true:EFRP=amber/false\nEFRP=green/true
review=false --> review=FALSE:EFRP=amber/true \nEFRP=green/false
review=false --> review=FALSE:EFRP=amber/false\nEFRP=green/false
review=FALSE --> [*]
Let me add the user stories over the weekend as they may help clarify. I'm not sure I understand the diagram above. There is only one review
property, which will true, if EFRuP resulted in a different outcome to normal processing (without EFRuP) i.e. initiate an investigation if there was a block or override. Allow lists are enabled through Override
which will override an overridable block condition
(amber) but not a non-overridable block condition
(red).
The Event flow Rule processor (EFRuP) must send a single result to the typology processor. The subRuleRef must be one of block, override or none. https://github.com/frmscoe/event-flow/issues/7
User Story
As a fraud analyst, I want to block a customer from transacting from any account So that customers that have been identified as non-compliant will not be able to transact and expose my organization to compliance risks
There are two types of conditions that can control event flow in the Tazama system:
Conditions are managed at two levels
There are two condition perspectives
Hierarchy of conditions
Conditions (red, amber, green) would only be for one type at a time, and then for up to both perspectives, and then for an expanding number of different event types. So the branching goes from 1:2:n (condition):(perspectives):(event types)
Sequence diagram (end-to-end)
EFRuP logic