Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2014 02:59 AM
Hi,
I have a ScriptTask that i want delete a variable in it. but i have not the current execution-id. is it possible to get it? how?
Thanks
I have a ScriptTask that i want delete a variable in it. but i have not the current execution-id. is it possible to get it? how?
//do something with variable: var//find the current execution-id ???ActivitiUtil.getRuntimeService().deleteVariable(executionId,var);
Thanks
Labels:
- Labels:
-
Archive
1 ACCEPTED ANSWER
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2014 06:26 AM
We can access the DelegateExecution by execution keyword, so:
executionId = execution.getId();
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2014 06:26 AM
We can access the DelegateExecution by execution keyword, so:
executionId = execution.getId();
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2014 06:27 AM
you can do the same in a script, the execution is available as an object there
