Im facing an issue in Process Flow. Im trying to set the state of the ProcessFlowLaneHeader to Positive, But I'm not able to see the node in green colour. Can you please help me how can i fix this issue. Below is the code that i have tried..
<ui:ProcessFlow class="processFlow" scrollable="false" showLabels="false">
<ui:lanes>
<ui:ProcessFlowLaneHeader iconSrc="sap-icon://order-status" text="Apply" press="onNodeLeaveApply"
state="{[sap.suite.ui.commons.ProcessFlowNodeState.Positive]}" position="0"/>
<ui:ProcessFlowLaneHeader state="{[sap.suite.ui.commons.ProcessFlowNodeState.Positive]}" iconSrc="sap-icon://customer" text="Review"
press="onNodeLeaveReview" position="1"/>
<ui:ProcessFlowLaneHeader state="{[sap.suite.ui.commons.ProcessFlowNodeState.Positive]}" iconSrc="sap-icon://inventory" text="Sent"
press="onNodeLeaveSent" position="2"/>
</ui:lanes>
</ui:ProcessFlow>
Please check the screenshot here I'm not able to get the nodes in Green colour..
When I tried to change the node from Controller by pressing the node, it is changing to grey(Neutral). Below is my Controller Code.
onNodeLeaveApply:function(oEvent){
oEvent.mParameters.oParent.mAggregations.lanes[0].setState(["sap.suite.ui.commons.ProcessFlowNodeState.Positive"]);
},
Please help me how can I change the state to Green Colour(Positive)
Thank you in advance

