I'm receiving an email from another system to kick start a process to create

I'm receiving an email from another system to kick start a process to create the user in BPM.

In that email I get the manager's full name (in text). I want to associate the full name to the username in BPM. I tried using the getusersby("variable",4,2) and that returns null. I created an expression rule to test it and if I search by last name only it works.

Maybe I'm not doing it right?

OriginalPostID-162700

OriginalPostID-162700

  Discussion posts and replies are publicly visible

Parents
  • if you are receiving full name, break it using split function with space as the operator.
    Then use the first element in that array to compare it with recordType = 1, which is firstName.
    your expression should be like -- getusersby(split("Full Name"," ")[1],1, 1)

    getusersby("variable",4,2) means you are checking value "variable" to be a part of username which may or may not be the case.
Reply
  • if you are receiving full name, break it using split function with space as the operator.
    Then use the first element in that array to compare it with recordType = 1, which is firstName.
    your expression should be like -- getusersby(split("Full Name"," ")[1],1, 1)

    getusersby("variable",4,2) means you are checking value "variable" to be a part of username which may or may not be the case.
Children
No Data