cancel
Showing results for 
Search instead for 
Did you mean: 

help required in activiti-crystallball module

sadiasher
Champ in-the-making
Champ in-the-making
I run test  SimpleSimulationRunTest.java with small changes in its PlaybackProcessStartTest.testUserTask.bpmn20.xml file with user task to service task. I got null task object in record() method, i went through the code but didnt find any clue. Even I read crystal ball getting started from github but thats not a good help.

Any help is highly appreciated.

Regards
Sadia Sher

9 REPLIES 9

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sadia,

What exactly is your problem? Could you post link to your project please?

Regards
Martin

Hi Martin,

Thanks for your response. My problem has solved as i did silly mistake, i fetched TaskList from service task that gave NullPointerException on task object.

Have you work on activiti-crystalball module? some help requires

Regards
Sadia Sher

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sadia,

Have you work on activiti-crystalball module?

Yes. I am a activiti-crystalball founder. 🙂

Regards
Martin

sadiasher
Champ in-the-making
Champ in-the-making
Hi Martin,

good to know that you are founder of activiti-crystalball, little bit surprised and embarrass as i didnt read your designation in message as Activiti Project Member.

I will come up with some problems soon

Thanks for your response.

Regard
Sadia Sher

sadiasher
Champ in-the-making
Champ in-the-making
Hi Martin,

Is there any progress on visual app demo of crystal ball (as i read on thread thats its underconstruction). actually I have a task to make dry run of process using activiti crystal ball. I read provided links and also run provided testcases but these not clear my points. I need to make dry run to allow user to test their process on spot(from modeler using option on toolbar), I cant understand how user knows that its process is successfully executed is that show from diagrams generated by ProcessDiagramGenerator or something else?

or can u tell me the what different colors (red, green, yellow) shows on diagram?

Any help is highly appreciated?

Regards
Sadia

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sadia,

crystalball is library to run simulation experiments. The output can be presented in reports (one of them can be enhanced graphical process model).
I need to make dry run to allow user to test their process on spot(from modeler using option on toolbar),
at first you have to set up simulation experiment. (set of events to be executed in the simulation run - in the case of replay or playback - events are taken from history.)
Test the process -> you have to have assert condition to evaluate the test.

I cant understand how user knows that its process is successfully executed is that show from diagrams generated by ProcessDiagramGenerator or something else?
It depends on the test assertion. Basically in simulation we can evaluate what is the probability that some event occur. User who gets the report must know how to read the report.

or can u tell me the what different colors (red, green, yellow) shows on diagram?
Could you point me to the report?

Regards
Martin

sadiasher
Champ in-the-making
Champ in-the-making
Hi Martin,

Thanks aton for your quick response and giving valuable knowledge. It gives direction to think and understand things. Now i move in this direction and wil come back again if I stuck Smiley Happy

You can see color border task in following link (red green yellow)
http://forums.activiti.org/content/activiti-crystalball-getting-started

Regards
Sadia

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

https://raw.github.com/gro-mar/activiti-crystalball/master/examples/src/test/resources/org/activiti/...

is test coverage report
-> green - process executions went through process step more than 7 times
-> yellow - process executions went through process step 1-7 times
-> red - process step was not tested - no process instance went through it.

Regards
Martin

sadiasher
Champ in-the-making
Champ in-the-making
Thanks aton for your quick response Smiley Happy