Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Email This Issue Handler Regex values

Pablo da Silva [ACP-JA]
Contributor
March 22, 2018

Hi, 

     I´m evaluating JETI's features regarding field initialization through incoming emails. When i test the regex against an example email within JETIS's rule ditor, it captures the values as expected. But when i send an actual email to set the fields (no matter is the isue exists or if it is created) the handler adds some characters before the actual field value (An * character and a white space).

I'm sure it is a really simple thing to resolve but i'm stucked, i tried other regex validators and they capture the values clean using the same expression.

 

Any ideas would be very appreciated,

 

Thanks!

 

Best Regardsrules.pngvalues.png

2 answers

1 accepted

2 votes
Answer accepted
Pablo da Silva [ACP-JA]
Contributor
March 22, 2018

I got it, it is an email issue, the email changes the content format, i have to address that on the regex expression..

Aniket Patil August 16, 2018

Hi Pablo,

I see that you are able to populate more than one field using this email handler plugin. I am unable to populate more than one field. I have the same regex. However, just the top most field gets populated: 

The sample email's body: 

@host:ABCD

on @server: DEFG

Regex functions used:

  • (?i)@host:(.*)
  • (?i)@server:(.*)

Group used: '1' for both of them. 

The field that gets populated is just the host field but not the server field. 

It would be great if you could provide more insight using your solution. 

Thanks!

1 vote
Pablo da Silva [ACP-JA]
Contributor
August 21, 2018

fieldrules.png

Hi Aniket,

                     I apologize for the delay, the above screen is the actual field rule setting. Looks like the the (?¡) was causing trouble. The four fields are populated correctly. The first one is a number, the second is the requester name and surname, the third is usually a text string, of a few words, and the fourth is the emails subject. With the above settings it all works fine, maybe you can try this syntax and see what happens.

 

Best Regards

Pablo da Silva [ACP-JA]
Contributor
August 21, 2018
Aniket Patil August 22, 2018

Thanks @Pablo da Silva [ACP-JA], really appreciate it! This helped a lot :) 

Chethan GR
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 18, 2019

Hi Pablo,

 

I'm using the following regular expressions but the fields are not populated with the value.And all the fields are of text field.

 

Capture.PNGcan you help me with this.

 

Regards,

Chethan

Suggest an answer

Log in or Sign up to answer