Re: [Simple-evcorr-users] add string to the event store of a context only if it doesn't exist

2022-11-06 Thread Risto Vaarandi
hi Sean, there are several ways to approach this problem and perhaps I will outline two possible ways below. Before adding a new ID to the context, one could search all existing IDs in the context with the SEC 'while' action, looping over all IDs one by one, and comparing each previously stored

[Simple-evcorr-users] add string to the event store of a context only if it doesn't exist

2022-11-05 Thread Sean Hennessey
It's late and my Perl is years rusty. Does anyone already have a routine that will do this? Basically I'm using an event store to track of a list of id's so I can clean something up. I need a way to add a string to the event store only if it's not already in there. Thanks.