title: How to pass variables as parameters to an Aspect
body: <pre><code>@Component("taskCreateListener")
  public class TaskCreateListener implements FlowableEventListener { 
  
  @LogMethod
      @DetermineCaseTypeOfWork
      @Override
      public void onEvent(FlowableEvent event) {
  
  ///Do stuff that results in variables I want to pass to aspect
  //For example, get ids and details and set to variables that I want to pass to insertThing() method once onEvent(FlowableEvent event) is finished executing
  //ex:
  //String procInstId = "abc1234";
  //String type = "case1";
  }
  
  </code></pre>
  
  <p>I need the onEvent to fully complete and then get local variables set in onEvent(FlowableEvent event) passed into my aspect insertThing() method:</p>
  
  <pre><code>@Aspect
  @Component
  public class DetermineCaseTypeOfWork {
  
  @Transactional
  @After(@annotation(path goes here))
  public void insertThing() {
      //Do something here with the variables passed in from doSomething method
  //if(procInstId.equals("abc1234") &amp;&amp; type.equals("case1")) {
  //do something
  } else if(//other id and type) {
  //do something else
  } else {
  //do something else
  }
  }
  </code></pre>
  
  <p>I can't modify the onEvent(FlowableEvent event) method to return something and the onEvent(FlowableEvent event) method has to fully complete first, so how would I go about passing parameters into insertThing()?</p>