Class UserInvocationEventDataBuilder

    • Method Detail

      • skipUserGroupRestriction

        public UserInvocationEventDataBuilder skipUserGroupRestriction​(boolean skipUserGroupRestriction)
        Whether to skip the user group restriction. When set to true, the trigger will be executed regardless of the user group of the user who triggered the event.
        Parameters:
        skipUserGroupRestriction - Whether to skip the user group restriction.
        Returns:
        This builder for chaining method calls.
      • skipWorkflowStateRestriction

        public UserInvocationEventDataBuilder skipWorkflowStateRestriction​(boolean skipWorkflowStateRestriction)
        Whether to skip the workflow state restriction. When set to true, the trigger will be executed regardless of the workflow state of the form record.
        Parameters:
        skipWorkflowStateRestriction - Whether to skip the workflow state restriction.
        Returns:
        This builder for chaining method calls.
      • addWorkflowExecutionPostProcessor

        @CanIgnoreReturnValue
        public Self addWorkflowExecutionPostProcessor​(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
      • anonymize

        @CanIgnoreReturnValue
        public Self anonymize​(Boolean anonymize)
      • clock

        @CanIgnoreReturnValue
        public Self clock​(Clock clock)
      • formRecordLockContext

        @CanIgnoreReturnValue
        public Self formRecordLockContext​(IFormRecordLockContext formRecordLockContext)
      • locale

        @CanIgnoreReturnValue
        public Self locale​(Locale locale)
      • user

        @CanIgnoreReturnValue
        public Self user​(IUser user)