Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

for single flow property flows only make the property requested as be…

…ing required
  • Loading branch information...
commit 9c4f478314c727806f2d264f0206f151b308e39f 1 parent 484cbdf
@patmoore patmoore authored
View
3  src/main/java/org/amplafi/flow/definitions/FlowFromFlowPropertyDefinitionDefinitionSource.java
@@ -81,7 +81,8 @@ public void add(FlowPropertyDefinitionProvider... flowPropertyDefinitionProvider
FlowImpl flow = new FlowImpl(capitalizedFlowPropertyName+"Flow");
flow.addPropertyDefinition(new FlowPropertyDefinitionImpl(FlowConstants.FSSINGLE_PROPERTY_NAME).initAccess(flowLocal, internalState).initDefaultObject(flowPropertyName));
FlowActivityImpl flowActivity = new FlowActivityImpl("FA");
- flowPropertyDefinitionProvider.defineFlowPropertyDefinitions(flowActivity, Arrays.<FlowPropertyExpectation>asList(new FlowPropertyExpectationImpl(FlowActivityPhase.finish)));
+ // make sure the property being returned has a value set.
+ flowPropertyDefinitionProvider.defineFlowPropertyDefinitions(flowActivity, Arrays.<FlowPropertyExpectation>asList(new FlowPropertyExpectationImpl(flowPropertyName, FlowActivityPhase.finish, null, null, null)));
flow.addActivity(flowActivity);
put(this.flows, flow.getFlowPropertyProviderFullName(), flow);
}
Please sign in to comment.
Something went wrong with that request. Please try again.