Annotation Type ProcessInstanceId


  • @Qualifier
    @Retention(RUNTIME)
    @Target({FIELD,PARAMETER,METHOD,TYPE})
    public @interface ProcessInstanceId
    Qualifier annotation for injecting the id of the current process instance.

    Example:

     @Inject @ProcessInstanceId String pid;
     

    Note that the ProcessInstance is also available for injection:

     @Inject ProcessInstance pi;
     
    Author:
    Daniel Meyer