Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

The SignalByMail timer checks a mailbox for new mails and forwards the corresponding process instance.

...

Webservice Name

Code Block
ProcessInstanceManager

Webservice Method

Code Block
signalByMailWithLimitAndMoveMessage

Parameter

Parameter

Description

Valid examples

ProcessInstanceID-Reg-Exp

piIdRegex, a regular expression, that specifies how the ProcessInstanceID is found. It searches the text and the subject for this.

Code Block
"(\?args\[0\]=)[0-9]{4}(\&args\[1\]=)"

Aktivitynames-Reg-Exp

nodeNameRegex, a regular expression that searches the currently processed mail for the given activity and signals it. It searches the texts and subjects on the server for this.

Code Block
"(\?args\[0\]=)[0-9]{4}(\&args\[1\]=)"

Filter-Reg-Exp

filterRegex, a regular expression that specifies the conditions under which mails are to be processed.

Info

If parts of the regular expression are set in ( ), they will still be searched but will not be a part of the return value.(e.g.the PI-ID)

Example:

Code Block
(args\[3\]=)[A-Za-z_0-9]*(\&args\[4\]=)

Returns a text with uppercase and lowercase letters, underscore and numbers when it is located between args[3]= and &args[4]

Code Block
"(args\[3\]=)[A-Za-z_0-9]*(\&args\[4\]=)"

E-Mail-address

The complete e-mail address from which the mails are retrieved.

  • Code Block
    johnm1477@gmail.com

Password

The password of the mail account

  • Password123!

Port

The port corresponding to the mail address and the host

  • 995

Host

The Mail-Host

Example:

Code Block
"(\?args\[0\]=)[0-9]{4}(\&args\[1\]=)","(args\[3\]=)[A-Za-z_0-9]*(\&args\[4\]=)","",johnm1477@gmail.com,&e1am!sIlI,995,pop.gmail.com

...