}
public NodeExecutionStatus getWorkflowNodeStatus(WorkflowInstanceNode workflowNode) {
webResource = getProvenanceRegistryBaseResource().path(
ResourcePathConstants.ProvenanceResourcePathConstants.GET_WORKFLOWNODE_STATUS);
MultivaluedMap queryParams = new MultivaluedMapImpl();
queryParams.add("workflowInstanceId", workflowNode.getWorkflowInstance().getWorkflowExecutionId());
queryParams.add("nodeId", workflowNode.getNodeId());
builder = BasicAuthHeaderUtil.getBuilder(
webResource, queryParams, userName, null, cookie, gateway);
ClientResponse response = builder.accept(
MediaType.APPLICATION_JSON).get(ClientResponse.class);