Use-Case:
In workflow , if a request needs to be routed on the basis of name account name, which can be utilized for accounts that are privileged,service we need to use the if-else block and a condition.
If-else condition in Workflow:
Use the expression
com.saviynt.ecm.workflow.Request_Access.get(new Long(requestaccesskey)).request_access_attrss.find {"ACCOUNTNAME".equalsIgnoreCase(it.attributeName) }?.attributeValue and the language should be groovy