Manually moving the token
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2016 08:26 AM
I'm trying to manually import an old application an updated version using Activiti.
I have log files with which I'm able to essentially recreate the various movements from state to state. However, there are pieces missing and I cannot just run simulate the instance (updating timestamps in the history) using the standard API. Some of the transitional states are missing, so I need to just skip them and make direct jumps.
Are there unit tests somewhere that show how I can move the execution / token directly?
The only alternative I see is to create another version of the BPMN and ignore a lot of the conditionals - essentially creating transitions that go from all states to all others.
I have log files with which I'm able to essentially recreate the various movements from state to state. However, there are pieces missing and I cannot just run simulate the instance (updating timestamps in the history) using the standard API. Some of the transitional states are missing, so I need to just skip them and make direct jumps.
Are there unit tests somewhere that show how I can move the execution / token directly?
The only alternative I see is to create another version of the BPMN and ignore a lot of the conditionals - essentially creating transitions that go from all states to all others.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2016 02:22 AM
Hi,
There is a way how to move the token to the activity (it was already discussed on the forum some time ago - create your own command to change activityId in the execution). The problem is that you have to really know what you are doing because executions can be splitted/merged……
Regards
Martin
There is a way how to move the token to the activity (it was already discussed on the forum some time ago - create your own command to change activityId in the execution). The problem is that you have to really know what you are doing because executions can be splitted/merged……
Regards
Martin
