Setting Targets for Message Events
4/8/24Less than 1 minute
Setting Targets for Message Events
Setting a target for a message event requires a Target
object. Creating this object requires the target's organization identifier, endpoint identifier, and endpoint address. These values can be obtained from the DSF FHIR server's web interface or by querying the FHIR server via an instance of FhirWebserviceClient
. By clicking the Show Bookmarks
button in the top right corner and selecting Endpoint
, a list of all Endpoints available to the FHIR server will be displayed. Instances of FhirWebserviceClient
can be accessed via the process plugin API.
Targets should be added in a Service Task before a Message Event. A Variables
instance provides helper methods to set targets in a Service Task's doExecute
method.