update url to allow permissions on send event

This commit is contained in:
Elizabeth Esswein 2022-12-16 16:22:59 -05:00
parent da7e60a5df
commit fa0d5d7ea8
2 changed files with 2 additions and 2 deletions

View File

@ -808,7 +808,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/OkTrue" $ref: "#/components/schemas/OkTrue"
/process-instances/{modified_process_model_identifier}/{process_instance_id}/event: /send-event/{modified_process_model_identifier}/{process_instance_id}:
parameters: parameters:
- name: modified_process_model_identifier - name: modified_process_model_identifier
in: path in: path

View File

@ -528,7 +528,7 @@ export default function ProcessInstanceShow() {
if ('payload' in eventToSend) if ('payload' in eventToSend)
eventToSend.payload = JSON.parse(eventPayload); eventToSend.payload = JSON.parse(eventPayload);
HttpService.makeCallToBackend({ HttpService.makeCallToBackend({
path: `/process-instances/${modifiedProcessModelId}/${params.process_instance_id}/event`, path: `/send-event/${modifiedProcessModelId}/${params.process_instance_id}`,
httpMethod: 'POST', httpMethod: 'POST',
successCallback: saveTaskDataResult, successCallback: saveTaskDataResult,
failureCallback: saveTaskDataFailure, failureCallback: saveTaskDataFailure,