For the past few months, I've been working and diving more and more into Camunda, and the proper methodology for integrating the engine into our application, however, I keep coming back to this hurdle, which stems from my background building desktop applications in a synchronous world. Let's use this as an example :
-User enters wire transfer information and submits
-Submission invokes a webservice that will debit that client's account, and credit the beneficiary's account, while the screen is 'waiting' for transaction completion
-Once the service complete, the screen is unlocked, with a Success/Failure status displayed on the screen
This process was straightforward while developing desktop applications, as no BPMN was even present in the application.
Shifting to a web-based, declarative method of doing things, I decided to design JSF page (Using the start event's initiator form to identify the page), and using service tasks to invoke the accounting webservices. The big question is : How do I lock the user's screen, waiting for the service task to end, for it to return to the end user.
Logically, when we "complete" a task on the engine, we have no link to this process instance, as we don't know the next step in the model, but we need to be notified in some way or another that the task was completed.
Can anybody help explain how to implement this? Should the application work asynchronously, and camunda issue a send task to the application, and use callback to unlock the screen? Any help would be highly appreciated...
Hi Karim.
The implementation of this pattern might vary very much depending on UI technology – that’s why I think it is better to leave it to the user to implement it. Please note that one possible form is part of the Camunda Tasklist – if you finish a task there and get a task assigned in the same process instance afterwards – you see a notification box in the UI.
Cheers
Bernd
--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
camunda-bpm-us...@googlegroups.com.
To post to this group, send email to
camunda-...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/camunda-bpm-users/53da89e6-fe47-403b-b8c2-e09d73bf28b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "camunda BPM users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/camunda-bpm-users/9A1IrmvKq0E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/DB5PR06MB09668421F73F0E1CCA8F1A90E8ED0%40DB5PR06MB0966.eurprd06.prod.outlook.com.
Hi Karim.
Sorry – too limited time at the moment – so don’t wait for it. Sorry! But feel free to publish a current one yourself!
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/CAKXMcc4GBzaKBxb3R02xYHF4_ESXKVoe0a2sbaAPJxo5uCPWhQ%40mail.gmail.com.