null taskId for task variables

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2011 10:54 AM
taskService.complete(task.getId(),vars);
ortaskService.setVariables(task.getId(), vars);
will not save taskId in TASK_ID_ column.Only
taskService.setVariablesLocal(task.getId(), vars);
will do the trick but local task variables haven't the same scope of task variables.Am I missing something?
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2011 01:32 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2011 02:00 PM
This way, I have to save them two times: first time as local task variable to keep track into historical task-var relationship, second time as process variable to make them visible to the next task. Is it right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2011 01:27 PM
Is your history set to full?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2011 06:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2011 12:20 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2011 08:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2011 03:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2013 04:39 AM
If yes, then we are talking about only history. It is possible to relate variable and task in history when taskService.complete is called by filling in act_hi_varinst.TASK_ID_ accordingly.
But then, how we should distinguish in future the scope of original variable ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2013 12:22 PM
Is there another way for us to tell which variables were provided when a particular task was completed? Using setVariablesLocal doesn't work because it reduces the scope of the variables, as mentioned by elsarfhem.
