If you take a look at Project
- SD.IncidentManagementSimple.Classification
This will show you how to get a Ticket and amend it.
You will need
- GetIncidentTicketBySessionId
- SingleValueMappingComponent
- Save Incdient Ticket
For you, create a Decision Only Project.
Set the Inputs to the Model(s) you require.
- Status
- Set Status State/Status (ProcessStatusComponent)
- User Comment
- Add Process Message (LogMessageReportingComponent)
- Owner
- Single Value Mapping (SingleValueMappingComponent)
Expose or Right Click on the Model and 'Set As Invocation Target'
In Project settings give it a ServiceName etc
Publish
Call in Java...