Skip to content

Commit 265a663

Browse files
committed
Fixed broken links
1 parent 10e022d commit 265a663

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

exercises/exercise-7.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ ___
33

44
# Exercise 7 - User Tasks and Task Output Parameters
55

6-
This exercise introduces a new scenario which will serve as an example where [User Tasks](../learning/concepts/bpmn/user-task.md), resource download and [Task Output Parameters](../learning/concepts/fhir/task.md#task-output-parameters)
6+
This exercise introduces a new scenario which will serve as an example where [User Tasks](../learning/concepts/bpmn/user-tasks.md), resource download and [Task Output Parameters](../learning/concepts/fhir/task.md#task-output-parameters)
77
will be utilized. The scenario is a voting process where one DSF instances of the tutorial setup will send a binary question (yes/no) to the other instances and itself.
88
The question can be set when starting the voting process. The question can will then be answerable through a [QuestionnaireResponse](https://www.hl7.org/fhir/R4/questionnaireresponse.html) resource on the instance's DSF FHIR server.
99
The answer then gets sent back to the instance which initiated the voting process.
1010
The scenario comes with a skeleton including two BPMN models. One for orchestrating the voting process called found in `voting-process.bpmn` and the subprocess which handles the vote itself found in `vote.bpmn`.
11-
It also includes most of the Java implementation for both processes and the required FHIR resources. Your task will be to fill in the parts concerning the [User Task](../learning/concepts/bpmn/user-task.md)
11+
It also includes most of the Java implementation for both processes and the required FHIR resources. Your task will be to fill in the parts concerning the [User Task](../learning/concepts/bpmn/user-tasks.md)
1212
and [Task Output Parameters](../learning/concepts/fhir/task.md#task-output-parameters).
1313

1414
In order to solve this exercise, you should have solved exercise 6 and read the topics on
15-
[User Tasks](../learning/guides/user-tasks-in-the-dsf.md)
15+
[User Tasks](../learning/guides/user-taskss-in-the-dsf.md)
1616
and [adding Task Output Parameters](../learning/guides/adding-task-output-parameters-to-task-profiles.md).
1717

1818
Solutions to this exercise are found on the branch `solutions/exercise-7`. The skeleton can be found on the branch `skeleton/exercise-7`.
@@ -106,21 +106,21 @@ Solutions to this exercise are found on the branch `solutions/exercise-7`. The s
106106
<details>
107107
<summary>Don't know how the Questionnaire should look like?</summary>
108108

109-
Check out the [template](../learning/guides/user-tasks-in-the-dsf.md#questionnaire-template) again. Don't forget changing the URL.
109+
Check out the [template](../learning/guides/user-taskss-in-the-dsf.md#questionnaire-template) again. Don't forget changing the URL.
110110
</details>
111111

112112
* Add an item with linkId `binary-question` and type `display`.
113113
* Add an item with linkId `vote` and type `boolean`.
114-
3. We now have a [Questionnaire](https://www.hl7.org/fhir/R4/questionnaire.html) resource that can be referenced in the BPMN model's [User Tasks](../learning/concepts/bpmn/user-task.md).
114+
3. We now have a [Questionnaire](https://www.hl7.org/fhir/R4/questionnaire.html) resource that can be referenced in the BPMN model's [User Tasks](../learning/concepts/bpmn/user-tasks.md).
115115
If referenced, the DSF will take this [Questionnaire](https://www.hl7.org/fhir/R4/questionnaire.html) as a template to create the [QuestionnaireResponse](https://www.hl7.org/fhir/R4/questionnaireresponse.html)
116116
that can be answered by a user in the DSF FHIR server web UI.
117-
Add a [User Task](../learning/concepts/bpmn/user-task.md) to `vote.bpmn` located in `src/main/resources/bpe/vote.bpmn`:
118-
* The [User Task](../learning/concepts/bpmn/user-task.md) should be inserted between the [Exclusive Gateway](../learning/concepts/bpmn/gateways.md) and the `Save User Vote` [Service Task](../learning/concepts/bpmn/service-tasks.md).
117+
Add a [User Task](../learning/concepts/bpmn/user-tasks.md) to `vote.bpmn` located in `src/main/resources/bpe/vote.bpmn`:
118+
* The [User Task](../learning/concepts/bpmn/user-tasks.md) should be inserted between the [Exclusive Gateway](../learning/concepts/bpmn/gateways.md) and the `Save User Vote` [Service Task](../learning/concepts/bpmn/service-tasks.md).
119119
The connection from the [Exclusive Gateway](../learning/concepts/bpmn/gateways.md) requires a [Condition](../learning/concepts/bpmn/conditions.md) element with type `Expression` and `Condition Expression` with value `${userVote}`.
120120
* The [Questionnaire](https://www.hl7.org/fhir/R4/questionnaire.html) resource is referenced by providing a `Form key` attribute with the value of the [Questionnaire](https://www.hl7.org/fhir/R4/questionnaire.html) URL you created in the previous step appended by the version placeholder `|#{version}`. This option is found under `Forms` and type `Embedded or External Task Forms`.
121121
4. The [QuestionnaireResponse](https://www.hl7.org/fhir/R4/questionnaireresponse.html) that is automatically created will copy its items from the template [Questionnaire](https://www.hl7.org/fhir/R4/questionnaire.html).
122122
This means we need a way to set the `item.text` element of the `binary-question` item you created in the previous step, dynamically. This mechanism is provided by [Task Listeners](https://docs.camunda.org/manual/7.21/user-guide/process-engine/delegation-code/#task-listener).
123-
Create a [Task Listener](https://docs.camunda.org/manual/7.21/user-guide/process-engine/delegation-code/#task-listener) in `src/main/java/dev/dsf/process/tutorial/listener` for the [User Task](../learning/concepts/bpmn/user-task.md) you added in the previous step:
123+
Create a [Task Listener](https://docs.camunda.org/manual/7.21/user-guide/process-engine/delegation-code/#task-listener) in `src/main/java/dev/dsf/process/tutorial/listener` for the [User Task](../learning/concepts/bpmn/user-tasks.md) you added in the previous step:
124124
* The new Java class needs to inherit from `DefaultUserTaskListener`
125125
* Override `beforeQuestionnaireResponseCreate` and set the text of the [QuestionnaireResponse](https://www.hl7.org/fhir/R4/questionnaireresponse.html) item with linkId `binary-question` to the value of the
126126
Start Task's input parameter with name `binary-question`

0 commit comments

Comments
 (0)