update url to allow permissions on send event
This commit is contained in:
parent
da7e60a5df
commit
fa0d5d7ea8
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue