Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4600

Document Task parameter

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • jBPM 6.2.0.Final
    • Documentation

    Description

      Document Task Parameters.

      1) Human Tasks
      Some of them can be set directly through the Web Designer or Eclipse plugin, but some are hidden, and are only known after reading internal implementation of Human Task Handler.

      some of them can be found here
      https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-workitems/src/main/java/org/jbpm/services/task/wih/util/PeopleAssignmentHelper.java

      https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-workitems/src/main/java/org/jbpm/services/task/wih/AbstractHTWorkItemHandler.java

      For example - if I want to change the default business administrator value, I need to check PeopleAssignmentHelper.java in order to know what parameter I need to change.

      Or - If I want to know who completed the Human Task, I can just map the "ActorId" parameter to some process variable - but again, 'ActorId' parameter value is known only after reading the source codes.

      These parameters should be documented for example here:
      http://docs.jboss.org/jbpm/v6.2/userguide/jBPMTaskService.html#DataMappings

      2) Custom Work item - i.e. Rest / WS - it would be nice to have the list of parameters documented, with the default and allowed values and with some brief description. These work items are supported and they should be easy to use, even without reading the source codes of RestWorkItemHandler..

      // update - REST is documented here
      http://docs.jboss.org/jbpm/v6.0/repository/Rest/
      WS is missing completely.

      Attachments

        Activity

          People

            kverlaen@redhat.com Kris Verlaenen
            rhn-support-agiertli Anton Giertli
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: