I have been asked these questions when I face client interviews, don't know how they fixed it. but the questions are:
1. Case locking is Optimistic, I have parallel flow configured(each flow assignment configured with SLA). If I open one flow, the other parallel flow SLA should be paused, which means if the other flow goal/deadline is reached it should not trigger the action.
@SureshP16655111 we would not be able to directly pause SLA, but we can do pause by a different method. -> by deleting/removing the old SLA and resetting the SLA, so it works like pausing. Because the SLA doesn't reach its time and it doesn't trigger actions. We can implement some business logics and apply that goal/deadline time too while resetting SLA.
If we delete the SLA, then the SLA freshly starts, which means consider I have passed 2 days (5 days of SLA) left with 3 days. If we delete the old SLA and create a fresh instance it will be considered as 5 days SLA(Which can be modified/achieved based on some calculation), and it will restart the SLA again.
If we pause the existing SLA, it should resume the same SLA (While we report on the SLA there is a difference).
Posted: 7 months ago
Posted: 25 Apr 2023 7:30 EDT
Anoop Krishna (Anoop Krishna)
Bits in Glass
Senior Software Engineer
Bits in Glass
@SureshP16655111 it is deleting and resetting the SLA. In your example, 2 days have been passed(total 5 days), I am resetting to 8(some random number so SLA doesn't trigger any actions) days. Once the resuming logic comes, I will be resetting it again to 2 days(the actual one).