Skip to content

Instantly share code, notes, and snippets.

View falco467's full-sized avatar

Falco falco467

  • Cologne, Germany
View GitHub Profile

Keybase proof

I hereby claim:

  • I am falco467 on github.
  • I am falco467 (https://keybase.io/falco467) on keybase.
  • I have a public key ASDih4Wy07JMFmh7rY5MuVwXQZxspXu0oCCY-EICsgjn0wo

To claim this, I am signing this object:

@falco467
falco467 / SuppressAutoUpdateContext.java
Created March 17, 2023 11:51
Helper for Camunda OptimisticLockingException from erroneous updates when only reading variables
package de.bfs.camunda;
import java.lang.reflect.Field;
import java.util.LinkedList;
import org.camunda.bpm.engine.impl.context.Context;
import org.camunda.bpm.engine.impl.interceptor.CommandContext;
import org.camunda.bpm.engine.impl.interceptor.CommandContextListener;
/**