Skip to main content
Nintex Community Menu Bar
Solved

Inline function

  • July 17, 2017
  • 3 replies
  • 7 views
  • Translate

Forum|alt.badge.img+5

Hello!

 

I want to use only the first part of the email text. For example, I have the following email: testk2 @ example.com

 

How can I get only the text "testk2"?

 

Thank you!

Best answer by tin

Is this perhaps what you are seeking?  There may be other ways to do this.


 


Left(bob@k2.com, (Find(bob@k2.com, @) -1))


 


View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+8

CMP,

 Is the purpose of this to extract the username? I guess I do not understand exactly what you are trying to do. If you just want to extract the username you can use the system functions in the context browser. This will allow you to use display name, username, or email address. Without knowing exactly how you are sending the email via form rules or via workflow and without knowing if you are trying to capture the originators username or the person logged into the form I have a few suggestions.

 

If this is an email from the form it is easy to pull the system values.

 

 

In the context browser just expand system values and the expand current user and use those values.

 

If you are calling this from a workflow the easiest way to do this is to create a "Modified by" field. Save the username in the field and later call it from the item reference in the workflow email. You can also create params in the form and pass it to the workflow. 

 

I hope some of this helps. Let me know if you have any questions.

 

Thanks,

Bryan Peters

 

 

Translate

Forum|alt.badge.img+18
  • 555 replies
  • Answer
  • July 17, 2017

Is this perhaps what you are seeking?  There may be other ways to do this.


 


Left(bob@k2.com, (Find(bob@k2.com, @) -1))


 


Translate

Forum|alt.badge.img+5
  • Author
  • 15 replies
  • July 25, 2017

Hi tin!

 

This was what I was looking for.

Thank you very much!

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings