"Run" from studio without clearing task data

1
0
-1

Is it possible to configure the studio to prevent it from clearing task info (and other process state info) when you click "run".

Example: it would be nice to be able to make a minor change to connector script, or form layout, and see the change reflected in the existing tasks without having to re-rerun a test procedure to get there.

Yes: I know things MAY be inconsistent, but I am happy to take that risk on some occasions.

Thanks

2 answers

1
0
-1

After some considerable investigation I now have this working.

The trick is to use a groovy or java script to save the contents of a subset of "instance" tables in the journal.db before clicking on "run", and then run a second script to compare the saved tables with the current ones and merge them. This involves restoring the old tables and then updating the process, task and actor IDs to match the changed values in new definition tables.

As a developer; I know that undisciplined use could break things, but with care and discipline it CAN be done. :)

BonitaSoft: I would ask that this kind of feature be made available, albeit with a raft of disclaimers.

Comments

Submitted by Sean McP on Thu, 01/05/2017 - 09:05

Interesting way of doing it,

1
0
-1

My answer as a developer would be absolutely not...

Yes it is painful sometimes but we learnt and acquired a Automation Scripting tool to run the process for us. We do the deploy, then the script takes over:

Login, Fill fields, Capture Screens, Click submit etc.

then we can analyse the results after...

regards
Seán

PS: While I understand this may not be the answer you are looking for it does answer your question, please mark as resolved by ticking the tick mark on the left of this reply so others now it is closed.

Notifications