Class NontransactionalAgentInvocationContext

java.lang.Object
com.flowable.agent.engine.impl.runtime.invocation.BaseAgentInvocationContext
com.flowable.agent.engine.impl.runtime.invocation.NontransactionalAgentInvocationContext
All Implemented Interfaces:
AgentInvocationContext

public class NontransactionalAgentInvocationContext extends BaseAgentInvocationContext
An implementation of the AgentInvocationContext interface that is used to invoke agent operations when there is no database transaction active (as to not block the database transaction). Instead of using runtime data, this one is based on a JSON document. When an agent operation for example needs to be executed outside a transaction, the operation call is 'prepared' up to the point that the invocation can happen, and then everything is stored in a JSON document. Later on, the JSON is then used to execute the call without blocking the database transaction.