I have calculated an expected item in a scoreboard but in some particular cases some fields from the expected item must be updated later.
I cannot delay putting the expected later in scoreboard, because I break other functionality.
So I must update or override the expected item in scoreboard with the new values. How can I do this?
In reply to ingamara:
Cannot answer without knowing what “some particular cases” means. How and when do we get to know this case is occurring?
In reply to ingamara:
I would use a temp queue to store the “calculated expected items”.
Later in your code, when the “some particular cases” will be TRUE
→ I will update the specific fields in the item retrieved from the queue and will add it to the scoreboard.
If “some particular cases” will be FALSE →
I will just add it as is to the scoreboard.
Hope it helps.
In reply to MichaelP:
Hi,
can you please give more details like (“some particular cases” will be TRUE) is part of config class run time variable or part of seq_item(rsp) etc…
In reply to dhaval_sanepara:
I did not ask the question, just tried to help.
The one who asked should know what is the criteria for TRUE.