Stringlist parameter pass to Context.StartWorkflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2014 06:26 AM
How should the stringlist parameter be passed to Context.StartWorkflow in the proper way? I have tried:
participants=@{Context["participants"]}
participants=@{java.util.Arrays.asList(Context["participants"])}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2014 07:05 AM
Hello,
If you want to put a list like for instance a NodeVariables["assignees"], You can do this:
Set Context Variable name: participants value: @{new java.util.ArrayList()}
Run Script script: java.util.Collections.addAll(Context["participants"], java.util.Arrays.asList(NodeVariables["assignees"]));
Using Collections.addAll method.
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2014 10:44 AM
Hello,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2014 11:41 AM
Can you give me your complete use case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2014 09:18 AM
This is an example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2015 06:44 AM
Hi,
