@Action(value="/receipts/collectionsWorkflow-listWorkflow") public String listWorkflow(){
  if (wfAction != null && wfAction.equals(CollectionConstants.WF_ACTION_APPROVE))   fetchReceipts(CollectionConstants.WF_ACTION_APPROVE);
 else   fetchReceipts(CollectionConstants.WF_ACTION_SUBMIT);
  return INDEX;
}

@ Action ( value = "/receipts/collectionsWorkflow-listWorkflow" ) public String listWorkflow ( ) { if ( wfAction != null && wfAction . equals ( CollectionConstants . WF_ACTION_APPROVE ) ) fetchReceipts ( CollectionConstants . WF_ACTION_APPROVE ) ; else fetchReceipts ( CollectionConstants . WF_ACTION_SUBMIT ) ; return INDEX ; }
action that will be called from the workflow inbox . the inbox also passes the id of the clicked item which is of the form : < next - workflow - action > - servicecode - userid - counterid
