For more information, please refer to this announcement explaining best practices for getting answers to questions.
Approval transaction to trigger when Health and Safety manager initiate transaction
Summary:
Approval transaction to trigger when Health and Safety manager initiate transaction
Content (required):
Hi,
I have a requirements for one of the absence type (Time of with Pay) - when my Health and Safety manager submit absence on behalf employee it should goes to HR Spec. for approval.
I used below rule condition to initiate the transaction but for some reason it's not working and the transaction auto approved.
Rule Condition:
((absencesApprovalsRequest.absenceType == "Time off with Pay") AND ((getRequestorInformationByUserNameResponse.result.positionCode equalsIgnoreCase "HO2HS") OR (getRequestorInformationByUserNameResponse.result.positionCode == "HSAFA")))
Can someone let me know what is the correct way to write conditions in such cases?