For more information, please refer to this announcement explaining best practices for getting answers to questions.
Approval when Citizenship is changed within SelfService
Summary:
We need to have an approval whenever an employee changes /adds/deletes citizenship information, and auto-approval in case the reuest is made from the backoffice.
In order to check this we would normally use attribute transactionApprovalRequest.SelfServiceTransaction =='Y' just like for other approvals within Change Personal Information.
However, when doing so (in Redwood flows), the transactionApprovalRequest.SelfServiceTransaction doesn't return Y/N, but a number (seems like a person number).
Anybody else experienced this? Any way to work around this (we have users without a person attached who should also be able to execute the transaction, so a check on Requestor's Assignment.result.personNumber == Worker's Assignment.result.personNumber doesn't work for us (null values, and a check on