Script based migration

Hi.

I would like to create a pull request to extend process instance migration with the possibility to execute a script.
Something similar to:

What do you think about it?

Regards
Martin

Looking at the code, am I understanding this correctly that this would add the option to define a custom script that runs for that particular migration, before the actual migration happens?

Hi Joram,

Exactly, I added support for java delegate and expression. I like scripts more because when you use java delegate or expression you should keep class untouched for a long time to be able to reproduce a migration.
Regards
Martin