Class ChangeRequestWorkflowHelper

java.lang.Object
wt.change2.workflow.ChangeRequestWorkflowHelper

public class ChangeRequestWorkflowHelper extends Object
Utility class for Workflow routing.

Supported API: true

Extendable: false
  • Method Details

    • routeResult

      public static String routeResult(ObjectReference objectRef) throws WfException
      Supported API: true This method checks for correct routing option based on User's selection. 1) If all users have approved the request, result should be Approve. 2) If a single user have marked it as Analyze, result should be Analyze. 3) If none of the user have marked it as Analyze and some have Approved and Some have Rejected, result should be Reject.
      Parameters:
      objectRef -
      Returns:
      Throws:
      WfException