Hi, I need the output as an email of username. I have tried create an expre

Hi,
I need the output as an email of username. I have tried create an expression rule below but getting the below error. Could anyone suggest regarding the issue in the expression rule and correct me what needs to be updated.
=if(and(not(rule!APN_isEmpty(ri!user)),isusernametaken(ri!user)),user(touser(ri!user),"firstName") & " " & user(touser(ri!user),"lastName"),"NA")
Problem: An invalid expression has been encountered in a task.
Details: ERROR:An error occurred while evaluating expression: =rule!prmFormatUserAsEmailAddress() (Expression evaluation error in rule 'prmformatuserasemailaddress': Rule 'prmformatuserasemailaddress' has 1 parameters, but instead passed 0 parameters.) (Data Inputs)

OriginalPostID-145357

OriginalPostID-145357

  Discussion posts and replies are publicly visible