Issue: Scenario is that we want to create a workflow in the portal to populate the 'MailNickname' attribute from the EMail attribute.  For example, if the email address is, the MailNickname should be Test1.

Solution: Since there is no 'Length' or 'Find' function in the built in function evaluator we have to accomplish it a bit differently.  Here we'll assume everyone in the portal has an or email address.  Note the length of is 12, and is 13 characters.

Destination: [//Target/MailNickname]





Other domains will need to be concatenated in the custom expression appropriately.  This will write the MailNickname without the need for powershell custom workflow activities or the FIM WAL.