Interface WorkflowTaskVerdictMetadata


public interface WorkflowTaskVerdictMetadata
Holds the metadata and requirement configurations for a specific task verdict.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the UI-friendly label of the verdict translated in the initiating user’s language.
    Retrieves the system name (name__v) of the verdict.
    Retrieves a list of the child prompts configured for this verdict (reasons, capacity, fields, participants).
    boolean
    Indicates if this verdict requires an eSignature.
  • Method Details

    • getName

      String getName()
      Retrieves the system name (name__v) of the verdict. For example, verdict_approve__c.
      Returns:
      the system name of this verdict
    • getLabel

      String getLabel()
      Retrieves the UI-friendly label of the verdict translated in the initiating user’s language. For example, "Approve".
      Returns:
      the UI-friendly label of this verdict
    • requiresESignature

      boolean requiresESignature()
      Indicates if this verdict requires an eSignature.
      Returns:
      true if this verdict requires an eSignature, false otherwise
    • getPrompts

      Retrieves a list of the child prompts configured for this verdict (reasons, capacity, fields, participants).
      Returns:
      a list of the child prompts configured for this verdict