Closed JozefAerts closed 3 months ago
Update: I don't get the error "string indices must be integers" anymore, but now get an error "column not found in dataset: sort_order". May however be due to choice of scope. Will discuss next office hours. All files attached. Rule_editor_export_execution_error_SEND130_2023-09-15.zip
It looks as there was an error in my script, had "order = asc". After replacement by "sort_order = asc", there is no error anymore and the rule runs fine. P.S.: Rule Type: Record Data , Sensitivity: Record. Same functionality was also tested on rule SEND354. Also there, it works well now.
Covered by #557
Rule SEND-130 uses date sorting, the rule being "SESEQ values must be assigned in chronological order within a subject". The YAML code in the rule editor uses the function "target_is_not_sorted_by", which seems to cause an execution error "string indices must be integers". I attach the download (Export Artifcats button) from the rule editor.
Or do we need another operator when sorting is for dates? Rule_editor_export_execution_error_SEND130.zip