Uses of Class
net.pricefx.common.dto.WorkflowDTO.ApprovalStepDTO
Packages that use WorkflowDTO.ApprovalStepDTO
Package
Description
Defining approval workflows, and chaining background jobs.
-
Uses of WorkflowDTO.ApprovalStepDTO in net.pricefx.common.dto
Methods in net.pricefx.common.dto that return WorkflowDTO.ApprovalStepDTOModifier and TypeMethodDescriptionWorkflowDTO.addApprovalStep(String uniqueName) Adds a new approval step at the end of the approval workflow.
TheWorkflowDTO.isDenialReasonOptional()flag value is inherited from the approval workflow and can be changed byWorkflowDTO.withDenialReasons(List, boolean)WorkflowDTO.ApprovalStepDTO.addProperty(String name, Object value) Adds a custom property to the step.InsertWorkflowStepsDTO.insertApprovalStep(String uniqueName) Inserts an approval step right after workflow post logic step that is executing this code.Deprecated.WorkflowDTO.ApprovalStepDTO.withApprovalRequiredEmailAttachment(Object attachment) Adds one attachment, or a filter selecting attachments, to the approval-required email of this step.WorkflowDTO.ApprovalStepDTO.withApprovalRequiredEmailAttachments(Object attachments) Adds attachments of the document to the approval-required email of this step.WorkflowDTO.ApprovalStepDTO.withApprover(String userLoginName) Deprecated.UsewithApprovers(String...)instead.WorkflowDTO.ApprovalStepDTO.withApprovers(String... userLoginNames) Sets the users who approve this step.WorkflowDTO.ApprovalStepDTO.withConditionRecordLogic(String logicUniqueName) Sets condition record logic name that should be run after final step is executed (i.e.WorkflowDTO.ApprovalStepDTO.withDenialReasons(List<String> denialReasons, boolean isDenialReasonOptional) Denial Reasons is a list of predefined text options, which will be presented to the approver, while denying the item.WorkflowDTO.ApprovalStepDTO.withExcludeSubmitter(boolean excludeSubmitter) Set exclude submitterWorkflowDTO.ApprovalStepDTO.withMandatoryComments(String... actions) Makes comment mandatory for certain actions.WorkflowDTO.ApprovalStepDTO.withMinApprovalsForGroups(Integer... minApprovalsForGroups) A minimum number of approvals needed for each group, to consider this step as approved.WorkflowDTO.ApprovalStepDTO.withMinApprovalsNeeded(int minApprovalsNeeded) A minimum number of approvals needed to consider this step as approved.WorkflowDTO.ApprovalStepDTO.withMultipleApprovalByGroupsAllowed(boolean multipleApprovalByGroupsAllowed) Deprecated.UsewithSingleUserMultiApprovalAllowed(boolean)instead.WorkflowDTO.ApprovalStepDTO.withNotificationOnlyToUsers(String... userLoginNames) Subset of approvers that should receive the email notificationWorkflowDTO.ApprovalStepDTO.withParallelStepApprovalAllowed(boolean parallelStepApprovalAllowed) Lets a user who is a member of several approving user groups approve for all of them with one action.WorkflowDTO.ApprovalStepDTO.withPostStepLogic(String logicUniqueName) Sets post step logic name that should be run after this step is executed (i.e.WorkflowDTO.ApprovalStepDTO.withReasons(String... reasons) Sets explanation reasons for approvers of the approval step.WorkflowDTO.ApprovalStepDTO.withSingleUserMultiApprovalAllowed(boolean multiApprovalAllowed) Lets a user who is a member of several approving user groups approve or deny the step separately on behalf of each of those groups.WorkflowDTO.ApprovalStepDTO.withUserGroupApprover(String userGroupUniqueName) Deprecated.UsewithUserGroupApprovers(String...)instead.WorkflowDTO.ApprovalStepDTO.withUserGroupApprover(String userGroupUniqueName, boolean excludeSubmitter) Deprecated.UsewithUserGroupApprovers(String...)together withwithExcludeSubmitter(boolean)instead.WorkflowDTO.ApprovalStepDTO.withUserGroupApprovers(String... userGroupUniqueNames) Sets the user groups whose members approve this step.
withReasons(String...)instead.