Wiki-Quellcode von Expertenregeln Beispiele

Version 17.1 von Carina Enke am 11.04.2023

Zeige letzte Bearbeiter
1 {{sv-translation language="de"}}
2 {{layout}}
3 {{layout-section ac:type="single"}}
4 {{layout-cell}}
5 \\
6
7 {{details}}
8 (% class="wrapped" %)
9 |=(((
10 Verantwortlicher
11 )))|(((
12 \\
13 )))
14 |=(% colspan="1" %)(% colspan="1" %)
15 (((
16 Status
17 )))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)
18 (((
19 (% class="content-wrapper" %)
20 (((
21 {{sv-metadata type="workflow-status"/}}
22
23 {{status colour="Green" title="Fertig"/}}
24 )))
25 )))
26 |=(% colspan="1" %)(% colspan="1" %)
27 (((
28 Varianten
29 )))|(% colspan="1" %)(% colspan="1" %)
30 (((
31 (% class="content-wrapper" %)
32 (((
33 {{sv-metadata type="variants"/}}
34 )))
35 )))
36 |=(% colspan="1" %)(% colspan="1" %)
37 (((
38 Attribute
39 )))|(% colspan="1" %)(% colspan="1" %)
40 (((
41 (% class="content-wrapper" %)
42 (((
43 {{sv-metadata type="attributes"/}}
44 )))
45 )))
46 |=(% colspan="1" %)(% colspan="1" %)
47 (((
48 Pagekey
49 )))|(% colspan="1" %)(% colspan="1" %)
50 (((
51 (% class="content-wrapper" %)
52 (((
53 {{sv-metadata type="pagekey"/}}
54 )))
55 )))
56 |=(% colspan="1" %)(% colspan="1" %)
57 (((
58 Übersetzung
59 )))|(% colspan="1" %)(% colspan="1" %)
60 (((
61 (% class="content-wrapper" %)
62 (((
63 Expert rules examples
64
65 {{status colour="Green" title="fertig"/}}
66 )))
67 )))
68 |=(% colspan="1" %)(% colspan="1" %)
69 (((
70 TODOs
71 )))|(% colspan="1" %)(% colspan="1" %)
72 (((
73 (% class="task-list" %)
74 (((
75 {{task reference="/Tasks/Task_20" status="Done"}}
76 carina: Anpassungen durch Empfelhlung von Dirk in [[OLATCE-13683>>url:https://jira.bps-system.de/devel/browse/OLATCE-13683||rel="nofollow" shape="rect" class="external-link"]]
77 {{/task}}
78 )))
79 )))
80 {{/details}}
81 {{/layout-cell}}
82 {{/layout-section}}
83
84 {{layout-section ac:type="two_right_sidebar"}}
85 {{layout-cell}}
86 (% class="auto-cursor-target" %)
87 Expertenregeln bieten vielfältige Einsatzmöglichkeiten und können unterschiedliche Auswirkungen haben. Einen kleinen Einblick geben die Beispiele zur Anwendung auf dieser Seite.
88
89 \\
90 {{/layout-cell}}
91
92 {{layout-cell}}
93 {{scroll-ignore}}
94 {{panel title="Inhalt"}}
95
96
97 {{toc/}}
98 {{/panel}}
99 {{/scroll-ignore}}
100 {{/layout-cell}}
101 {{/layout-section}}
102
103 {{layout-section ac:type="single"}}
104 {{layout-cell}}
105 == Expertenregeln in Beispielbildern**
106 ** ==
107
108 In diesen Beispielen sehen Sie, wie Expertenregeln konfiguriert werden und wie sie sich in der Kursansicht auswirken.
109
110 \\
111
112 {{expand title="In einem öffentlichen Kurs einzelne Inhalte nur für registrierte Nutzer sichtbar schalten ..."}}
113 (% class="wrapped" %)
114 |(((
115 (% class="content-wrapper" %)
116 (((
117 Sie wollen Inhalte in einem öffentlichen Kurs vor Gästen verbergen?
118
119 Tragen Sie im Tab Sichtbarkeit des betreffenden Kursbausteins bei Expertenmodus in das Textfeld nachfolgenden Inhalt ein.
120
121 {{code}}
122 isGuest()=false
123 {{/code}}
124
125 (% class="auto-cursor-target" %)
126 Damit wird der Kursbaustein in einem öffentlich zugänglichen Kurs für nicht registrierte Gastnutzer angezeigt.
127 )))
128 )))|(((
129 (% class="content-wrapper" %)
130 (((
131 [[image:attach:Kurseditor - Konfiguration nur registrierte Nutzer_de.png]]
132 )))
133 )))
134
135 (% class="auto-cursor-target" %)
136 Nach dem Publizieren sehen Nutzer folgende Ansicht:
137
138 (% class="wrapped" %)
139 |=(((
140 Ansicht als registrierter Nutzer
141 )))|=(% colspan="1" %)(% colspan="1" %)
142 (((
143 Ansicht als Gastnutzer
144 )))|=(% colspan="1" %)(% colspan="1" %)
145 (((
146 Ansicht als Kursverantwortlicher
147 )))
148 |(% colspan="1" %)(% colspan="1" %)
149 (((
150 (% class="content-wrapper" %)
151 (((
152 [[image:attach:Kursrun - Ansicht registrierte Nutzer_de.png]]
153 )))
154 )))|(% colspan="1" %)(% colspan="1" %)
155 (((
156 (% class="content-wrapper" %)
157 (((
158 [[image:attach:Kurseditor - Konfiguration nicht für Gäste_de.png]]
159 )))
160 )))|(% colspan="1" %)(% colspan="1" %)
161 (((
162 (% class="content-wrapper" %)
163 (((
164 [[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png]]
165 )))
166 )))
167 {{/expand}}
168
169 {{expand title="In einem öffentlichen Kurs einzelne Inhalte nur für Gäste sichtbar schalten ..."}}
170 \\
171
172 (% class="wrapped" %)
173 |(((
174 (% class="content-wrapper" %)
175 (((
176 Sie wollen Inhalte in einem öffentlichen Kurs ausschließlich Gästen und Kursverantwortlichen anzeigen?
177
178 Tragen Sie im Tab Sichtbarkeit des betreffenden Kursbausteins bei Expertenmodus in das Textfeld nachfolgenden Inhalt ein.
179
180 {{code}}
181 isGuest() or isCourseAdministrator()
182 {{/code}}
183
184 (% class="auto-cursor-target" %)
185 Damit wird der Kursbaustein in einem öffentlich zugänglichen Kurs nur Gastnutzern und Kursverantwortlichen angezeigt.
186 )))
187 )))|(((
188 (% class="content-wrapper" %)
189 (((
190 [[image:attach:Kurseditor - Konfiguration nur Gäste und Kursverantwortliche_de.png]]
191 )))
192 )))
193
194 (% class="auto-cursor-target" %)
195 Nach dem Publizieren sehen Nutzer folgende Ansicht:
196
197 (% class="wrapped relative-table" style="width: 58.8305%;" %)
198 |=(((
199 Ansicht als registrierter Nutzer
200 )))|=(% colspan="1" %)(% colspan="1" %)
201 (((
202 Ansicht als Gastnutzer
203 )))|=(% colspan="1" %)(% colspan="1" %)
204 (((
205 Ansicht als Kursverantwortlicher
206 )))
207 |(% colspan="1" %)(% colspan="1" %)
208 (((
209 (% class="content-wrapper" %)
210 (((
211 [[image:attach:Kursansicht - nicht für registrierte Nutzer_de.png]]
212 )))
213 )))|(% colspan="1" %)(% colspan="1" %)
214 (((
215 (% class="content-wrapper" %)
216 (((
217 [[image:attach:Kursrun - Ansicht nur Gäste_de.png]]
218 )))
219 )))|(% colspan="1" %)(% colspan="1" %)
220 (((
221 (% class="content-wrapper" %)
222 (((
223 [[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png]]
224 )))
225 )))
226 {{/expand}}
227
228 {{expand title="Kursinhalte nach Testergebnis freigeben ..."}}
229 Sie wollen Inhalte in Abhängigkeit eines Tests freigeben? Die Umsetzung dieses Szenarios wird auf der Seite [[doc:Lernwegsteuerung nach Testergebnis]] erläutert.
230 {{/expand}}
231 {{/layout-cell}}
232 {{/layout-section}}
233
234 {{layout-section ac:type="single"}}
235 {{layout-cell}}
236 \\
237 {{/layout-cell}}
238 {{/layout-section}}
239
240 {{layout-section ac:type="single"}}
241 {{layout-cell}}
242 == Expertenregeln zur Prüfung von Nutzereigenschaften ==
243
244 {{info}}
245 Alle nachfolgenden Beispielregeln lassen sich für die **Sichtbarkeit** und ebenso für den **Zugang** eines Kursbausteins anlegen. Zur Vereinfachung wird in den folgenden Beispielen immer nur ein Szenario beschrieben.
246 {{/info}}
247 {{/layout-cell}}
248 {{/layout-section}}
249
250 {{layout-section ac:type="single"}}
251 {{layout-cell}}
252 \\
253 {{/layout-cell}}
254 {{/layout-section}}
255
256 {{layout-section ac:type="single"}}
257 {{layout-cell}}
258 (% class="auto-cursor-target" %)
259 === Prüfung auf eine Nutzerrolle ===
260
261 (% class="wrapped" %)
262 |(((
263 Nur Gäste sehen den Kursbaustein, alle registrierten Nutzer dagegen nicht.
264 )))|(((
265 (% class="content-wrapper" %)
266 (((
267 Tragen Sie im Tab Sichtbarkeit ein:
268
269 {{code language="text"}}
270 isGuest()
271 {{/code}}
272
273 (% class="auto-cursor-target" %)
274 Alternativ: isGuest()=true oder isGuest()=1
275 )))
276 )))
277 |(((
278 Gäste haben keinen Zugang zu diesem Kursbaustein.
279 )))|(((
280 (% class="content-wrapper" %)
281 (((
282 (% class="auto-cursor-target" %)
283 Tragen Sie im Tab Zugang ein:
284
285 {{code language="text"}}
286 isGuest()=false
287 {{/code}}
288
289 (% class="auto-cursor-target" %)
290 Alternativ: !isGuest()
291 )))
292 )))
293
294 (% class="auto-cursor-target" %)
295 === Prüfung auf eine Gruppenzugehörigkeit ===
296
297 (% class="wrapped" %)
298 |(((
299 Mit Ausnahme der (Lern)Gruppe mit dem Titel "Anfänger" sehen alle Kursteilnehmer den Kursbaustein.
300 )))|(((
301 (% class="content-wrapper" %)
302 (((
303 Tragen Sie im Tab Sichtbarkeit ein:
304
305 {{code language="text"}}
306 inLearningGroup("Anfänger")= false
307
308 {{/code}}
309
310 (% class="auto-cursor-target" %)
311 Alternativ: !inLearningGroup("Anfänger")
312 )))
313 )))
314 |(% colspan="1" %)(% colspan="1" %)
315 (((
316 Nur Mitglieder der Gruppe "Intern" sehen den Kursbaustein. Auch Kursverantwortliche und Gruppenbetreuer sehen den Kursbaustein in der Kursnavigation nicht.
317 )))|(% colspan="1" %)(% colspan="1" %)
318 (((
319 (% class="content-wrapper" %)
320 (((
321 {{code language="text"}}
322 inLearningGroup("Intern")
323 {{/code}}
324 )))
325 )))
326 |(((
327 Der Kursbaustein ist innerhalb eines Zeitraums (22.03.2020 - 23.08.2020) für alle Kursteilnehmer sichtbar, während er für Mitglieder der Lerngruppe mit dem Titel "Betreuer" jederzeit sichtbar ist.
328 )))|(((
329 (% class="content-wrapper" %)
330 (((
331 Tragen Sie im Tab Sichtbarkeit ein:
332
333 {{code language="text"}}
334 (now >= date("22.03.2020 12:00")) and (now <= date("23.08.2020 18:00")) or inLearningGroup("Betreuer")
335 {{/code}}
336 )))
337 )))
338 |(((
339 Der Kursbaustein ist innerhalb eines Zeitraums (03.09.2020 - 13.10.2020) für alle Kursteilnehmer der Rechtegruppe mit dem Titel "Assessoren" sichtbar, während er für die Person mit dem Benutzernamen "natalie" jederzeit sichtbar ist.
340 )))|(((
341 (% class="content-wrapper" %)
342 (((
343 (% class="auto-cursor-target" %)
344 Tragen Sie im Tab Sichtbarkeit ein:
345
346 {{code language="text"}}
347 (now >= date("03.09.2020 00:00")) and (now <= date("13.10.2020 00:00")) and inRightGroup("Assessoren")or isUser("natalie")
348 {{/code}}
349 )))
350 )))
351
352 (% class="auto-cursor-target" %)
353 === Prüfung von Benutzerattributen ===
354
355 {{info}}
356 Neben den allgemeinen Beispielen, die unabhängig von der Institution verwendet werden können, sind auch Einschränkungen zu Daten möglich, welche institutionsspezifisch sind und je nach Institution übermittelt werden.
357 Für OPAL Nutzer enthält die Seite [[Übersicht der OPAL-Shibboleth-Attribute>>url:https://bildungsportal.sachsen.de/help/attribute-opal_de.html||shape="rect"]] alle aktuell verwendbaren institutionsspezifischen Attribute sächsischer Institutionen.
358 {{/info}}
359
360 (% class="wrapped" %)
361 |(((
362 Der Kursbaustein ist für alle Personen, deren Attribut Studiengang die Buchstabenfolge "Chemie" enthält zugänglich.
363
364 Somit können Personen mit dem Studiengang "Chemie BA" und auch "Chemie MA" den Kursbaustein nutzen, Nutzer mt dem Studiengang "Chemische Wasseraufbereitung" jedoch nicht.
365 )))|(((
366 (% class="content-wrapper" %)
367 (((
368 (% class="auto-cursor-target" %)
369 Tragen Sie im Tab Zugang ein:
370
371 {{code language="text"}}
372 isInAttribute("studySubject","Chemie")
373 {{/code}}
374
375 {{expand title="Beispiele für weitere Attribute ..."}}
376 {{info}}
377 Je nach System sind unterschiedliche Nutzerattribute konfigurierbar. Prüfen Sie deshalb vorher welche Benutzerattribute in Ihrer Plattform verfügbar sind.
378
379 Beispiele für Nutzerattribute:
380
381 * Nutzername: username
382 * E-Mail-Adresse: email
383 * Fachsemester: termsOfStudy
384 * Institution: institutionalName
385 * Matrikelnummer: institutionalUserIdentifier
386 * Standort: standort
387 * Studiengang: studySubject
388 * Studiengruppe: studyGroup
389 * Organisationseinheit: orgUnit
390 * Vorname: firstName
391 * Nachname: lastName
392 {{/info}}
393 {{/expand}}
394 )))
395 )))
396 |(((
397 Nur Personen aus der Organisationseinheit "Marketing" sehen den Kursbaustein.
398 )))|(((
399 (% class="content-wrapper" %)
400 (((
401 (% class="auto-cursor-target" %)
402 Tragen Sie im Tab Sichtbarkeit ein:
403
404 {{code language="text"}}
405 (getUserProperty("orgUnit") = "Marketing")
406 {{/code}}
407 )))
408 )))
409 {{/layout-cell}}
410 {{/layout-section}}
411
412 {{layout-section ac:type="single"}}
413 {{layout-cell}}
414 \\
415 {{/layout-cell}}
416 {{/layout-section}}
417
418 {{layout-section ac:type="single"}}
419 {{layout-cell}}
420 === Auswertung Einschreibezeitpunkt ===
421
422 {{info}}
423 Einige der nachfolgenden Beispielregeln prüfen auf einen Kursbaustein Einschreibung. Dafür kann //getInitialEnrollmentDate// genutzt werden, wenn nur die erstmalige Einschreibung, unabhängig von einem späteren Austragen aus dem Kursbaustein, beachtet werden soll. Oder alternativ //getRecentEnrollmentDate, //wenn jede Einschreibung neu ausgewertet werden soll. Zur Vereinfachung wird in den folgenden Beispielen immer nur ein Szenario beschrieben.
424 {{/info}}
425
426 (% class="wrapped" %)
427 |(((
428 Der Zugang zu einem Kursbaustein wird abhängig von einem konkreten **Zeitpunkt einer Einschreibung** möglich.
429
430 Kursteilnehmer, die sich vor dem 26. Mai 2020, 18:00 Uhr über einen Kursbaustein Einschreibung (Kursbaustein-ID "70323786958847") eingeschrieben haben, können den Kursbaustein nutzen.
431 )))|(((
432 (% class="content-wrapper" %)
433 (((
434 (% class="auto-cursor-target" %)
435 Tragen Sie im Tab Zugang ein:
436
437 {{code language="text"}}
438 getInitialEnrollmentDate("70323786958847") <= date("26.5.2020 18:00")
439
440 {{/code}}
441 )))
442 )))
443 |(% colspan="1" %)(% colspan="1" %)
444 (((
445 (% class="content-wrapper" %)
446 (((
447 Jeder Kursteilnehmer kann **ab **einem **relativen Zeitpunkt**, z. B. erst 2 Stunden nach der Einschreibung (Kursbaustein-ID "70323786958847"), den Kursbaustein sehen.
448 )))
449 )))|(% colspan="1" %)(% colspan="1" %)
450 (((
451 (% class="content-wrapper" %)
452 (((
453 (% class="auto-cursor-target" %)
454 Tragen Sie im Tab Sichtbarkeit ein:
455
456 {{code language="text"}}
457 getInitialEnrollmentDate("70323786958847") + 2h < now
458 {{/code}}
459 )))
460 )))
461 |(% colspan="1" %)(% colspan="1" %)
462 (((
463 (% class="content-wrapper" %)
464 (((
465 Jeder Kursteilnehmer kann nur **bis** zu einem **relativen Zeitpunkt**, z. B. nur für die ersten 2 Stunden nach der Einschreibung (Kursbaustein-ID "70323786958847"), den Kursbaustein sehen.
466 )))
467
468 {{note}}
469 Stellen Sie für die Nutzung dieser Regel sicher, dass ein übergeordneter Kursbaustein bereits die Sichtbarkeit auf die Lerngruppe einschränkt. Wenn Sie dies nicht tun und nur diese Regel nutzen, haben bspw. nicht eingeschriebene Nutzer und Gäste immer Zugang zu diesem Kursbaustein.
470 {{/note}}
471 )))|(% colspan="1" %)(% colspan="1" %)
472 (((
473 (% class="content-wrapper" %)
474 (((
475 (% class="auto-cursor-target" %)
476 Tragen Sie im Tab Sichtbarkeit ein:
477
478 {{code language="text"}}
479 getInitialEnrollmentDate("70323786958847") + 2h > now
480 {{/code}}
481 )))
482 )))
483 |(((
484 (% class="content-wrapper" %)
485 (((
486 Jeder Kursteilnehmer kann den Kursbaustein nur **innerhalb **eines **relativen Zeitraumes **sehen, z. B. beginnend 2 Stunden nach der Einschreibung (Kursbaustein-ID "70323786958847") bis 5 Stunden nach der Einschreibung. Kursbetreuer sind von dieser Einschränkung ausgenommen.
487 )))
488 )))|(((
489 (% class="content-wrapper" %)
490 (((
491 (% class="auto-cursor-target" %)
492 Tragen Sie im Tab Sichtbarkeit ein:
493
494 {{code language="text"}}
495 (getInitialEnrollmentDate("101524102434663") + 2h < now and getInitialEnrollmentDate("101524102434663") + 5h > now ) or isCourseCoach() or isCourseAdministrator()
496 {{/code}}
497 )))
498 )))
499 |(((
500 Jeder Kursteilnehmer kann nur während einer bestimmten **Zeitdauer** (während der ersten zwei Stunden des ersten Kursbesuchs) den Kursbaustein sehen.
501 )))|(((
502 (% class="content-wrapper" %)
503 (((
504 (% class="auto-cursor-target" %)
505 Tragen Sie im Tab Sichtbarkeit ein:
506
507 {{code language="text"}}
508 (getInitialCourseLaunchDate() >= never) or (getInitialCourseLaunchDate() + 2h > now)
509 {{/code}}
510 )))
511 )))
512 |(((
513 Der Kursbaustein wird erst sichbar, wenn sich der Benutzer **seit mehr als 10 Minuten** im Kurs bewegt.
514 )))|(((
515 (% class="content-wrapper" %)
516 (((
517 (% class="auto-cursor-target" %)
518 Tragen Sie im Tab Sichtbarkeit ein:
519
520 {{code language="text"}}
521 (getRecentCourseLaunchDate() + 10min) > now
522 {{/code}}
523 )))
524 )))
525 {{/layout-cell}}
526 {{/layout-section}}
527
528 {{layout-section ac:type="single"}}
529 {{layout-cell}}
530 \\
531 {{/layout-cell}}
532 {{/layout-section}}
533
534 {{layout-section ac:type="single"}}
535 {{layout-cell}}
536 (% class="auto-cursor-target" %)
537 == Expertenregeln mit spezifischen Kursbausteinen ==
538
539 {{info}}
540 In allen nachfolgenden Beispielen werden spezifische Kursbausteine genutzt.
541
542 Notieren Sie sich für die Nutzung dieser Regeln vorher die Kursbaustein-IDs der betreffenden Kursbausteine für Ihr Szenario und passen Sie diese in den Expertenregeln entsprechend an.
543 {{/info}}
544 {{/layout-cell}}
545 {{/layout-section}}
546
547 {{layout-section ac:type="single"}}
548 {{layout-cell}}
549 \\
550 {{/layout-cell}}
551 {{/layout-section}}
552
553 {{layout-section ac:type="single"}}
554 {{layout-cell}}
555 === Auswertung der Versuchsanzahl ===
556
557 (% class="wrapped" %)
558 |(((
559 Der Kursbaustein wird sichtbar, sobald der betreffende Kursteilnehmer den Kursbaustein Test (Kursbaustein-ID "70323786958847") ein erstes Mal durchgeführt hat.
560 )))|(((
561 (% class="content-wrapper" %)
562 (((
563 (% class="auto-cursor-target" %)
564 Tragen Sie im Tab Sichtbarkeit ein:
565
566 {{code language="text"}}
567 getAttempts("70323786958847") > 0
568 {{/code}}
569 )))
570 )))
571 |(((
572 Nutzer sollen einen Kursbaustein nicht mehr sehen, sobald sie in einem Kursbaustein Aufgabe (Kursbaustein-ID "70323524635734") mehr als 3 Dateien in den Abgabeordner gelegt haben.
573 )))|(((
574 (% class="content-wrapper" %)
575 (((
576 (% class="auto-cursor-target" %)
577 Tragen Sie im Tab Sichtbarkeit ein:
578
579 {{code language="text"}}
580 getAttempts("70323524635734") <= 3
581 {{/code}}
582 )))
583 )))
584 {{/layout-cell}}
585 {{/layout-section}}
586
587 {{layout-section ac:type="single"}}
588 {{layout-cell}}
589 \\
590 {{/layout-cell}}
591 {{/layout-section}}
592
593 {{layout-section ac:type="single"}}
594 {{layout-cell}}
595 (% class="auto-cursor-target" %)
596 === Auswertung von Bewertungsdaten anderer Kursbausteine ===
597
598 (% class="wrapped" %)
599 |(((
600 Der Kursbaustein ist sichtbar, sobald der Benutzer mindestens 10 Punkte im Test (Kursbaustein-ID "84692289655276") erreicht hat.
601 )))|(((
602 (% class="content-wrapper" %)
603 (((
604 (% class="auto-cursor-target" %)
605 Tragen Sie im Tab Sichtbarkeit ein:
606
607 {{code language="text"}}
608 getOnyxTestOutcome("84692289655276","SCORE") >= 10
609 {{/code}}
610 )))
611 )))
612 |(((
613 Der Kursbaustein ist sichtbar, sobald der Nutzer den Test (Kursbaustein-ID "84389429397045") bestanden hat.
614 )))|(((
615 (% class="content-wrapper" %)
616 (((
617 (% class="auto-cursor-target" %)
618 Tragen Sie im Tab Sichtbarkeit ein:
619
620 {{code language="text"}}
621 getOnyxTestOutcomeZK("84389429397045","PASS") ="true"
622 {{/code}}
623 )))
624 )))
625 |(((
626 Der Kursbaustein ist sichtbar, wenn die Note des Nutzers für den angegebenen Baustein (Kursbaustein-ID "84692289655276") besser als 4 ist.
627 )))|(((
628 (% class="content-wrapper" %)
629 (((
630 Tragen Sie im Tab Sichtbarkeit ein:
631
632 {{code language="text"}}
633 getMark("84692289655276") < 4
634 {{/code}}
635 )))
636 )))
637 |(((
638 Der Kursbaustein ist sichtbar, wenn der Nutzer den angegebenen Kursbaustein (Kursbaustein-ID "69742969114730") erledigt hat (Kursfortschritt).
639 )))|(((
640 (% class="content-wrapper" %)
641 (((
642 Tragen Sie im Tab Sichtbarkeit ein:
643
644 {{code language="text"}}
645 getProgress("69742969114730")>=100
646 {{/code}}
647 )))
648 )))
649
650 {{info}}
651 Die Umsetzung eines weiteren Beispiels zur Nutzung von Expertenregeln wird auf der Seite [[doc:Lernwegsteuerung nach Testergebnis]] erläutert.
652 {{/info}}
653 {{/layout-cell}}
654 {{/layout-section}}
655
656 {{layout-section ac:type="single"}}
657 {{layout-cell}}
658 \\
659 {{/layout-cell}}
660 {{/layout-section}}
661
662 {{layout-section ac:type="single"}}
663 {{layout-cell}}
664 (% class="auto-cursor-target" %)
665 === Steuerung auf Basis von Ausgabevariablen eines Tests (ONYX) ===
666
667 Werden in einem Kursbaustein Test globale Testvariablen genutzt, können diese ebenfalls zur Sichtbarkeits- und Zugangssteuerung verwendet werden.
668
669 {{info}}
670 Die verfügbaren Testvariablen sind im entsprechenden Kursbaustein Test im Tab Test-Konfiguration über den Link **Ausgabevariablen dieser Ressource** einsehbar. Neben Sichtbarkeits- und Zugriffsregeln (Expertensyntax) können sie ebenfalls als [[Platzhalter in Zertifikatstemplates>>url:https://www.bps-system.de/help/display/LMS/Zertifikate||shape="rect"]] genutzt werden.
671
672 [[image:attach:Kurseditor - Ausgabevariablen_de.png]]
673 {{/info}}
674
675 \\
676
677 (% class="wrapped" %)
678 |(((
679 Der Kursbaustein ist sichtbar, wenn der Nutzer im angegebenen Kursbaustein Test (Kursbaustein-ID "69742969114730") für die Testvariable "S1_max" mehr als den Wert 10 erreicht hat.
680 )))|(((
681 (% class="content-wrapper" %)
682 (((
683 Tragen Sie im Tab Sichtbarkeit ein:
684
685 {{code language="text"}}
686 getOnyxTestOutcome("84692289655276","S1_max") > 10
687 {{/code}}
688 )))
689 )))
690 |(% colspan="1" %)(% colspan="1" %)
691 (((
692 Der Kursbaustein ist sichtbar, wenn der Nutzer im angegebenen Kursbaustein Test (Kursbaustein-ID "69742969114730") für die Testvariable "feedbackE" genau den Wert "Wiederholen" hat.
693 )))|(% colspan="1" %)(% colspan="1" %)
694 (((
695 (% class="content-wrapper" %)
696 (((
697 Tragen Sie im Tab Sichtbarkeit ein:
698
699 {{code language="text"}}
700 getOnyxTestOutcome("84692289655276","feedbackE")="Wiederholen"
701 {{/code}}
702 )))
703 )))
704 {{/layout-cell}}
705 {{/layout-section}}
706
707 {{layout-section ac:type="single"}}
708 {{layout-cell}}
709 \\
710 {{/layout-cell}}
711 {{/layout-section}}
712
713 {{layout-section ac:type="single"}}
714 {{layout-cell}}
715 (% class="auto-cursor-target" %)
716 === Punktevergabe oder Bestandenstatus automatisch setzen ===
717
718 {{info}}
719 Diese Regeln können in einem **Kursbaustein Struktur **im** Tab Bewertung** im jeweils passenden Eingabefeld gesetzt werden.
720
721 [[image:attach:Kurseditor - Expertenregeln zur Bewertung_de.png]]
722 {{/info}}
723
724 (% class="wrapped" %)
725 |(((
726 **Automatische Punktevergabe:**
727
728 Für einen Kursbaustein Struktur sollen automatisch 10 Punkte vergeben werden, wenn einer von drei Kursbausteinen Test (Kursbaustein-IDs "69742969114730", "69742969115733" oder "69742969118009") bestanden wurde. Ist das nicht der Fall, sollen automatisch 0 Punkte für den Strukturbaustein gesetzt werden.
729 )))|(((
730 (% class="content-wrapper" %)
731 (((
732 (% class="auto-cursor-target" %)
733 Diese Regel wird im Abschnitt **Punkte verarbeiten** gesetzt.
734
735 {{code language="text"}}
736 getPassed("69742969114730") or getPassed("69742969115733") or getPassed("69742969118009")) * 10
737 {{/code}}
738 )))
739 )))
740 |(((
741 **Automatisch Status Bestanden setzen:**
742
743 Ein Kursbaustein Struktur soll automatisch als bestanden angezeigt werden, wenn in allen Kursbausteinen Test (Kursbaustein-IDs "69742969114730", "69742969115733" oder "69742969118009") zusammen mindestens 140 Punkte erzielt wurden oder wenn für den Kursbaustein Bewertung (ID "69978845384688") manuell ein "Bestanden" gesetzt wurde.
744 )))|(((
745 (% class="content-wrapper" %)
746 (((
747 (% class="auto-cursor-target" %)
748 Diese Regel wird im Abschnitt **Bestanden wenn** gesetzt.
749
750 {{code language="text"}}
751 (getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 or getPassed("69978845384688")
752 {{/code}}
753 )))
754 )))
755 {{/layout-cell}}
756 {{/layout-section}}
757 {{/layout}}
758 {{/sv-translation}}
759
760 {{sv-translation language="en"}}
761 {{layout}}
762 {{layout-section ac:type="two_right_sidebar"}}
763 {{layout-cell}}
764 Expert rules offer a wide range of applications and can have different effects. The examples on this page give a brief insight into possible application scenarios.
765 {{/layout-cell}}
766
767 {{layout-cell}}
768 {{scroll-ignore scroll-pdf="true" scroll-office="true" scroll-chm="true" scroll-docbook="true" scroll-eclipsehelp="true" scroll-epub="true" scroll-html="true"}}
769 {{panel title="Content"}}
770
771
772 {{toc minLevel="2"/}}
773 {{/panel}}
774 {{/scroll-ignore}}
775 {{/layout-cell}}
776 {{/layout-section}}
777
778 {{layout-section ac:type="single"}}
779 {{layout-cell}}
780 == Expert rules in example images ==
781
782 In these examples, you can see how to configure expert rules and how they affect the course view.
783
784 \\
785
786 {{expand title="Making individual content in a public course visible only to registered users ..."}}
787 (% class="wrapped" %)
788 |(((
789 (% class="content-wrapper" %)
790 (((
791 Do you wish to hide content in a public course from guests?
792
793 Enter the following content in the text field next to Expert rule in the Visibility tab of the respective course element.
794
795 {{code}}
796 isGuest()=false
797 {{/code}}
798
799 This will prevent the course element in a publicly accessible course from being displayed to guest users.
800 )))
801 )))|(((
802 (% class="content-wrapper" %)
803 (((
804 [[image:attach:Kurseditor - Konfiguration nur registrierte Nutzer_de.png]]
805 )))
806 )))
807
808 After publishing, users will see the following view:
809
810 (% class="wrapped" %)
811 |=(((
812 View as a registered user
813 )))|=(((
814 View as a guest user
815 )))|=(((
816 View as a course owner
817 )))
818 |(((
819 (% class="content-wrapper" %)
820 (((
821 [[image:attach:Kursrun - Ansicht registrierte Nutzer_de.png]]
822 )))
823 )))|(((
824 (% class="content-wrapper" %)
825 (((
826 [[image:attach:Kurseditor - Konfiguration nicht für Gäste_de.png]]
827 )))
828 )))|(((
829 (% class="content-wrapper" %)
830 (((
831 [[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png]]
832 )))
833 )))
834 {{/expand}}
835
836 {{expand title="Making individual content in a public course visible only to guests ..."}}
837 (% class="wrapped" %)
838 |(((
839 (% class="content-wrapper" %)
840 (((
841 Do you wish to display content in a public course exclusively to guests and course owners?
842
843 Enter the following content in the text field next to Expert rule in the Visibility tab of the respective course element.
844
845 {{code}}
846 isGuest() or isCourseAdministrator()
847 {{/code}}
848
849 (% class="auto-cursor-target" %)
850 This will make the course element in a publicly accessible course visible only to guest users and course owners.
851 )))
852 )))|(((
853 (% class="content-wrapper" %)
854 (((
855 [[image:attach:Kurseditor - Konfiguration nur Gäste und Kursverantwortliche_de.png]]
856 )))
857 )))
858
859 \\
860
861 After publishing, users will see the following view:
862
863 (% class="wrapped" %)
864 |=(((
865 View as a registered user
866 )))|=(((
867 View as a guest user
868 )))|=(((
869 View as a course owner
870 )))
871 |(((
872 (% class="content-wrapper" %)
873 (((
874 [[image:attach:Kursansicht - nicht für registrierte Nutzer_de.png]]
875 )))
876 )))|(((
877 (% class="content-wrapper" %)
878 (((
879 [[image:attach:Kursrun - Ansicht nur Gäste_de.png]]
880 )))
881 )))|(((
882 (% class="content-wrapper" %)
883 (((
884 [[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png]]
885 )))
886 )))
887 {{/expand}}
888
889 {{expand title="Releasing course content based on test results ..."}}
890 Do you wish to release content depending on a test? The implementation of this scenario is explained on the help page [[Learning path control by test result>>url:https://www.bps-system.de/help/display/LMSintern/.Lernwegsteuerung+nach+Testergebnis+v12.4||shape="rect"]].
891 {{/expand}}
892 {{/layout-cell}}
893 {{/layout-section}}
894
895 {{layout-section ac:type="single"}}
896 {{layout-cell}}
897 \\
898 {{/layout-cell}}
899 {{/layout-section}}
900
901 {{layout-section ac:type="single"}}
902 {{layout-cell}}
903 == Expert rules for checking user properties ==
904
905 {{info}}
906 All of the following example rules can be created for both the **visibility** and **access** of a course element. For simplicity, the following examples only describe one scenario at a time.
907 {{/info}}
908 {{/layout-cell}}
909 {{/layout-section}}
910
911 {{layout-section ac:type="single"}}
912 {{layout-cell}}
913 \\
914 {{/layout-cell}}
915 {{/layout-section}}
916
917 {{layout-section ac:type="single"}}
918 {{layout-cell}}
919 === Checking for a user role ===
920
921 (% class="wrapped" %)
922 |(((
923 Only guests but no registered users can see the course element.
924 )))|(((
925 (% class="content-wrapper" %)
926 (((
927 Enter the following on the Visibility tab:
928
929 {{code language="text"}}
930 isGuest()
931 {{/code}}
932
933 Alternatively enter: isGuest()=true or isGuest()=1
934 )))
935 )))
936 |(((
937 Guests do not have access to this course element.
938 )))|(((
939 (% class="content-wrapper" %)
940 (((
941 Enter the following on the Access tab:
942
943 {{code language="text"}}
944 isGuest()=false
945 {{/code}}
946
947 (% class="auto-cursor-target" %)
948 Alternatively enter: !isGuest()
949 )))
950 )))
951
952 === Checking for a group membership ===
953
954 (% class="wrapped" %)
955 |(((
956 Except of the (learning) group with the title "Anfänger", all course participants can see the course element.
957 )))|(((
958 (% class="content-wrapper" %)
959 (((
960 Enter the following on the Visibility tab:
961
962 {{code language="text"}}
963 inLearningGroup("Anfänger")= false
964 {{/code}}
965
966 (% class="auto-cursor-target" %)
967 Alternatively enter: !inLearningGroup("Anfänger")
968 )))
969 )))
970 |(((
971 Only members of the "Intern" group can see the course element. Course owners and group tutors also cannot see the course element in the course navigation.
972 )))|(((
973 (% class="content-wrapper" %)
974 (((
975 {{code language="text"}}
976 inLearningGroup("Intern")
977 {{/code}}
978 )))
979 )))
980 |(((
981 The course element is visible to all course participants within a certain time frame (22.03.2020 - 23.08.2020), while being visible to members of the learning group with the title "Betreuer" at any time.
982 )))|(((
983 (% class="content-wrapper" %)
984 (((
985 Enter the following on the Visibility tab:
986
987 {{code language="text"}}
988 (now >= date("22.03.2020 12:00")) and (now <= date("23.08.2020 18:00")) or inLearningGroup("Betreuer")
989 {{/code}}
990 )))
991 )))
992 |(((
993 The course element is visible to all course participants in the right group with the title “Assessoren" within a certain time frame (03.09.2020 - 13.10.2020), while being always visible to the person with the username "natalie".
994 )))|(((
995 (% class="content-wrapper" %)
996 (((
997 Enter the following on the Visibility tab:
998
999 {{code language="text"}}
1000 (now >= date("03.09.2020 00:00")) and (now <= date("13.10.2020 00:00")) and inRightGroup("Assessoren")or isUser("natalie")
1001 {{/code}}
1002 )))
1003 )))
1004
1005 === Checking of user attributes ===
1006
1007 {{info}}
1008 In addition to these institution-independent examples, there are also institution-dependent rules that restrict and transmit data according to the user's institution.
1009 For OPAL users, the help page [[Overview of OPAL Shibboleth attributes>>url:https://bildungsportal.sachsen.de/help/attribute-opal_de.html||shape="rect"]] contains all currently usable institution-specific attributes of Saxon institutions.
1010 {{/info}}
1011
1012 (% class="wrapped" %)
1013 |(((
1014 This course element can be accessed by everyone whose study subject attribute contains the letter sequence "Chemie".
1015
1016 This means that users with the study subject "Chemie BA" or "Chemie MA" can use the course element, but users with the study subject "Chemische Wasseraufbereitung" cannot.
1017 )))|(((
1018 (% class="content-wrapper" %)
1019 (((
1020 Enter the following on the Access tab:
1021
1022 {{code language="text"}}
1023 isInAttribute("studySubject","Chemie")
1024 {{/code}}
1025
1026 {{expand title="Examples of further attributes ..."}}
1027 {{info}}
1028 Different user attributes can be configured depending on the system. Therefore, it is advisable to check beforehand which user attributes are available on your platform.
1029
1030 Examples of user attributes:
1031
1032 * Username: username
1033 * Email address: email
1034 * Term: termsOfStudy
1035 * Institution: institutionalName
1036 * Matriculation number: institutionalUserIdentifier
1037 * Location: standort
1038 * Study subject: studySubject
1039 * Study group: studyGroup
1040 * Organisation unit: orgUnit
1041 * First name: firstName
1042 * Last name: lastName
1043 {{/info}}
1044 {{/expand}}
1045 )))
1046 )))
1047 |(((
1048 Only users from the "Marketing" organisation unit can see the course element.
1049 )))|(((
1050 (% class="content-wrapper" %)
1051 (((
1052 Enter the following on the Visibility tab:
1053
1054 {{code language="text"}}
1055 (getUserProperty("orgUnit") = "Marketing")
1056 {{/code}}
1057 )))
1058 )))
1059 {{/layout-cell}}
1060 {{/layout-section}}
1061
1062 {{layout-section ac:type="single"}}
1063 {{layout-cell}}
1064 \\
1065 {{/layout-cell}}
1066 {{/layout-section}}
1067
1068 {{layout-section ac:type="single"}}
1069 {{layout-cell}}
1070 === Evaluation of the enrolment date ===
1071
1072 {{info}}
1073 Some of the following example rules check for an enrolment course element. For example, you can use //getInitialEnrollmentDate// if only the initial enrolment is to be considered, independent of a later deregistration from the course element. Alternatively, you can also use //getRecentEnrollmentDate// if each enrolment is to be re-evaluated. For simplicity, the following examples only describe one scenario at a time.
1074 {{/info}}
1075
1076 (% class="wrapped" %)
1077 |(((
1078 Access to a course element is possible depending on a specific **enrolment date**.
1079
1080 Course participants who got enrolled via an enrolment course element (course element ID "70323786958847") before May 26, 2020, 6 pm can use the course element.
1081 )))|(((
1082 (% class="content-wrapper" %)
1083 (((
1084 Enter the following on the Access tab:
1085
1086 {{code language="text"}}
1087 getInitialEnrollmentDate("70323786958847") <= date("26.5.2020 18:00")
1088 {{/code}}
1089 )))
1090 )))
1091 |(((
1092 Each course participant can see the course element **from** a **relative point in time**, e. g. only 2 hours after the enrolment (course element ID "70323786958847").
1093 )))|(((
1094 (% class="content-wrapper" %)
1095 (((
1096 Enter the following on the Visibility tab:
1097
1098 {{code language="text"}}
1099 getInitialEnrollmentDate("70323786958847") + 2h < now
1100 {{/code}}
1101 )))
1102 )))
1103 |(((
1104 (% class="content-wrapper" %)
1105 (((
1106 Each course participant can only see the course element **up to** a **relative point in time**, e. g. only for the first 2 hours after the enrolment (course element ID "70323786958847").
1107
1108 {{note}}
1109 When using this rule, make sure that the visibility of the learning group is already limited by a higher level course element. Otherwise, if you only use this rule, non-enrolled users and guests will always have access to this course element.
1110 {{/note}}
1111 )))
1112 )))|(((
1113 (% class="content-wrapper" %)
1114 (((
1115 Enter the following on the Visibility tab:
1116
1117 {{code language="text"}}
1118 getInitialEnrollmentDate("70323786958847") + 2h > now
1119 {{/code}}
1120 )))
1121 )))
1122 |(((
1123 Each course participant can only see the course element **within** a **relative time period**, e. g. starting 2 hours prior to the enrolment (course element ID "70323786958847") until 5 hours after the enrolment. Course tutors are exempt from this restriction.
1124 )))|(((
1125 (% class="content-wrapper" %)
1126 (((
1127 Enter the following on the Visibility tab:
1128
1129 {{code language="text"}}
1130 (getInitialEnrollmentDate("101524102434663") + 2h < now and getInitialEnrollmentDate("101524102434663") + 5h > now ) or isCourseCoach(0) or isCourseAdministrator(0)
1131 {{/code}}
1132 )))
1133 )))
1134 |(% colspan="1" %)(% colspan="1" %)
1135 (((
1136 Each course participant can only see the course element for a certain **period of time** (during the first two hours of the first course visit).
1137 )))|(% colspan="1" %)(% colspan="1" %)
1138 (((
1139 (% class="content-wrapper" %)
1140 (((
1141 Enter the following on the Visibility tab:
1142
1143 {{code language="text"}}
1144 (getInitialCourseLaunchDate() >= never) or (getInitialCourseLaunchDate() + 2h > now)
1145 {{/code}}
1146 )))
1147 )))
1148 |(% colspan="1" %)(% colspan="1" %)
1149 (((
1150 The course element becomes only visible if the user has been active in the course **for more than 10 minutes**.
1151 )))|(% colspan="1" %)(% colspan="1" %)
1152 (((
1153 (% class="content-wrapper" %)
1154 (((
1155 Enter the following on the Visibility tab:
1156
1157 {{code language="text"}}
1158 (getRecentCourseLaunchDate() + 10min) > now
1159 {{/code}}
1160 )))
1161 )))
1162 {{/layout-cell}}
1163 {{/layout-section}}
1164
1165 {{layout-section ac:type="single"}}
1166 {{layout-cell}}
1167 \\
1168 {{/layout-cell}}
1169 {{/layout-section}}
1170
1171 {{layout-section ac:type="single"}}
1172 {{layout-cell}}
1173 == Expert rules with specific course elements ==
1174
1175 {{info}}
1176 In all of the following examples, specific course elements are used.
1177
1178 Before using these rules, note down the course element IDs of the relevant course elements for your scenario and adjust them accordingly in the expert rules.
1179 {{/info}}
1180 {{/layout-cell}}
1181 {{/layout-section}}
1182
1183 {{layout-section ac:type="single"}}
1184 {{layout-cell}}
1185 \\
1186 {{/layout-cell}}
1187 {{/layout-section}}
1188
1189 {{layout-section ac:type="single"}}
1190 {{layout-cell}}
1191 === Evaluation of the number of attempts ===
1192
1193 (% class="wrapped" %)
1194 |(((
1195 The course element becomes visible as soon as the respective course participant has performed the test course element (course element ID "70323786958847") for the first time.
1196 )))|(((
1197 (% class="content-wrapper" %)
1198 (((
1199 Enter the following on the Visibility tab:
1200
1201 {{code language="text"}}
1202 getAttempts("70323786958847") > 0
1203 {{/code}}
1204 )))
1205 )))
1206 |(((
1207 Users should no longer be able to see a course element as soon as they have placed more than 3 files in the drop box of a task course element (course element ID "70323524635734").
1208 )))|(((
1209 (% class="content-wrapper" %)
1210 (((
1211 Enter the following on the Visibility tab:
1212
1213 {{code language="text"}}
1214 getAttempts("70323524635734") <= 3
1215 {{/code}}
1216 )))
1217 )))
1218 {{/layout-cell}}
1219 {{/layout-section}}
1220
1221 {{layout-section ac:type="single"}}
1222 {{layout-cell}}
1223 \\
1224 {{/layout-cell}}
1225 {{/layout-section}}
1226
1227 {{layout-section ac:type="single"}}
1228 {{layout-cell}}
1229 === Evaluation of other course elements' assessment data ===
1230
1231 (% class="wrapped" %)
1232 |(((
1233 The course element is visible as soon as the user has reached at least 10 points in the test (course element ID "84692289655276").
1234 )))|(((
1235 (% class="content-wrapper" %)
1236 (((
1237 Enter the following on the Visibility tab:
1238
1239 {{code language="text"}}
1240 getOnyxTestOutcome("84692289655276","SCORE") >= 10
1241 {{/code}}
1242 )))
1243 )))
1244 |(((
1245 The course element is visible as soon as the user has passed the test (course element ID "84389429397045").
1246 )))|(((
1247 (% class="content-wrapper" %)
1248 (((
1249 Enter the following on the Visibility tab:
1250
1251 {{code language="text"}}
1252 getOnyxTestOutcomeZK("84389429397045","PASS") ="true"
1253 {{/code}}
1254 )))
1255 )))
1256 |(((
1257 The course element is visible if the user's grade for the indicated element (course element ID "84692289655276") is better than 4.
1258 )))|(((
1259 (% class="content-wrapper" %)
1260 (((
1261 Enter the following on the Visibility tab:
1262
1263 {{code language="text"}}
1264 getMark("84692289655276") < 4
1265 {{/code}}
1266 )))
1267 )))
1268 |(((
1269 The course element is visible when the user has completed the indicated course element (course element ID "69742969114730") (course progress).
1270 )))|(((
1271 (% class="content-wrapper" %)
1272 (((
1273 Enter the following on the Visibility tab:
1274
1275 {{code language="text"}}
1276 getProgress("69742969114730")>=100
1277 {{/code}}
1278 )))
1279 )))
1280
1281 {{info}}
1282 The implementation of another example of the use of expert rules is explained on the help page [[Learning path control by test result>>url:https://www.bps-system.de/help/display/LMSintern/.Lernwegsteuerung+nach+Testergebnis+v12.4||shape="rect"]].
1283 {{/info}}
1284 {{/layout-cell}}
1285 {{/layout-section}}
1286
1287 {{layout-section ac:type="single"}}
1288 {{layout-cell}}
1289 \\
1290 {{/layout-cell}}
1291 {{/layout-section}}
1292
1293 {{layout-section ac:type="single"}}
1294 {{layout-cell}}
1295 === Controlling visibility and access based on test output variables (ONYX) ===
1296
1297 If global test variables are used in a test course element, they can also be used to control visibility and access.
1298
1299 {{info}}
1300 The available test variables can be viewed in the corresponding test course element in the Test configuration tab via the **Output variables of this resource** link. In addition to visibility and access rules (expert syntax), they can also be used as [[placeholders in certificate templates>>url:https://www.bps-system.de/help/display/LMS/Zertifikate||shape="rect"]].
1301
1302 [[image:attach:Kurseditor - Ausgabevariablen_de.png]]
1303 {{/info}}
1304
1305 (% class="wrapped" %)
1306 |(((
1307 The course element is visible if the user has reached a value greater than 10 for the test variable "S1_max" in the indicated test course element (course element ID "69742969114730").
1308 )))|(((
1309 (% class="content-wrapper" %)
1310 (((
1311 Enter the following on the Visibility tab:
1312
1313 {{code language="text"}}
1314 getOnyxTestOutcome("84692289655276","S1_max") > 10
1315 {{/code}}
1316 )))
1317 )))
1318 |(((
1319 The course element is visible if the user has exactly the value "Wiederholen" for the test variable “feedbackE" in the indicated test course element (course element ID "69742969114730").
1320 )))|(((
1321 (% class="content-wrapper" %)
1322 (((
1323 Enter the following on the Visibility tab:
1324
1325 {{code language="text"}}
1326 getOnyxTestOutcome("84692289655276","feedbackE")="Wiederholen"
1327 {{/code}}
1328 )))
1329 )))
1330 {{/layout-cell}}
1331 {{/layout-section}}
1332
1333 {{layout-section ac:type="single"}}
1334 {{layout-cell}}
1335 \\
1336 {{/layout-cell}}
1337 {{/layout-section}}
1338
1339 {{layout-section ac:type="single"}}
1340 {{layout-cell}}
1341 === Set scoring or passing status automatically ===
1342
1343 {{info}}
1344 These rules can be set in a **structure course element **in the** Assessment tab** in the respective input field.
1345
1346 [[image:attach:Kurseditor - Expertenregeln zur Bewertung_de.png]]
1347 {{/info}}
1348
1349 (% class="wrapped" %)
1350 |(((
1351 **Automatic scoring:**
1352
1353 10 points should automatically be awarded for a structure course element if one of three test course elements (course element IDs "69742969114730", "69742969115733" or "69742969118009") has been passed. If this is not the case, 0 points should automatically be set for the structure course element.
1354 )))|(((
1355 (% class="content-wrapper" %)
1356 (((
1357 This rule is set in the **Process points** section.
1358
1359 {{code language="text"}}
1360 getPassed("69742969114730") or getPassed("69742969115733") or getPassed("69742969118009")) * 10
1361 {{/code}}
1362 )))
1363 )))
1364 |(((
1365 **Set passing status automatically:**
1366
1367 A structure course element should automatically be displayed as passed if a total of at least 140 points has been reached in all test course elements (course element IDs "69742969114730", "69742969115733" or "69742969118009") together or if a "passed" was manually set for the assessment course element (ID "69978845384688").
1368 )))|(((
1369 (% class="content-wrapper" %)
1370 (((
1371 This rule is set in the **Passed if** section.
1372
1373 {{code language="text"}}
1374 (getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 or getPassed("69978845384688")
1375 {{/code}}
1376 )))
1377 )))
1378 {{/layout-cell}}
1379 {{/layout-section}}
1380 {{/layout}}
1381 {{/sv-translation}}