I have to complete the two lines missing, but I don't seem to get around. The stop after "Log Report", and the one "Are there elements in the list2? -> no" should go back to "Listen to Events" and the stop must be removed. Do you have an idea or recommendation of how I can do that. Thanks so much in advance.
Here is the code.
if (is publish successful?) then (yes)
:Subscribe to Events;
repeat:Listen to Events;
repeat while (has a notification arrived?) is (no) not(yes)
repeat while (Is the notification linked to a sock?) is (no) not(yes)
:Get name name from the sock;
:Check name list1;
if(Are there elements in the list1?) then (yes)
:Remove 1st item from list1 and create a sock;
:Check name list2;
if(Are there elements in the list2?) then (yes)
:Remove 1st item from list2 and create a sock;
repeat while (Is sock creation successful?) is (yes) not(no)