cancel
Showing results for 
Search instead for 
Did you mean: 

TaskService vs FormService

stefanofdenmark
Champ in-the-making
Champ in-the-making
I'm just goofing around with Activiti to learn more about it, and got a little curious about two seemingly identical functions:

FormService.submitTaskFormData(String taskId, Map<String,String> properties)

"Completes a task with the user data that was entered as properties in a task form."

TaskService.complete(String taskId, Map<String,Object> variables)

"Called when the task is successfully executed, and the required task parameters are given by the end-user."

Are there any differences between the two functions?

Best regards
Stefan
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

one is dealing with forms and properties and the second one with tasks. FormService calls taskService to complete task.

Regards
Martin

That even makes sense when I think about it.
Thank you.