Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use instance_id_ variables For Multi Select Endpoints #1458

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ private void processEndpointArgumentsForVirualInstance(Endpoint endpoint,
if (instanceSrc.contentEquals(JR_SELECTED_ENTITIES_REFERENCE)) {
String[] selectedEntites = argumentValue.split(",");
String uuid = storeInSelectedEntitiesInstance(argument, selectedEntites);
argumentValues.put(argument.getId(), uuid);
argumentValues.put("instance_id_" + argument.getId(), uuid);
} else {
throw new RuntimeException(
"Invalid instance-src defined for argument " + argument.getId() + " for endpoint "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,20 +288,20 @@
<stack>
<push>
<command value="'m1-auto-launch'"/>
<instance-datum id="selected_cases" value="$selected_cases"/>
<instance-datum id="selected_cases" value="$instance_id_selected_cases"/>
</push>
</stack>
</endpoint>
<endpoint id="case_list_with_claim">
<argument id="selected_cases" instance-id="selected_cases" instance-src="jr://instance/selected-entities"/>
<stack>
<push>
<instance-datum id="selected_cases" value="$selected_cases"/>
<instance-datum id="selected_cases" value="$instance_id_selected_cases"/>
<command value="'claim_command.case_list.selected_cases'"/>
</push>
<push>
<command value="'m1-auto-launch'"/>
<instance-datum id="selected_cases" value="$selected_cases"/>
<instance-datum id="selected_cases" value="$instance_id_selected_cases"/>
</push>
</stack>
</endpoint>
Expand Down