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.
      • anonymize

        public TThis anonymize​(Boolean anonymize)
      • clock

        public TThis clock​(Clock clock)
      • formRecordLockContext

        public TThis formRecordLockContext​(IFormRecordLockContext formRecordLockContext)
      • locale

        public TThis locale​(Locale locale)
      • user

        public TThis user​(IUser user)
      • user

        @Deprecated
        public TThis user​(Benutzer user)
        Deprecated.
        Use user(IUser) instead.
        Parameters:
        user - The user who started the workflow.
        Returns:
        This builder instance for chaining method calls.