Class TaskForm

java.lang.Object
org.camunda.bpm.engine.cdi.jsf.TaskForm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CamundaTaskForm, FoxTaskForm

@ConversationScoped @Named("camundaTaskForm") public class TaskForm extends Object implements Serializable
See Also:
  • Field Details

    • url

      protected String url
    • processDefinitionId

      protected String processDefinitionId
    • processDefinitionKey

      protected String processDefinitionKey
    • businessProcess

      @Inject protected BusinessProcess businessProcess
    • repositoryService

      @Inject protected RepositoryService repositoryService
    • conversationInstance

      @Inject protected jakarta.enterprise.inject.Instance<jakarta.enterprise.context.Conversation> conversationInstance
  • Constructor Details

    • TaskForm

      public TaskForm()
  • Method Details

    • startTask

      @Deprecated public void startTask(String taskId, String callbackUrl)
      Deprecated.
      use startTaskForm() instead
      Parameters:
      taskId -
      callbackUrl -
    • startTaskForm

      public void startTaskForm()
      Get taskId and callBackUrl from request and start a conversation to start the form
    • completeTask

      public void completeTask() throws IOException
      Throws:
      IOException
    • startProcessInstanceByIdForm

      @Deprecated public void startProcessInstanceByIdForm(String processDefinitionId, String callbackUrl)
      Deprecated.
      Parameters:
      processDefinitionId -
      callbackUrl -
    • startProcessInstanceByIdForm

      public void startProcessInstanceByIdForm()
      Get processDefinitionId and callbackUrl from request and start a conversation to start the form
    • startProcessInstanceByKeyForm

      @Deprecated public void startProcessInstanceByKeyForm(String processDefinitionKey, String callbackUrl)
      Deprecated.
      Parameters:
      processDefinitionKey -
      callbackUrl -
    • startProcessInstanceByKeyForm

      public void startProcessInstanceByKeyForm()
      Get processDefinitionKey and callbackUrl from request and start a conversation to start the form
    • completeProcessInstanceForm

      public void completeProcessInstanceForm() throws IOException
      Throws:
      IOException
    • getProcessDefinition

      public ProcessDefinition getProcessDefinition()
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)