Interface IFcUserInvocationEvent
- All Superinterfaces:
IFormRecordProvidingEvent, IProjectProvidingEvent, ISpecificTriggerProvidingEvent, IWorkflowEventData, Serializable
public interface IFcUserInvocationEvent
extends ISpecificTriggerProvidingEvent, IFormRecordProvidingEvent
Interface for
events that trigger a FC_USER_INVOCATION trigger.- Since:
- 8.2.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the trigger that should be executedbooleanCan be set to true to skip the user group restriction.booleanCan be set to true to skip the workflow state restriction.Methods inherited from interface IFormRecordProvidingEvent
getFormRecord, getFormRecordLockContext, isAnonymize, updateMethods inherited from interface IProjectProvidingEvent
getProject, updateMethods inherited from interface ISpecificTriggerProvidingEvent
getTriggerId, getTypeMethods inherited from interface IWorkflowEventData
getClient, getClock, getDefaultSystemState, getLocale, getUser, getUserModel, getWorkflowExecutionPostProcessors
-
Method Details
-
skipUserGroupRestriction
boolean skipUserGroupRestriction()Can be set to true to skip the user group restriction. The trigger will then execute regardless of the user group of the user that invoked the trigger.- Returns:
- true if the user group restriction should be skipped, false otherwise.
-
skipWorkflowStateRestriction
boolean skipWorkflowStateRestriction()Can be set to true to skip the workflow state restriction. The trigger will then execute regardless of the state of the form record for which the workflow is executed.- Returns:
- true if the workflow state restriction should be skipped, false otherwise.
-
getTrigger
WorkflowTrigger getTrigger()Returns the trigger that should be executed- Returns:
- The trigger that should be executed
-