Hi All ,
I am trying to create a workflow and the requiremement is that the second approver shall get added only when Estimated amount of the Project is
greater than some amount.For that I tried adding the condition to check at the time of transition along with getApprovalStatus() as follows
getApprovalStatus() == APPROVED && doc.getFieldMetadata("ESTIMATED").get(doc).getPrice(2).intValue()<600 but this is not working.
Any idea on how to achieve the requirement would be great.I am looking for a 2 step when ever the Estimated Value is greater than some amount else it shall be one Step approval.I tried using Otherwise transition but no idea on how to use it.
Regards,
Uday.