Access variable map passed to process instance
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2013 11:45 PM
How to access variables map passed to any process instance inside process?
The use case is i want to have a process which calls another process thru callActivity, the id of the called process will be dynamic, so i should pass all the input data to called process.
The use case is i want to have a process which calls another process thru callActivity, the id of the called process will be dynamic, so i should pass all the input data to called process.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2013 03:49 AM
In a service-tasks implementation (JavaDelegate) you can get all variables you want, using the DelegateExecution object that is passed in the execute() method.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2013 04:19 AM
you can just do getVariables on the execution you pass. Or go through the runtimeService.getVariables
