Skip to content

Instantly share code, notes, and snippets.

View hloydl's full-sized avatar

Harald Loydl hloydl

View GitHub Profile
@hloydl
hloydl / java
Last active July 16, 2017 14:42
Camunda context switch
package org.camunda.bpm.extension.graphql.resolvers;
import com.coxautodev.graphql.tools.GraphQLResolver;
import org.camunda.bpm.BpmPlatform;
import org.camunda.bpm.application.ProcessApplicationContext;
import org.camunda.bpm.application.ProcessApplicationReference;
import org.camunda.bpm.engine.*;
import org.camunda.bpm.engine.history.HistoricVariableInstance;
import org.camunda.bpm.engine.identity.User;
import org.camunda.bpm.engine.impl.application.ProcessApplicationManager;