jBPM newbie questions
sarathy Apr 27, 2017 6:06 PMHi,
I just started evaluating jBPM Suite #6 for use in a large scale enterprise application and have couple of questions.
1. I have a small business process that uses a data object as a variable that deploys and tests fine within business-central. I am able to start and complete the process and task using the REST APIs below. However, I am not sure how to pass data for the data object through the REST API. It pops up a process form when running under business-central for user to provide input but i like to pass this data from an external client application over REST API. How can I do this?
#start the process
curl -X POST -u 'userid:password' /business-central/rest/runtime/sarathySanboxOrganizationUnit:sarathySandbox:2.0/process/sarathySandbox.EchoCustomerDetails/start
#query the task id
curl -X GET -u 'userid:password' /business-central/rest/task/query
#use the task id obtained from above step to start and complete the task
curl -X POST -u 'userid:password' /business-central/rest/task/74/start
curl -X POST -u 'userid:password' /business-central/rest/task/74/complete
2. I understand business-central can deploy the artifacts to kie-server which will provide the runtime for production environments. Is there similar set of REST APIs available to start and complete process and tasks using kie-server URL?
3. My business process contain user tasks for additional input to continue the workflow. I like the application to have its own angular based UI to collect input for user tasks instead of using the basic HTML supported by task form. How can I trap user tasks and identify what data it is looking for and provide my own angular based UI to get the input from user and pass it to the workflow?
4. Is there any additional documentation or more current books available to learn jBPM from design to deployment? I went through available pubs including Red_Hat_JBoss_BPM_Suite-6.4-Development_Guide-en-US.pdf but wondering if there is anything for a newbie that is little easier to follow.
Any help would be much appreciated.
Best Regards,
-sarathy