Hi
@StephenOTT, thank you very much for the suggestion.
We have attempted to use the createIncident method in the output parameter of http-connector.
var statusCode = connector.getVariable("statusCode");
if (statusCode != 201) {
execution.createIncident();
}
From further reading we’ve found that the execution variable is not accessible in the http-connector’s scope as described in this thread Error creating incident via javascript and JIRA https://app.camunda.com/jira/browse/CAM-8937 you posted.
I’m a bit confused by this comment “Look at the delegate execution API and the comments further down in the mentioned forum post: the execution.createIncident() method replaced the need to use the internal API.” Is there another way we can invoke " execution.createIncident()" in the http-connector’s scope?
Thanks in advance.