On our Conquest server (1.5.0c), I try to start some processing workflows based on scans being received. I created two export converter rules for that:
ExportConverter0 = ifnotequal "%V0008,1090","Elekta XVI"; stop; ifnotequal "%V0008,0070","ELEKTA"; stop; ifnotequal "%V0020,0013", "0"; stop; process series after 15 by powershell -WindowStyle hidden -File .\RT-CBCT-DR-Creation-Trigger.ps1 "RT-CBCT-DR-Creation-Trigger-A.json" "%V0020,000e" "KNO_protocol"ExportConverter1 = ifnotequal "%V0008,1090","Elekta XVI"; stop; ifnotequal "%V0008,0070","ELEKTA"; stop; ifnotequal "%V0020,0013", "0"; stop; process series after 20 by powershell -WindowStyle hidden -File .\RT-CBCT-RS-Creation-Trigger.ps1 "RT-CBCT-RS-Creation-Trigger-A.json" "%V0020,000e" "KNO_protocol"
So when a scan which matches certain criteria is encountered, a powershell script is started after a delay, and this powershell script then triggers a workflow on a server somewhere else. The trigger process takes about 5 seconds to complete.
In this case, the criteria are the same for both export converters, and if a scan is encountered, both export converters should fire, and start different workflows on different servers.
The problem is that only only one export converter is executed, the first one. When I restart the server and retry, both export converters are executed. When I upload the scan again some time later, only one export converter is executed. When I swap the contents of the export converters around, still only the first one executes.
Does anybody have an idea about what I'm doing wrong? Any help much appreciated!
Thanks and kind regards,