Complete Service task enabled as triggerable using REST

Hi

Was not able to find a REST end point to notify a service task marked as triggerable + async enabled to true .

Most of the endpoints
/runtime/execution/{executionid}
POST -> also not working
{
“message”: “Internal server error”,
“exception”: “Request method ‘POST’ not supported”
}

like PUT -> also not working
{
“message”: “Bad request”,
“exception”: “Signal name is required”
}

Requirement

  1. Need to complete the task + also update the process instance variable data

Any help appreciated.

The correct endpoint is /executions/{executionId} (notice the s at the end of execution), with a json body that looks like

{
‘action’: ‘trigger’
}